Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookworm readyness #1788

Closed
11 tasks done
mstormi opened this issue Jun 25, 2023 · 26 comments
Closed
11 tasks done

Bookworm readyness #1788

mstormi opened this issue Jun 25, 2023 · 26 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@mstormi
Copy link
Contributor

mstormi commented Jun 25, 2023

New Debian release "bookworm" is out.

@mstormi mstormi added the help wanted Extra attention is needed label Jun 25, 2023
@BClark09
Copy link
Member

BClark09 commented Jun 27, 2023

New Debian release "bookworm" is out. Expect Raspi OS images to follow anytime soon.
* [ ] check all 3rd party repos for bookworm upgrades

To confirm the dist exists (not necessarily if they are installable on openHABian):

  • deCONZ (generic and generic-beta can be used instead of bullseye or bookworm now)
  • HomeGear
  • InfluxData (no bookworm yet but stable exists, does this work?)
  • Node 18.x
  • Tailscale (debian) bookworm exists but Raspberry Pi bookworm does not).

@mstormi
Copy link
Contributor Author

mstormi commented Jul 4, 2023

deCONZ (generic and generic-beta can be used instead of bullseye or bookworm now)

What exactly does that mean, could we change the repo to generic in all cases ? Would that work on new bookworm installations and continue to work on existing bullseye setups ?
Or would I need to dynamically decide to use either the generic or the generic-beta repo depending on what the distro is ?

@BClark09
Copy link
Member

BClark09 commented Jul 4, 2023

What exactly does that mean, could we change the repo to generic in all cases ?

It looks like it, yes.

Or would I need to dynamically decide to use either the generic or the generic-beta repo depending on what the distro is ?

No, generic-beta contains all packages. generic contains stable only, but for multiple architectures.

ben@TEST-PC:~$ apt-cache madison deconz:amd64
    deconz | 2.22.02-debian-buster-stable | http://phoscon.de/apt/deconz generic/main amd64 Packages
    deconz | 2.22.02-debian-buster-stable | http://phoscon.de/apt/deconz bookworm/main amd64 Packages
    deconz | 2.22.02-debian-buster-beta | http://phoscon.de/apt/deconz generic-beta/main amd64 Packages

ben@TEST-PC:~$ apt-cache madison deconz:arm64
deconz:arm64 | 2.22.02-debian-buster-stable | http://phoscon.de/apt/deconz generic/main arm64 Packages
deconz:arm64 | 2.22.02-debian-buster-stable | http://phoscon.de/apt/deconz bookworm/main arm64 Packages
deconz:arm64 | 2.22.02-debian-buster-beta | http://phoscon.de/apt/deconz generic-beta/main arm64 Packages

ben@TEST-PC:~$ apt-cache madison deconz:armhf
deconz:armhf | 2.22.02-raspbian-buster-stable | http://phoscon.de/apt/deconz generic/main armhf Packages
deconz:armhf | 2.22.02-raspbian-buster-stable | http://phoscon.de/apt/deconz bookworm/main armhf Packages
deconz:armhf | 2.22.02-raspbian-buster-beta | http://phoscon.de/apt/deconz generic-beta/main armhf Packages

@krikk
Copy link

krikk commented Jul 30, 2023

just did a fresh install on debian 12 (bookworm) amd64 (netinstall iso) like described here

out of the box:
openhabian-config unattended
fails...

i see the following errors:

frontail installs fail because of missing npm
Fix:
apt install npm
before running openhabian-config unattended

java 17 install fail because failure to install ca-certificates-java --> seems to be this bug
temporary FIX (should be fixed in stable bookworm in the next few days (weeks)):
enable testing repos, see here and then install testing version:
apt install ca-certificates-java/testing openjdk-17-jre-headless/testing

another minor issue:
update-alternatives: error: alternative /usr/lib/jvm/java-17-openjdk-armhf/bin/java for java not registered; not setting
as i am on amd64 this call can not work, but because java 17 is the only java, no problem -> problem in openhabian script??

...so all in all only minor problem :)

@mstormi
Copy link
Contributor Author

mstormi commented Jul 30, 2023

Fix:
apt install npm
before running openhabian-config unattended

npm should be installed along the way.
Can you check /boot/first-boot.log and post that please. debugmode=maximum required during install of course else there will not be much contents of use.

another minor issue:
update-alternatives: error: alternative /usr/lib/jvm/java-17-openjdk-armhf/bin/java for java not registered; not setting

again post the install log please else I would not know what to make of that.

@Larsen-Locke
Copy link
Contributor

@mstormi : That sounds similar to the issue we had with npm: It's installed together with node but sometimes node doesn't install (e.g. gpg-keys) and then the missing npm is the first problem that pops up.

@krikk
Copy link

