Update without installing lighttpd

I run apache on the machine. pihole runs as one service. It works great.
Everytime I update pihole it install lighttppd. It´s not necessary on my machine.
It is possible to update without it?

This will be supported when we release the new API and web interface. We will then not rely on any external web servers, as the API will act as the web server. You can then change its port or proxy it through another web server if you want.

1 Like

Could you at least considering to implement a switch which prevents the pi-hole updater from installing lighttpd, please?
I guess this wouldn't cause much effort?!

Because the current behavior discourages me from auto-updating pi-hole.
And this foils some of my security measures.

We only install the web server if you told us to during installation or pihole -r. You likely said yes to the following message:

Do you wish to install the web server (lighttpd)?

What is the value of INSTALL_WEB_SERVER in /etc/pihole/setupVars.conf?

1 Like

@Mcat12 Thanks for your quick response :slight_smile:

You're right. I had installed pi-hole with lighttpd in the first place.
But later then I decided to change the system configuration and replaced lighttpd by nginx.
I wasn't aware of the option INSTALL_WEB_SERVER in setupVars.conf. :upside_down_face:

Nevertheless I find the behaviour of the current pi-updater a bit unforeseeable.
Installing a seeming missing dependency (webserver) without asking the user is in my opinion not the best way to handle this issue.

But as you stated before this topic will be obsolete with the new API and web interface.

Thank you very much :+1: :smiley: