DietPi PiHole installer corrupts 5.0 Beta

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
Skynet
Posts: 2
Joined: Mon Mar 02, 2020 4:21 pm
Location: Switzerland

DietPi PiHole installer corrupts 5.0 Beta

Post by Skynet »

Greetings,

The Pihole installer under DietPi-Launcher seems to have problems if you want use Beta 5.0 after install. It corrupts nearly all Webinterface Inputs after 5.0 Beta update when you install 4.4 via DietPi.

https://discourse.pi-hole.net/t/while-e ... king/28983

DietPi Methode:
- Install PiHole 4.4 works (except the passwd for the Webinterface resets 2x and must be change via ssh after)
- Install PiHole 5.0 Beta

Code: Select all

  echo "release/v5.0" | sudo tee /etc/pihole/ftlbranch
  pihole checkout core release/v5.0
  pihole checkout web release/v5.0
It will update but the following Error will comming up after Update in the Webinterface:

Code: Select all

Error, something went wrong!
While executing: attempt to write a readonly database

PiHole SSH Methode:

- install Pihole 4.4 works curl

Code: Select all

curl -sSL https://install.pi-hole.net | bash
- install Pihole 5.0 works

Code: Select all

  echo "release/v5.0" | sudo tee /etc/pihole/ftlbranch
  pihole checkout core release/v5.0
  pihole checkout web release/v5.0
And no Problems.

So it seems something is wrong with die DietPi Installer.
User avatar
Joulinar
Posts: 2091
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi PiHole installer corrupts 5.0 Beta

Post by Joulinar »

Hi,

DietPi is not supporting PiHole v5 until now as it's still in BETA status.

https://github.com/MichaIng/DietPi/issues/3391
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
Joulinar
Posts: 2091
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi PiHole installer corrupts 5.0 Beta

Post by Joulinar »

Workaround for the time being should be adding user www-data to pihole group

usermod -a -G pihole www-data
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply