So I figured out both problems. The issue is that I am running pihole in a container (lxc) using the overlayfs clone of a base system. /etc/pihole/versions
is set in the base system upon installation but it seems to also be updated when pihole-FTL is started which creates a copy that overrides the base system's copy in the overlayfs in the container. I need to dig deeper to understand why it is updated by the service.
The breakage in the webclient was also due to a copy of /var/www/html/admin/scripts/js/index.js
in the container. Once I removed that, the base lxc's version was allowed to get read and everything worked.
Pinned Comments
max.bra commented on 2025-02-21 21:44 (UTC)
ArchLinux Pi-hole is not officially supported by Pi-hole project. In case of bugs and malfunctions please DO NOT file a report upstream.
First of all check if the wiki (https://wiki.archlinux.org/index.php/Pi-hole) can help then ask here for assistance and tips.
When it will be excluded that the problem does not depend on ArchLinux we will file a bug upstream.