krikk commented Jul 30, 2023

as it is manual (openhabian-config unattended) install on intel AMD64, so no first-boot.log, but i have redirected all output to log file from "openhabian-config unattended"

first log with basic debian 12 (bookworm) netinstall, without preinstalling anything
openhab_install_unatteded_FAILED.log

second log with preinstalled npm and java17:
openhab_unatted_with_NPM_and_JAVA_preinstalled.log

hope this helps, sorry no debugmode=maximum

@mstormi mstormi mentioned this issue Sep 28, 2023
2 tasks
@mstormi mstormi pinned this issue Nov 17, 2023
@Egyras
Copy link

Egyras commented Nov 26, 2023

influxdb install issues with latest 64bit 1.9b image on rpi5:

+ apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://deb.nodesource.com/node_18.x bookworm InRelease
Hit:6 http://davesteele.github.io/comitup/repo comitup InRelease
Ign:7 https://repos.influxdata.com/debian bookworm InRelease
Err:8 https://repos.influxdata.com/debian bookworm Release
  404  Not Found [IP: 65.9.55.34 443]
Hit:9 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
Reading package lists... Done
E: The repository 'https://repos.influxdata.com/debian bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
+ return 100
+ echo 'FAILED (update apt lists)'
FAILED (update apt lists)
+ return 1
+ return 1
+ echo FAILED
FAILED

please change to stable as no more different packages according influxdata/telegraf#13759

@Larsen-Locke
Copy link
Contributor

Just tested 1.8b: Everything smooth except npm was missing:
Do we still need the complicated install routing (nodejs-apps.bash line 8-48)?
I think that was because node was not included in the keys of buster.
I thought we could replace everything with a simple "sudo apt install nodejs npm -y".
But I don't know what this OFFLINE and PREOFFLINE is all about.

@HarrysLapTimer
Copy link

influxdb install issues with latest 64bit 1.9b image on rpi5:

+ apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://deb.nodesource.com/node_18.x bookworm InRelease
Hit:6 http://davesteele.github.io/comitup/repo comitup InRelease
Ign:7 https://repos.influxdata.com/debian bookworm InRelease
Err:8 https://repos.influxdata.com/debian bookworm Release
  404  Not Found [IP: 65.9.55.34 443]
Hit:9 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
Reading package lists... Done
E: The repository 'https://repos.influxdata.com/debian bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
+ return 100
+ echo 'FAILED (update apt lists)'
FAILED (update apt lists)
+ return 1
+ return 1
+ echo FAILED
FAILED

please change to stable as no more different packages according influxdata/telegraf#13759

Can you please let me know what exactly to change where? I run into the same issue when installing Influx/Grafana from openhabian-config

@mstormi
Copy link
Contributor Author

mstormi commented Jan 4, 2024

Just tested 1.8b: Everything smooth except npm was missing: Do we still need the complicated install routing (nodejs-apps.bash line 8-48)? I think that was because node was not included in the keys of buster. I thought we could replace everything with a simple "sudo apt install nodejs npm -y". But I don't know what this OFFLINE and PREOFFLINE is all about.

Please do.

OFFLINE is essentially what happens when the box-under-install has no Internet access. We provide Raspi OS but also some apt packages as part of the image and try to install from there when we cannot retrieve their latest versions from the repo.

I'd have to sync myself with the code again to make sure but I think PREOFFLINE is what happens on image creation, i.e. to pull in (download) apt packages and make them become part of the image so they're available when you want to install but are OFFLINE.

@mstormi
Copy link
Contributor Author

mstormi commented Jan 4, 2024

@Egyras @HarrysLapTimer this is the development GitHub repo and not meant to be a user service desk

So if you can provide the information you're looking for or contribute a solution as a PR, please do, but don't request us to provide information we don't have ourselves. As can be read in the first post.

@JasonMask
Copy link

JasonMask commented Jan 24, 2024

New Debian release "bookworm" is out. Expect Raspi OS images to follow anytime soon.

  • check all 3rd party repos for bookworm upgrades

To confirm the dist exists (not necessarily if they are installable on openHABian):

there are now stable releases available for bookworm for HomeGear and Tailscale

@mstormi
Copy link
Contributor Author

mstormi commented Jan 24, 2024

Thanks for the info.

Can you create a Pull Request, too ?

@JasonMask
Copy link

Thanks for the info.

Can you create a Pull Request, too ?

unfortunately i couldn´t find where to update the paths so my answer is no (also i haven´t got the repo checked out currently)

@Egyras
Copy link

Egyras commented Jan 30, 2024

influxdb install issues with latest 64bit 1.9b image on rpi5:

+ apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://deb.nodesource.com/node_18.x bookworm InRelease
Hit:6 http://davesteele.github.io/comitup/repo comitup InRelease
Ign:7 https://repos.influxdata.com/debian bookworm InRelease
Err:8 https://repos.influxdata.com/debian bookworm Release
  404  Not Found [IP: 65.9.55.34 443]
Hit:9 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
Reading package lists... Done
E: The repository 'https://repos.influxdata.com/debian bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
+ return 100
+ echo 'FAILED (update apt lists)'
FAILED (update apt lists)
+ return 1
+ return 1
+ echo FAILED
FAILED

please change to stable as no more different packages according influxdata/telegraf#13759

Can you please let me know what exactly to change where? I run into the same issue when installing Influx/Grafana from openhabian-config

didnt tried to move forward with the install, dont have time to check now :(

@mstormi
Copy link
Contributor Author

mstormi commented Mar 11, 2024

there are now stable releases available for bookworm for HomeGear and Tailscale

@JasonMask I'm struggling with the homegear repo

On my RPi3 test box (armhf) it's trying to install arm64 any idea??

N: Das Laden der konfigurierten Datei »main/binary-arm64/Packages« wird übersprungen, da das Depot »https://apt.homegear.eu/raspberry_pi_os/bookworm/homegear/testing bookworm InRelease« die Architektur »arm64« nicht unterstützt.

EDIT: the repo seems not to contain any binaries ???
Just some nodejs pkgs but none of the homegear ones, compare with the bullseye directory structure to see the difference.
Doesn't work on x86 either (see BATS tests e.g. https://github.com/openhab/openhabian/actions/runs/8231064600/job/22505632748). Binaries just aren't there.

@JasonMask
Copy link

@mstormi sorry for my late reply. I´ve been on holiday last week.
Unfortunately I´m not part of the Homegear project but was just checking that the repository path is now available.

I believe it was back then (with content) when I checked in January, however human error is always an option :/
However I believe the repository is now available again with the same file structure then the bullseye path
image

You might be able to run the build successfully now.

I´m sorry that I´m unable to do anything else but to check.

thank you for the work you put into this and best regards

@mstormi
Copy link
Contributor Author

mstormi commented Mar 17, 2024

not really
or does this work for you?

[17:28:38] root@openhabian:/etc/apt/sources.list.d# cat homegear.list
deb [signed-by=/usr/share/keyrings/homegear-archive-keyring.gpg] https://apt.homegear.eu/raspberry_pi_os/bookworm/homegear/testing bookworm main
[17:28:40] root@openhabian:/etc/apt/sources.list.d# apt-get install --yes -o DPkg::Lock::Timeout= homegear homegear-homematicbidcos homegear-homematicwired homegear-max homegear-management
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package homegear
E: Unable to locate package homegear-homematicbidcos
E: Unable to locate package homegear-homematicwired
E: Unable to locate package homegear-max
E: Unable to locate package homegear-management

@JasonMask
Copy link

JasonMask commented Mar 17, 2024

damn. just checked the actual file content (of stable, testing and nightly) and it turns out that while the file structure is there, it remains empty.
only thing i could find on their side was an git issue (Homegear/Homegear#373) reported with a link to their forum that again is not reachable right now. At least I´m getting an "ERR_CONNECTION_TIMED_OUT" when trying to access the forum.
looks like we have to uncheck homegear again for now

@JasonMask
Copy link

JasonMask commented Mar 17, 2024

New Debian release "bookworm" is out. Expect Raspi OS images to follow anytime soon.

  • check all 3rd party repos for bookworm upgrades

To confirm the dist exists (not necessarily if they are installable on openHABian):

there are now stable releases available for bookworm for HomeGear and Tailscale

Uncheck HomeGear as the current "releases" are empty

@mstormi mstormi self-assigned this May 2, 2024
@thicknesss
Copy link
Contributor

Goodday,
Debian 12 (Bookworm) forces the use of Python Virtual environments (venv) for some packages.
for example myflora-mqtt-daemon fails to install on the latest openhabian image.
See PR 176 and PR 177 on that repo to fix that.

IMHO this belongs in bookworm readyness to.
If you want me to make a new issue please let me know.

@mstormi
Copy link
Contributor Author

mstormi commented May 23, 2024

If you want me to make a new issue please let me know.

Not really, there would be noone to work on this.
If you can contribute a PR to fix it, please do.

@thicknesss
Copy link
Contributor

Not really, there would be noone to work on this. If you can contribute a PR to fix it, please do.

See PR #1869

@mstormi
Copy link
Contributor Author

mstormi commented Oct 4, 2024

homegear TBV

@mstormi
Copy link
Contributor Author

mstormi commented Oct 8, 2024

seems we're finally done

@mstormi mstormi closed this as completed Oct 8, 2024
@mstormi mstormi unpinned this issue Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants