Pi-hole wont install (Synology + Docker)

Can't figure this out been trying to get this to work for hours. Keep getting this error. Any help is appreciated!

pihole-FTL: no process found

Stopping pihole-FTL

pihole-FTL: no process found

s6-rc: info: service legacy-services: stopping

s6-rc: info: service legacy-services successfully stopped

s6-rc: info: service _postFTL: stopping

s6-rc: info: service _postFTL successfully stopped

s6-rc: info: service lighttpd: stopping

Stopping lighttpd

s6-rc: info: service lighttpd successfully stopped

s6-rc: info: service pihole-FTL: stopping

s6-rc: info: service pihole-FTL successfully stopped

s6-rc: info: service _startup: stopping

s6-rc: info: service _startup successfully stopped

s6-rc: info: service _uid-gid-changer: stopping

s6-rc: info: service _uid-gid-changer successfully stopped

s6-rc: info: service cron: stopping

Stopping cron

s6-rc: info: service cron successfully stopped

s6-rc: info: service legacy-cont-init: stopping

s6-rc: info: service legacy-cont-init successfully stopped

s6-rc: info: service fix-attrs: stopping

s6-rc: info: service fix-attrs successfully stopped

s6-rc: info: service s6rc-oneshot-runner: stopping

s6-rc: info: service s6rc-oneshot-runner successfully stopped

s6-rc: info: service s6rc-oneshot-runner: starting

s6-rc: info: service s6rc-oneshot-runner successfully started

s6-rc: info: service fix-attrs: starting

s6-rc: info: service fix-attrs successfully started

s6-rc: info: service legacy-cont-init: starting

s6-rc: info: service legacy-cont-init successfully started

s6-rc: info: service cron: starting

s6-rc: info: service cron successfully started

s6-rc: info: service _uid-gid-changer: starting

s6-rc: info: service _uid-gid-changer successfully started

s6-rc: info: service _startup: starting

ServerIP is deprecated. Converting to FTLCONF_LOCAL_IPV4

[i] Starting docker specific checks & setup for docker pihole/pihole

[i] Setting capabilities on pihole-FTL where possible

[i] Applying the following caps to pihole-FTL:

  • CAP_CHOWN

  • CAP_NET_BIND_SERVICE

  • CAP_NET_RAW

Failed to set capabilities on file `/usr/bin/pihole-FTL' (Operation not supported)

The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file

[!] ERROR: Unable to set capabilities for pihole-FTL. Cannot run as non-root.

If you are seeing this error, please set the environment variable 'DNSMASQ_USER' to the value 'root'

s6-rc: info: service _startup successfully started

s6-rc: info: service pihole-FTL: starting

s6-rc: info: service pihole-FTL successfully started

s6-rc: info: service lighttpd: starting

s6-rc: info: service lighttpd successfully started

s6-rc: info: service _postFTL: starting

s6-rc: info: service _postFTL successfully started

s6-rc: info: service legacy-services: starting

Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf

s6-rc: info: service legacy-services successfully started

Installation Failure: /etc/pihole/setupVars.conf does not exist!

Please run 'pihole -r', and choose the 'reconfigure' option to fix.

Stopping pihole-FTL

pihole-FTL: no process found

Stopping pihole-FTL

pihole-FTL: no process found

Stopping pihole-FTL

What Docker image are you using? What is in your Docker compose file?

I was using portainer to create the docker and latest image. i seemed to have resolved it by adding DNSMASQ_USER to the value 'root'

On Synology devices, this is usually needed.