Debian 12 (Bookworm), the next stable version of Debian, is planned to be released on 2023-06-10 [1].
FreedomBox can update itself to use the new version of Debian after it is released. To enable this feature, on the System → Update page, ensure that both “Enable auto-update” and “Enable auto-update to next stable release” options are enabled. Note that there must also be 5 GB free space on the system disk, in order for the automatic update to proceed. See the manual page [2] for more details.
Before the automatic update to the next release starts, it is recommended to have the following in place:
Backups, stored to a remote location or secondary disk.
Set yourself up for success going into the release upgrade cycle if you are using, “auto-update to next stable release.”
Plug your Freedombox in to AC Power
Plug in an ethernet cable to your Freedombox if you have that option
Commit to not changing configuration or packages until the upgrade completes, you may otherwise use your Freedombox normally.
Monitor the upgrade process if you want to
You may see a notification in Plinth that the bookworm release update is in progress
You may notice sustained high CPU usage and diminished performance during the upgrade
The upgrade may take days to complete
Services may get curtailed during the upgrade as the package and dependencies are upgraded. They will restart when the upgrade completes
Don’t touch it.
Be patient. It takes my Freedombox maybe two days to grind through a release upgrade. It will reboot when it finishes and you’ll have the upgrade notification in plinth.
5.1.9. slapd upgrade may require manual intervention
OpenLDAP 2.5 is a major new release and includes several incompatible changes as described in the upstream release announcement. Depending on the configuration, the slapd service might remain stopped after the upgrade, until necessary configuration updates are completed.
The following are some of the known incompatible changes:
The slapd-bdb(5) and slapd-hdb(5) database backends have been removed. If you are using one of these backends under bullseye, it is strongly recommended to migrate to the slapd-mdb(5) backend before upgrading to bookworm.
The slapo-ppolicy(5) overlay now includes its schema compiled into the module. The old external schema, if present, conflicts with the new built-in one.
The pw-argon2 contrib password module has been renamed to argon2.
Check for the existence of these files if you have a problem. If some are missing you may be experiencing this bug. I think you are likely to see /sbin/iptables, but none of the others.
You may need to modify /etc/apt/sources.list to get all of your hardware working ship-shape. Non-free firmware used to live in ‘non-free’, but now will live in, ‘non-free-firmware’.
We don’t use iptables. We have shifted to nftables (‘nft’ command) backend for firewalld in the previous stable release bullseye. We also don’t use any of the iptables commands directly.
After upgrade, I can contact my Pioneer box with ssh but anything else does not answer, including the web interface. I found out that I can change /etc/firewalld/firewalld.conf to have logging and then I see things like:
However, this has changed nothing. On my freedombox, from plinth, I remember I did something like setting some interface as external in order to access internet via the freedombox when connected with openvpn to the freedombox, perhaps this means something different is needed?
firewalld.conf.dpkg-old, from 29 January, perhaps when I last reinstalled
firewalld.conf.old is from 2021
I compared filrewalld.conf and firewalld.conf.dpkg-old and noticed that DefaultZone=public in firewalld.conf was instead DefaultZone=external in firewalld.conf.dpg-old.
I changed DefaultZone to external in firewalld.conf and restarted firewalld.service (systemctl restart firewalld.service) and now, I can access the web interface again.
This allowed me to run diagnostics and see that everything is ok.
So perhaps my upgrade is ok, the only issue was the firewall? I don’t know whether I got the solution right.
Thx, this did the job. FB is up and running again. I could initiate the upgrade in the system-section, and so far everything except tt-rss is working as expected.