Problem:update from Buster to Bullseye

Question: Did you performed all steps described on our upgrade guide? Especially all activities on 2.2.4 Software migrations?? Because the whole web server migration should have been done on this point. We have a dedicated block within our software script to update lighttpd configuration and to replace mod_compress

Even package lighttpd-mod-deflate should have been installed already.

Pls perform following steps from our guide again

dietpi-services stop
G_AGP libgcc-8-dev '*php7.3*'
rm -Rf /etc/php/7.3 /usr/local/lib/python3.7 /usr/local/bin/pip3* /etc/chromium-browser
apt -y install fdisk systemd-timesyncd
[[ -f '/etc/tigervnc/vncserver-config-defaults' ]] && G_CONFIG_INJECT '\$localhost[[:blank:]]*=' '$localhost = "no";' /etc/tigervnc/vncserver-config-defaults
[[ -f '/etc/X11/xrdp/xorg.conf.dpkg-dist' ]] && mv /etc/X11/xrdp/xorg.conf{.dpkg-dist,} && GGI_PRESERVE=1 G_CONFIG_INJECT 'Option[[:blank:]]+"DefaultServerLayout"' '    Option "DefaultServerLayout" "X11 Server"' /etc/X11/xrdp/xorg.conf 'Section[[:blank:]]+"ServerFlags"'
[[ -f '/etc/systemd/system/deluge-web.service' ]] && sed -i '/^ExecStart=/s/deluge-web$/deluge-web -d/' /etc/systemd/system/deluge-web.service
dietpi-software reinstall 31 38 40 47 48 56 83 84 85 88 89 93 114 118 130 134 143 155

This should fix the web server and reinstall missing PHP service.

1 Like