Upgrade from Buster to Bullseye Topic is solved

Suggestions for features and software you would like to see in DietPi, goes here.
Niwre
Posts: 58
Joined: Tue Apr 09, 2019 1:26 pm

Upgrade from Buster to Bullseye

Post by Niwre »

Hallo,
is a direct upgrade from buster to bullseye possible?
Regards
Niwre
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade from Buster to Bullseye

Post by Joulinar »

yes
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Niwre
Posts: 58
Joined: Tue Apr 09, 2019 1:26 pm

Re: Upgrade from Buster to Bullseye

Post by Niwre »

@Joulinar
Thank you for your prompt replay.
Are there any instructions I can use to do this?
Regards
Niwre
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade from Buster to Bullseye

Post by Joulinar »

Theoretically yes. Depending on your installed software, additional steps might be needed. Could you share what you have installed.

As well we are preparing a blog post on how to move from Buster to Bullseye.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Niwre
Posts: 58
Joined: Tue Apr 09, 2019 1:26 pm

Re: Upgrade from Buster to Bullseye

Post by Niwre »

@Joulinar

I only have WireGuard and PiHole and I installed the kernel 5.10.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade from Buster to Bullseye

Post by Joulinar »

First think. Whatever you do, you will do it on your own risk and we recommend to perform a full backup of your system. If possible clone your entire SD card ;)

ok WireGuard is not an issue. For PiHole some additional steps are needed to get the web interface back. AdBlocking and DNS resolution should be working without issues. Just the web site require some tweaks as PHP + web server will be upgrade to next version.

basically these are the main steps

Code: Select all

sed -i 's/buster/bullseye/' /etc/apt/sources.list
sed -i 's/buster/bullseye/' /etc/apt/sources.list.d/*.list
sed -i 's|bullseye/updates|bullseye-security|' /etc/apt/sources.list
apt update
apt upgrade
apt full-upgrade
apt autopurge
/boot/dietpi/func/dietpi-obtain_hw_model
. /boot/dietpi/func/dietpi-globals
What is the web server you are running? Lighttpd? If yes I could list additional steps.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Niwre
Posts: 58
Joined: Tue Apr 09, 2019 1:26 pm

Re: Upgrade from Buster to Bullseye

Post by Niwre »

@Joulinar

yes, my web server is Lighttpd.

Regards
Niwre
Niwre
Posts: 58
Joined: Tue Apr 09, 2019 1:26 pm

Re: Upgrade from Buster to Bullseye

Post by Niwre »

@Joulinar

I have carried out the steps as specified, but nothing is installed with apt full-upgrade. Shouldn't that be the upgrade to Bullseye?
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade from Buster to Bullseye

Post by Joulinar »

in this case try afterwards

Code: Select all

apt remove --purge php*
dietpi-software reinstall 93
sed -i 's/php7\.3/php7\.4/' /etc/lighttpd/lighttpd.conf /etc/lighttpd/conf-available/15-fastcgi-php.conf
sed -i '/^compress\./d' /etc/lighttpd/lighttpd.conf
sed -i '/"mod_compress"/d' /etc/lighttpd/lighttpd.conf
systemctl restart lighttpd
hopefully it's all, we did not had that much upgrades so far. Could be still something missing.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Upgrade from Buster to Bullseye

Post by Joulinar »

usually apt upgrade should have done already the package update. At least it should have displayed around 200+ packages I guess
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply