Jump to content
spants

[SUPPORT] pihole for unRaid - Spants repo

635 posts in this topic Last Reply

Recommended Posts

do you have port 53 in use by any other dockers?

 

No, I did run through all my dockers and did not see any conflicts, unless there are some settings I don't know about. My list of dockers just in case:

 

- CouchPotato, DDClient, deluge, Dolphin, muximux, openvpn-as, plex, plexpy, sabnzbd, Sonarr.

Share this post


Link to post

do you have port 53 in use by any other dockers?

 

No, I did run through all my dockers and did not see any conflicts, unless there are some settings I don't know about. My list of dockers just in case:

 

- CouchPotato, DDClient, deluge, Dolphin, muximux, openvpn-as, plex, plexpy, sabnzbd, Sonarr.

 

Try a reboot... worked for me when I was having a similar problem.

 

 

Sent from my iPhone using Tapatalk

Share this post


Link to post

do you have port 53 in use by any other dockers?

 

No, I did run through all my dockers and did not see any conflicts, unless there are some settings I don't know about. My list of dockers just in case:

 

- CouchPotato, DDClient, deluge, Dolphin, muximux, openvpn-as, plex, plexpy, sabnzbd, Sonarr.

 

Try a reboot... worked for me when I was having a similar problem.

 

 

Sent from my iPhone using Tapatalk

 

Rebooted and disabled autostart of all dockers and VM's. Still no luck. Am I able to switch port 53 to 54 or will this break how pihole works?

Share this post


Link to post

Should dnsmasq be running by default on unraid? I think this may be the issue and am wondering if there will be any adverse affects if I remove it.

Share this post


Link to post

Should dnsmasq be running by default on unraid? I think this may be the issue and am wondering if there will be any adverse affects if I remove it.

 

So I ran

killall dnsmasq

then was able to start Pihole just fine. Not sure if this will persist after a reboot, no idea if I have broken anything else but things seem to be working at the moment.

Share this post


Link to post

Thanks so much for this! Sadly I can't make it work either :(

 

I've successfully changed unRAID port to 81, created with touch command the needed files but when trying to run it I get

3kEnKVW4+

 

Setup is as follows

3dhO195p+

 

In the logs I get some errors

 

==> /var/log/nginx/error.log <==

2016/11/13 09:49:58 [error] 196#196: *8 FastCGI sent in stderr: "PHP message: PHP Warning: max(): Array must contain at least one element in /var/www/html/admin/data.php on line 256

PHP message: PHP Warning: min(): Array must contain at least one element in /var/www/html/admin/data.php on line 257

PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/admin/data.php on line 260" while reading response header from upstream, client: 10.0.1.7, server: , request: "GET /admin/api.php?overTimeData HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "10.0.1.2", referrer: "http://10.0.1.2/admin/index.php"

 

Is this a bug or am I doing something wrong? Thanks!

 

Share this post


Link to post

Thanks so much for this! Sadly I can't make it work either :(

 

I've successfully changed unRAID port to 81, created with touch command the needed files but when trying to run it I get

3kEnKVW4+

 

 

I just saw the "Execution Error" on another container.  Nothing in the logs, but a reboot of the server fixed it...

Share this post


Link to post

Hello guys,

Is there anyway to use pihole to resolve local ip's to urls? so that 192.168.1.10:81 can be resolved to unraid.local

Share this post


Link to post

Hey guys! any ideas regarding my problem/bug? Currently I'm using pihole on the raspberry but I would love to move it to my unRAID setup! thanks!

Share this post


Link to post

@gl3nn - sorry, I don't know the answer. Is this something the raspberry PI version does?

 

@bluepr0 - How many network cards are in your server?, Is the serverip the same as your unraid server?. I think I saw the same error when the empty txt files had not been created correctly... Is it all pointing to the right place? (There is a manual step for this docker)

Share this post


Link to post

@bluepr0 - How many network cards are in your server?, Is the serverip the same as your unraid server?. I think I saw the same error when the empty txt files had not been created correctly... Is it all pointing to the right place? (There is a manual step for this docker)

 

The server has 2 eth ports (but with bridge enabled), the serverip is the same as my unraid server indeed!. Also the .txt files seems to be created correctly, if I for example do a 'kill dnsmasq' then I can run the docker, even if it doesn't work when resolving addresses at least it will run

Share this post


Link to post

k, I have two eth but I only use one. I wonder if this is the issue.

Also, how is dnsmasq running? Is it a plugin or other docker?

Share this post


Link to post

k, I have two eth but I only use one. I wonder if this is the issue.

Also, how is dnsmasq running? Is it a plugin or other docker?

honestly? no idea! I read an user on this thread saying that using "kill dnsmasq" worked so I just tried it. I think I don't have anything using dnsmasq or the port 53 (actually I executed the command directly through SSH on the unRAID server, so shouldn't be related to a docker but maybe a plugin?)

Share this post


Link to post

honestly? no idea! I read an user on this thread saying that using "kill dnsmasq" worked so I just tried it. I think I don't have anything using dnsmasq or the port 53 (actually I executed the command directly through SSH on the unRAID server, so shouldn't be related to a docker but maybe a plugin?)

If it killed dnsmasq then its probably a plugin or something rather than a docker image.

Share this post


Link to post

honestly? no idea! I read an user on this thread saying that using "kill dnsmasq" worked so I just tried it. I think I don't have anything using dnsmasq or the port 53 (actually I executed the command directly through SSH on the unRAID server, so shouldn't be related to a docker but maybe a plugin?)

If it killed dnsmasq then its probably a plugin or something rather than a docker image.

It lets me execute the docker but it seems to not work (not translating DNS to IPs)

Share this post


Link to post

ok, it doesn't do that job - it checks to see if they are in a blacklist and then forwards the request to the dns server ips on the template. Are they correct?

Share this post


Link to post

ok, it doesn't do that job - it checks to see if they are in a blacklist and then forwards the request to the dns server ips on the template. Are they correct?

I think so! here's all my configuration (it even shows the URL with the unRAID server IP)

 

2yJ2gGhg+

 

thanks a lot!

Share this post


Link to post

Here's mine - note the advanced settings with extra params = --cap-add=NET_ADMIN

2016-11-21_10-24-27.png.af9403863765d45fd9d00fc7a45b1506.png

Share this post


Link to post

Here's mine - note the advanced settings with extra params = --cap-add=NET_ADMIN

oh nice! I will try that, what is it for?. Thanks!

Share this post


Link to post

Here's mine - note the advanced settings with extra params = --cap-add=NET_ADMIN

Never mind, I already have it as well if I enable advanced settings!. Thanks!

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.