I am having the same problem on my Synology.
Please help me:
I am having the same problem on my Synology.
Please help me:
Assuming you are using docker as you mentioned Synology?
Have you followed the container upgrade instructions documented on the README of the Pi-hole docker repo?
Hi PromoFaux,
Thanks for your quick reaction!
Where can I find these instructions?
I never had to update the container before so I will try this then.
How can I see what '<args' to use as shown below in the instruction in step (3)? I want it to be the same volume as it is running on now.
Start your container with the newer base image: docker run <args> pihole/pihole
( <args>
being your preferred run volumes and env vars)
If you don't recall the arguments you passed to it before, there is a docker image called runlike
which attempts to reverse engineer the docker run
command you used to create a container.
You can use it like so:
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike [insert name of pihole container here]
If you need the name of the pi-hole container, try to find it with docker ps -a
You may need sudo
for these commands.
It's also worth looking at the docker-compose
example at the top of that readme file. This would allow you to save a "recipe" for the container so you don't have to remember it each time.
If you're not overly familiar with docker concepts, take a look at https://docker-curriculum.com/ before proceeding
I followed the following instruction so I guess I am not using a docker (but Debian chroot). Correct?
The only problem I have right now is that FTL won't update.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-xml
E: Unable to locate package php-intl
Unable to complete update, please contact Pi-hole Support
OH sorry, to be honest I made an assumption here, as I am also running on synology but in a docker container. Sorry for that.
php5-xml
This looks like quite an old version of PHP
, do you know what version of debian it is on the chroot? It needs to be at least version 9 (Stretch)
I don't really have any experience with how Debian chroot's work, and looks like the last comment on that thread was a couple of years ago.
You could try the suggestion listed here:
https://discourse.pi-hole.net/t/php-error-updating-to-v5-0/31896/9?u=promofaux
But your best bet is to try and update the debian version to a newer (supported) version.
I already updated these so this didn't help.
I updated Debian but it didn't completely update:
Setting up dnsmasq (2.72-3+deb8u2) ...
insserv: warning: current start runlevel(s) (empty) of script `dnsmasq' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `dnsmasq' overrides LSB defaults (0 1 6).
[....] Starting DNS forwarder and DHCP server: dnsmasq
dnsmasq: junk found in command line
failed!
invoke-rc.d: initscript dnsmasq, action "start" failed.
Setting up git-man (1:2.1.4-2.1+deb8u6) ...
Setting up git (1:2.1.4-2.1+deb8u6) ...
Setting up openssl (1.0.1t-1+deb8u8) ...
Setting up sudo (1.8.10p3-1+deb8u5) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
dnsmasq
will need to be disabled/removed as this is embedded into pihole-FTL
, running dnsmasq
will prevent pihole-FTL
from starting.
How can I remove / disable dnsmasq?
I run netstat -anp but dnsmasq is not running.
On a normal debian system I would do something like
sudo systemctl stop dnsmasq
sudo systemctl disable dnsmasq
Your mileage may vary, as mentioned I have no experience with a debian chroot.
So I have to reinstall pihole to solve this problem?
I cannot stop dnsmasq or do not know how to stop it.
DHCP is not enabled on my Synology.
That should be enough from what I read.
The systemctl command is not recognized.
I managed to stop dnsmasq but that is not the solution for my problem.
[✗] Checking apt-get for upgraded packages
Kernel update detected. If the install fails, please reboot and try again
[i] Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[i] SELinux not detected
[i] Performing reconfiguration, skipping download of local repos
[✓] Resetting repository within /etc/.pihole...
[✓] Resetting repository within /var/www/html/admin...
[i] Main Dependency checks...
[✓] Checking for cron
[✓] Checking for curl
[✓] Checking for dnsutils
[✓] Checking for iputils-ping
[✓] Checking for lsof
[✓] Checking for netcat
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[✓] Checking for idn2
[✓] Checking for sqlite3
[✓] Checking for libcap2-bin
[✓] Checking for dns-root-data
[✓] Checking for libcap2
[✓] Checking for lighttpd
[✓] Checking for php5-common
[✓] Checking for php5-cgi
[✓] Checking for php5-sqlite
[i] Checking for php5-xml (will be installed)
[i] Checking for php-intl (will be installed)
[i] Processing apt-get install(s) for: php5-xml php-intl, please wait...
--------------------------------------------------------------------------------
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-xml
E: Unable to locate package php-intl
Unable to complete update, please contact Pi-hole Support
Reboot and install the new kernel?
Edit: Oh, this is in a chroot jail? Okay, I'm unable to assist.