Linux kernel identical after update from bullseye to bookworm

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
imautohuttraeger
Posts: 172
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Linux kernel identical after update from bullseye to bookworm

Post by imautohuttraeger »

Before Updating Domotix from 2025.1 to 2025.2 I have updatet my Raspbian from bullseye to bookworm according to the recommended guide:

https://www.cyberciti.biz/faq/update-up ... -bookworm/

There is one thing that makes me doubtfull. The Linux kernel before and after the update is identical:

__Before:
Linux Kernel:
Linux 6.1.21-v7+ armv7l
Debian version:
11.11

__After:
Linux Kernel:
Linux 6.1.21-v7+ armv7l
Debian version:
12.12

Is this OK or is it a hint for a problem?
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by jannl »

I guess you didn't do a fresh install as recommended on a pi?

If de kernel gets updated depends on the update package you use. Check google.
imautohuttraeger
Posts: 172
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by imautohuttraeger »

Exactly. I made an update according to the guide that is mentioned in the announcement of the new Domoticz release, where Bookworm is mandatory.

If I were to do a fresh installation, I would need a guide for dummies on how to create a backup of my current Domoticz environment and integrate it into the new installation. Unfortunately, I'm very unsure of the best way to do this.
FlyingDomotic
Posts: 463
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by FlyingDomotic »

According to https://en.wikipedia.org/wiki/Debian_version_history, Bookworm is Linux kernel 6.1.
imautohuttraeger
Posts: 172
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by imautohuttraeger »

So the kernel BEFORE the update (Bulleseye) had to be 5.10, but it was already 6.1. That is really strange ...
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by jannl »

Nope, just checked, my Bullseye kernel is 6.1.21-v7+

The update never touched the kernel I guess.
imautohuttraeger
Posts: 172
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by imautohuttraeger »

OK. So the wikipedia information is wrong, as bullseye is named with kernel 5.10
Attachments
Screenshot_20251027-081656.png
Screenshot_20251027-081656.png (147.84 KiB) Viewed 275 times
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by jannl »

No idea how my kernel got upgraded to 6.x.

I regularly perform an apt-get update/upgrade, mainly for security patches.

Now slowly installing it all on a pi 5 with Trixy (which obviuosly does not support docker natively yet, so some additional/seperate) installs needed
FlyingDomotic
Posts: 463
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by FlyingDomotic »

imautohuttraeger wrote: Monday 27 October 2025 8:24 OK. So the wikipedia information is wrong, as bullseye is named with kernel 5.10
After checking release notes, initial (11.0) version was effectively with a 5.10 kernel. Wikipedia is right.

However, this corresponds to Debian 11.0. This can change/has changed with further versions, up to 11.11 (but honestly, don't know if kernel version can be upgraded from 5 to 6 within Debian 11.

Most important thing is that on Bookworm, you should have at least kernel 6.1.
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by jannl »

FlyingDomotic wrote: Monday 27 October 2025 11:02
imautohuttraeger wrote: Monday 27 October 2025 8:24 OK. So the wikipedia information is wrong, as bullseye is named with kernel 5.10
After checking release notes, initial (11.0) version was effectively with a 5.10 kernel. Wikipedia is right.

However, this corresponds to Debian 11.0. This can change/has changed with further versions, up to 11.11 (but honestly, don't know if kernel version can be upgraded from 5 to 6 within Debian 11.

Most important thing is that on Bookworm, you should have at least kernel 6.1.
Obviously it can, see the uname and os-release below

Code: Select all

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Code: Select all

uname -a
Linux domo-new 6.1.21-v7+ #1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l GNU/Linux
FlyingDomotic
Posts: 463
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by FlyingDomotic »

Just one stupid question: how did you the update from bullseyes to bookworm?

In particular, did you run "sudo apt dist-upgrade"?

It seems that the upgrade only partly ran.
imautohuttraeger
Posts: 172
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by imautohuttraeger »

I followed step by step the instruction

viewtopic.php?t=44018

as recommended in the announcement of 2025.2

viewtopic.php?t=44018
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by jannl »

Remember, an upgrade from Bullseye to Bookworm is not officially supported on a raspberry PI. It never was, also for previous ones like buster and jessy etc.

Docker works for now, best to to a fresh install.

Tip: write down every step for future installs
imautohuttraeger
Posts: 172
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by imautohuttraeger »

Yes, I think will better go for a fresh install both of Raspbian and Domoticz.

What is the best way to backup and play back all devices, scripts, Plugins, etc?
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by jannl »

I use docker, so the binary's are pretty easy.

Very night I make a backup of the domoticz db, the scripts directory, some docker stuff. All to my NAS with a simple ftp script I got around 10 yrs ago somewhere on the wiki or forum. System scripts like the usb assignments, crontab etc I copy to that same scripts folder.

What I would suggest, buy another pi and an SSD and start all over again, I that way you can test everyting before swapping to the new version. Don't forget to also check the USB connected devices like zigbee, rfxcom and zwave if you use that.

I just started on a PI5 with Trixy. But mainly because I need to adjust something in the Tado.cpp (basically done, but needs to be tested)

After that I will eventually swap de PI5 with de pi3b that runs Domoticz now.

AND: do not forget to write every step down.
imautohuttraeger
Posts: 172
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by imautohuttraeger »

Thank you - I will follow your recommendations. Maybe even with Trixie to be future proof. The only thing I am not sure about is if it is a good idea for me to use docker because I have no knowledge about it at all. And honestly no time and skills to become savvy enough.

Quoting the Wiki Page:
https://wiki.domoticz.com/Raspberry_Pi
Using Docker with Domoticz will require some general knowledge how to use and maintain Docker environments.
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by jannl »

I think in the Domoticz wiki is an explanation

https://wiki.domoticz.com/Docker
imautohuttraeger
Posts: 172
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by imautohuttraeger »

Sure. But for a dummie (copy - paste - hoping the best) like me it is quite sophisticated.

Is there a possibility to also backup hardware and plugins with their configurations? Is it included in the backup database?
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by jannl »

Configuration which you did in Domoticz is in de database. The scripts and plugin directories can be copied. Don't forget the subdirectorys.

Not knowing much about docker I managed with the steps in the wiki and a bit google.

It takes some time, hence the advice to use a backup pi. On the other hand, if your pi has enough power you can do it on the same pi. Just remember to stop the present instance when testing with usb devices. Most can only serve one instance of Domoticz.
FlyingDomotic
Posts: 463
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Linux kernel identical after update from bullseye to bookworm

Post by FlyingDomotic »

imautohuttraeger wrote: Monday 27 October 2025 17:30 Sure. But for a dummie (copy - paste - hoping the best) like me it is quite sophisticated.

Is there a possibility to also backup hardware and plugins with their configurations? Is it included in the backup database?
Plugins are into Domoticz /plugins folder (/home/pi/domoticz/plugins/ for default installation). as already said, don't forget to copy sub-folders, as lot of plugins are using them.

Plugin configuration is stored into Domoticz's database (in hardware table). Some plugins also use plugin (sub)folder as storage.

Concerning backups, a full image copy of running system can be done using rpi-clone tool. It duplicates system media on another storage, allowing even system recovery.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest