I've been running pihole -up over an ssh connection and now it doesn't work anymore.
The server isn't available and if I try to update again I get his error message:
/opt/pihole/update.sh: line 108: : No such file or directory
What do I do? I have absolutely no experience with linux or raspis. I just build my pihole server a few years ago with an detailled documentation.
Do I need to reinstall it, and if so, how do I export my settings and data from the past years?
Or can I download the needed file and import it to update again?
It took over five hours for this operation to finish...
Ive noticed that all of my devices, including smarthome bridges, work fine, but my pc doesnt get an interne connection via ethernet, while the bridges do. If I connect my pc via WLAN it works just fine. Ive configured my dns server in my router settings for all devices.
Your system is running on Raspberry Pi OS 10/Buster, which Pi-hole doesn't support anymore.
Debian/RaspberryPi OS 10 (buster) has reached EOL in 2022 and LTS was discontinued by June 2024.
You may try to upgrade to Pi-hole v6 with the steps you've quoted from the installer above, but there's no guarantuee that this would succeed, and its OS won't receive security upgrades anymore.
You should upgrade your OS release.
Note that Raspberry Pi OS documentation discourages in-place upgrades to a new OS release, proposing to image a new SD card instead:
Warning
Before attempting a major version upgrade, make a backup.
To update the operating system to a new major release on your Raspberry Pi, image a second SD card with the new release. Use a USB SD card reader or network storage to copy files and configuration from your current installation to the new SD card. Then, swap the new SD card into the slot on your Raspberry Pi, and boot.
With that approach, keeping the old sd card would serve as a backup, allowing you to return to your Pi-hole v5 installaton by swapping the old sd card back in.
You should start on your current system by backing up your Pi-hole v5 configuration via Settings | Teleporter.
You could then shutdown the system and slot in an sd card with a freshly imaged OS from Raspberry Pi OS downloads – Raspberry Pi. Currently, that would be based on Debian 12 (bookworm).
Okay, thanks.
I've created a new Container in portainer with a new pihole config.
Unfortunately it doesn't work and I dont know why.
None of my devices is using pihole.
Ive updated my router settings to the new ip adress as the main dns server so it should work like before.
I also deactivated the default dns port with "sudo sed -r -i.orig 's/#?DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf"
And I cant export my teleporter data via the web since my old pihole web interface isnt reachable anymore..