Page 1 of 1

Linux kernel identical after update from bullseye to bookworm

Posted: Sunday 26 October 2025 15:42
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?

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Sunday 26 October 2025 18:15
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.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Sunday 26 October 2025 19:26
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.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Sunday 26 October 2025 23:12
by FlyingDomotic
According to https://en.wikipedia.org/wiki/Debian_version_history, Bookworm is Linux kernel 6.1.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 6:27
by imautohuttraeger
So the kernel BEFORE the update (Bulleseye) had to be 5.10, but it was already 6.1. That is really strange ...

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 7:21
by jannl
Nope, just checked, my Bullseye kernel is 6.1.21-v7+

The update never touched the kernel I guess.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 8:24
by imautohuttraeger
OK. So the wikipedia information is wrong, as bullseye is named with kernel 5.10

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 10:45
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

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 11:02
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.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 11:45
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

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 12:09
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.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 12:36
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

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 13:30
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

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 13:52
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?

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 14:41
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.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 16:09
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.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 16:50
by jannl
I think in the Domoticz wiki is an explanation

https://wiki.domoticz.com/Docker

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Monday 27 October 2025 17:30
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?

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Tuesday 28 October 2025 7:24
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.

Re: Linux kernel identical after update from bullseye to bookworm

Posted: Tuesday 28 October 2025 10:27
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.