Required Information
- DietPi version | 8.24.1
- Distro version |
bookworm
- Kernel version | Linux DietPi 6.1.63-current-meson64 #1 SMP PREEMPT Mon Nov 20 10:52:19 UTC 2023 aarch64 GNU/Linux
- Architecture |
arm64
- SBC model | Odroid HC4
Additional Information (if applicable)
PIhole
Steps to reproduce
Upgrade to bookworm
Acces to pihole
Expected behaviour
Working web interface
Actual behaviour
Error
Extra details
I’ve tried to pihole -up, dietpi reinstall pihole, dietpi reinstall nginx and dietpi reinstall pihole
Same behaviour.
There are no errors on log, or services,but on debug log I saw something about lighttpd, maybe is looking for that? And the update script didn’t make the rules for nginx which is the web server I’m using?
*** [ DIAGNOSING ]: contents of /etc/lighttpd
/etc/lighttpd does not exist.
*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf.d
/etc/lighttpd/conf.d does not exist.
*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf-enabled
/etc/lighttpd/conf-enabled does not exist.
UPDATE: Nginx is not starting the services,with this log
│ Dec 05 13:11:53 DietPi systemd[1]: Starting nginx.service - A high
│ performance web server and a reverse proxy server...
│ Dec 05 13:11:53 DietPi nginx[60567]: 2023/12/05 13:11:53 [emerg]
│ 60567#60567: unknown "expires" variable
│ Dec 05 13:11:53 DietPi nginx[60567]: nginx: configuration file
│ /etc/nginx/nginx.conf test failed
│ Dec 05 13:11:53 DietPi systemd[1]: nginx.service: Control process exited,
│ code=exited, status=1/FAILURE
│ Dec 05 13:11:53 DietPi systemd[1]: nginx.service: Failed with result
│ 'exit-code'.
│ Dec 05 13:11:53 DietPi systemd[1]: Failed to start nginx.service - A high
│ performance web server and a reverse proxy server.
UPDATE 2:
This directive on nginx.conf was missing:
map $sent_http_content_type $expires {
default 1d;
}
Now the service is active, but pihole web keeps failing.