Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Message added by spants,

This template is depreciated as it is >4 years old. There are newer versions available

[SUPPORT] pihole for unRaid - Spants repo

Featured Replies

  • Author
On 2017-6-10 at 3:31 PM, ebnerjoh said:

Hi,

 

I got it running with virtual ip address for the Docker. 

 

But now a question: how is PiHole updated in the Docker?

 

Br,

Johannes

 

Hi

 

When the docker is updated by the docker owner, the template automatically shows that an update is ready (I am not building the docker....just supplying the template). Some of the changes to pihole need dockerfile changes so it best to wait until he updates the docker for all.

  • Replies 1.1k
  • Views 331.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I just wanted to share a trick I used to have hostnames show up in the Pihole Dashboard for my local devices instead of IP addresses. Like this:     First make a copy of the /etc/

  • Hi, I wanted to use this pihole docker as my second dns server, i already have a hardware raspberry pi as my main pihole dns, but having a backup is always good. I was wondering how i could

  • There is a section on the readme that will help.   0) If you dont have python3 on your unRaid, install it via the nerdtools plugin.   1) find the path for /etc/pihole/  - for me it

Posted Images

  • Author
On 2017-6-14 at 10:04 AM, zin105 said:

/usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint pihole (570cd8e0a526d172f2b62b8a03dcba2c28c145fbb6561c961d63358fe9eca731): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.

I get this when I try to create the docker. When I do netstat -tlpnu | grep 53 then I can see 2 instances of this;


tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN                                                                  12023/dnsmasq
udp        0      0 192.168.122.1:53        0.0.0.0:*                                                                                       12023/dnsmasq

But I have no clue where dnsmasq is comming from.

 

 

would this help you? I think that KVM/VM subsystem can use port 53.... 

 

2 hours ago, spants said:

 

 

would this help you? I think that KVM/VM subsystem can use port 53.... 

 

 

I have installed it that way and it works nice.

  • 1 month later...
On 12/18/2016 at 4:04 AM, bluepr0 said:

 

thanks for your reply, just tried it but it does the same; docker and web ui it's working but not receiving queries

Have you ever resolved this?? I also have the same issue where my web UI is working and DNS is running but I'm not receiving any queries.

 

Starting dnsmasq
dnsmasq: started, version 2.77 cachesize 10000
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
dnsmasq: using nameserver 8.8.4.4#53
dnsmasq: using nameserver 8.8.8.8#53
dnsmasq: read /etc/hosts - 7 addresses
dnsmasq: read /etc/pihole/black.list - 0 addresses
dnsmasq: read /etc/pihole/local.list - 2 addresses
dnsmasq: read /etc/pihole/gravity.list - 442884 addresses

I failed to install this properly, so I reverted all my settings and now my plex docker refuses to show the webUI. Can someone please advise?

 

  • Author
On 23/07/2017 at 4:56 AM, bobokun said:

Have you ever resolved this?? I also have the same issue where my web UI is working and DNS is running but I'm not receiving any queries.

 

Starting dnsmasq
dnsmasq: started, version 2.77 cachesize 10000
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
dnsmasq: using nameserver 8.8.4.4#53
dnsmasq: using nameserver 8.8.8.8#53
dnsmasq: read /etc/hosts - 7 addresses
dnsmasq: read /etc/pihole/black.list - 0 addresses
dnsmasq: read /etc/pihole/local.list - 2 addresses
dnsmasq: read /etc/pihole/gravity.list - 442884 addresses

 

have you set the clients to use pihole? 

2 ways to do this - 

1) on your router, set the dns servers to point to the unraid box (or pihole IP address if you have changed it)

2) turn off dhcp on the clients if you have not chosen (1) and manually add the pihole server ip as the dns server address

  • Author
23 minutes ago, LordShad0w said:

I failed to install this properly, so I reverted all my settings and now my plex docker refuses to show the webUI. Can someone please advise?

 

 

 

Pihole should be fairly easy to use. Either run it on the server and use the servers ip address for the dns server for the clients.If this doenst work (you have another dns service on the unraid server) use the set separate IP address for a docker instance detailed a couple of posts back.

 

If you want to disable pihole on one of all clients, just change their settings to use dhcp to get their settings from the router or change their dns settings to google 8.8.8.8 and 8.8.4.4 and reboot clients.

 

Pihole doesnt affect plex directly - it may just be your dns settings on the clients 

I honestly don't know what broke. :(
I just need to get plex working again. I'm already well into burning th candle at both ends and I am away on business for a week. My wife is gonna kill me...

  • Author
1 minute ago, LordShad0w said:

I honestly don't know what broke. :(
I just need to get plex working again. I'm already well into burning th candle at both ends and I am away on business for a week. My wife is gonna kill me...

try clearing your browser cache or try private mode....

tried that. Even tried rebooting the router, removing and reinstalling the docker, removing and resinstalling the app on fireTV.. no luck.

it just keeps throwing me to refused to connect page.

 

Edited by LordShad0w

  • Author

does everything else on the fire tv work? any logs from the plex docker?

no errors in the plex docker logs and yes, everything else on the firetv works as intended

 

Quote


*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 8
6 10000 /config/Library/Application Support
10000
Jul 24 04:39:24 Tower syslog-ng[16]: syslog-ng starting up; version='3.5.3'
Plex Media Server is already running. Will not start...
6 10000 /config/Library/Application Support
10000
*** Shutting down runit daemon (PID 8)...
Jul 24 04:40:25 Tower syslog-ng[16]: syslog-ng shutting down; version='3.5.3'
*** Killing all processes...
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 8
Jul 24 04:40:25 Tower syslog-ng[15]: syslog-ng starting up; version='3.5.3'
6 10000 /config/Library/Application Support
10000

That is all I get in the Plex docker log

 

  • Author
1 minute ago, LordShad0w said:

no errors in the plex docker logs and yes, everything else on the firetv works as intended

 

 

any other plex clients you can try? Other than a server reboot, Im not sure what to suggest ...

I already rebooted the server. Twice. :(
It only happened after I installed and then uninstalled pihole.

 

  • Author
Just now, LordShad0w said:

I already rebooted the server. Twice. :(
It only happened after I installed and then uninstalled pihole.

 

 

you just installed and uninstalled on the server? did you do anything to the clients?

do you have any other clients you can try?

I cant see how it could affect it .... 

I only installed/uninstalled on the server and set the #1 DNS on my router to the ip specified. I then changed the router DNS ip back to the original settings, saved, rebooted everything and now plex is boned. 

  • Author
3 minutes ago, LordShad0w said:

I only installed/uninstalled on the server and set the #1 DNS on my router to the ip specified. I then changed the router DNS ip back to the original settings, saved, rebooted everything and now plex is boned. 

 

that is weird. I wonder if plex stores an ip address in its settings. I will remote in to mine and take a look

3 minutes ago, spants said:

 

that is weird. I wonder if plex stores an ip address in its settings. I will remote in to mine and take a look

Thank you, I really REALLY appreciate it.

  • Author

The plex logs are at: (on my machine)

 

/mnt/user/appdata/plexmediaserver/Library/Application Support/Plex Media Server/Logs/

 

and the file:

Plex (anonymous).log

 

Does anything look strange with this file on your machine?

Ill, check now

which log is it specifically? There are like 30 different ones in there.

Edited by LordShad0w

  • Author

actually its name is

Plex Media Server.log .  (may be!)

Edited by spants

Quote

ERROR - Error parsing allowedNetworks '192.168.1': Invalid argument
Jul 24, 2017 02:27:43.018 [0x7efd94f2b700] DEBUG - We're going to try to auto-select an audio stream for account 1
ERROR - SQLITE3:0x10, 8, statement aborts at 28: [UPDATE gnsdk_collection SET "coll_name"=?,"coll_data"=? WHERE "rowid"=6;] attempt to write a readonly database
Jul 24, 2017 03:08:24.150 [0x7efd9763b700] ERROR - Gracenote: Exception at line 1036, error -1870069755 (Resource is read-only)
Jul 24, 2017 03:08:24.175 [0x7efda5fff700] ERROR - SQLITE3:0x10, 8, statement aborts at 28: [UPDATE gnsdk_collection SET "coll_name"=?,"coll_data"=? WHERE "rowid"=6;] attempt to write a readonly database
Jul 24, 2017 03:08:24.178 [0x7efda5fff700] ERROR - Gracenote: Exception at line 1036, error -1870069755 (Resource is read-only)
Jul 24, 2017 03:08:24.178 [0x7efdd04a4840] DEBUG - Captured session 18.
Jul 24, 2017 03:08:24.204 [0x7efdd04a4840] DEBUG - Captured session 19.
 

This is what I found in the main plexmediaserver.log one

Edited by LordShad0w

  • Author

is there a 192.168.1 item in allowedNetworks key in your Preferences.xml file

 

1 hour ago, spants said:

 

have you set the clients to use pihole? 

2 ways to do this - 

1) on your router, set the dns servers to point to the unraid box (or pihole IP address if you have changed it)

2) turn off dhcp on the clients if you have not chosen (1) and manually add the pihole server ip as the dns server address

 

Figured out what was wrong...it was stupid on my end. I'll post here so others won't make the dumb mistake like I did. In the template it shows that port 53 was assigned twice (Host 1 and Host 2) However I remember reading in this thread saying it's a duplicate and no need for one of those so I stupidly deleted the Host Port 2. Now I realized you need both (One is for UDP and one for TCP)

oCYYThQ.png

Edited by bobokun

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.