Pi-hole install terminates without error when restarting lighttpd on Fedora 41

Hello all. Unfortunately I don't have a debug token, as the install completely failed, so none of the pihole commands work.

I was helping my brother, who is a more advanced Linux user than I am (he's used it for his main personal device for 20 years and I only started a year ago). Anyway, we installed Fedora 41, started the pi-hole installation, and chose to install the default webserver (lighttpd). It goes through its list of checks, but when it gets to stating lighttpd will restart, install is interrupted. On the same line as that, the command prompt is given. That should be on its own line, and there should be more installation steps.

We did try to see what had been installed, and while the folder structure is there, the installation did fail. But there are no visible error messages. None of the pihole commands work, so we can't pull a debug log either.

We recognize that this is a brand new release, but are wondering if anyone has had any other issues. There is nothing custom going on. We did disable SELinux before getting started. Any thoughts? Thanks in advance.

Perhaps something is already using port 80? You could do a sudo ss -tupln and see if its in use. Also, you may want to check firewalld to make sure ports are open etc.

It's a fresh installation of Fedora, with pi-hole being the very first thing we installed. I would think not, but I will have him try this.

I'm not sure if something changed recently in Fedora repos (I'm not a Fedora user), but another user reported a similar issue:
https://github.com/pi-hole/pi-hole/issues/5838

It was solved after updating the OS and manually installing all dependencies.

Try to update the OS and try again.

1 Like

Please run the installer via the following command to produce more verbose output:

curl -sSL https://install.pi-hole.net | sudo bash -x

Sharing the last 50 lines or so may help to investigate how the installer fails.

Issue identified and resolved with a hotfix release:

1 Like

Thank you so much. He isn't able to get this going for a few days (busy week), but thanks so much for the fix!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.