-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong php (8.1) after update buster to bullseye + 503 Service unavailable at pihole web gui #6266
Comments
Did you upgrade from Debian Stretch before? Because PHP 8 is not available on default Debian Bullseye apt package repository and would need to be installed from 3rd party location. Do you know if Ondrej's PHP repository is setup? Can be checked as follow
|
Hello Joulinar, Yes it has been upgraded from stretch to buster and finally to bullseye.
|
Did you follow our update guide to switch from Stretch to Buster? https://dietpi.com/docs/usage/#how-to-upgrade-to-buster Can you check which packages are installed actually
|
|
And yes I follow the guide. |
@MichaIng could you give a helping hand pls before doing something wrong. I guess PHP 8.1 needs to be purged right? There are leftover from |
Thanks for considering my request. |
Just purge PHP 8.1 packages explicitly: apt autopurge $(dpkg --get-selections 'php8.2-*' | mawk '{print $1}') |
|
Maybe no minus? |
PHP 8.1, of course: apt autopurge $(dpkg --get-selections 'php8.1-*' | mawk '{print $1}') |
After reboot, 503 fail still appears. |
|
Did you really follow our guide and reinstalled all applications which make use of PHP, including the webserver? Likely a module is missing or the webserver is still configured to use another PHP version. Ah, actually I do not see Please repeat those steps which should cover everything: https://dietpi.com/blog/?p=811#2.2.4-software-migrations |
Now it is running. |
Okay great. I'll mark this as closed. Feel free to reopen if required. |
Creating a bug report/issue
wrong php (8.1) after update buster to bullseye + 503 Service unavailable at pihole web gui
Required Information
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=15
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
echo $G_DISTRO_NAME $G_RASPBIAN
bullseye
uname -a
Linux DietPi 4.14.294+ #1 SMP PREEMPT Sat Sep 24 10:24:15 UTC 2022 armv7l GNU/Linux
echo $G_HW_MODEL_NAME
Odroid XU3/XU4/MC1/HC1/HC2 (armv7l) - HC2
Additional Information (if applicable)
echo $G_HW_UUID
Steps to reproduce
Expected behaviour
Dashboard of pihole must be reachable
Actual behaviour
503 service unavailable
Extra details
The text was updated successfully, but these errors were encountered: