OMV + Docker + Pi Hole

Moderators: mdrjr, odroid

OMV + Docker + Pi Hole

Unread postby cadelle » Thu May 10, 2018 10:54 am

So I am trying to get PiHole running on my xu4 with the latest version of OMV. I installed the docker add on and was also able to get the pihole image but I can't get it to work. I am trying to follow the instructions I found here https://forum.openmediavault.org/index. ... -01-09-18/ I realize that these instructions are not for the same image of OMV I'm using but I thought it would get me to where I need to be. The spot where it is telling me to click on the Networks tab and the Create button. In the docker service of my OMV there is no network tab. Does anyone know where I can find some instructions to get pihole working in docker on OMV
cadelle
 
Posts: 47
Joined: Sat Feb 24, 2018 3:24 am
languages_spoken: english
ODROIDs: XU4, cloudshell2

Re: OMV + Docker + Pi Hole

Unread postby rooted » Thu May 10, 2018 1:01 pm

You can run pihole without docker as well.
User avatar
rooted
 
Posts: 5297
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: OMV + Docker + Pi Hole

Unread postby cadelle » Thu May 10, 2018 11:30 pm

Is there a reference somewhere to instructions?

Everything I seem to try to get to work on these boards is a nightmare. I am really wishing I would have went a different route...
cadelle
 
Posts: 47
Joined: Sat Feb 24, 2018 3:24 am
languages_spoken: english
ODROIDs: XU4, cloudshell2

Re: OMV + Docker + Pi Hole

Unread postby rooted » Fri May 11, 2018 12:32 am

Code: Select all
 curl -sSL https://install.pi-hole.net | bash
User avatar
rooted
 
Posts: 5297
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: OMV + Docker + Pi Hole

Unread postby cadelle » Sat May 19, 2018 3:30 am

Tried that and lost my ability to access OMV by the web GUI. Even after removing pihole still cannot access the web GUI. The box itself is working fine as i can putty to it and access the shares and such with other machines on my network. I'm guessing this has to do with port 80 access being changed by pihole and part of the reason I wanted to stick pihole in docker, in hopes it wouldn't mess with everything else running. Any ideas how to get OMVs web working again?
cadelle
 
Posts: 47
Joined: Sat Feb 24, 2018 3:24 am
languages_spoken: english
ODROIDs: XU4, cloudshell2

Re: OMV + Docker + Pi Hole

Unread postby rooted » Sat May 19, 2018 6:43 am

SSH in and change the OMV port.
User avatar
rooted
 
Posts: 5297
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: OMV + Docker + Pi Hole

Unread postby cadelle » Sat May 19, 2018 8:53 am

I was thinking the same thing actually and in my search to do so I came across reference to a first aid command: # omv-firstaid

Problem is I am being told that command can't be found. Is this version of OMV missing that? Is there a place I can pull it from via the CLI? I will continue to explore other ways to accomplish this but most things I've found point to the firstaid command.

Thank you for your continued help rooted.
cadelle
 
Posts: 47
Joined: Sat Feb 24, 2018 3:24 am
languages_spoken: english
ODROIDs: XU4, cloudshell2

Re: OMV + Docker + Pi Hole

Unread postby rooted » Sat May 19, 2018 10:35 am

If you can't use that command it leads me to believe you may have a semi broken installation. I had this happen to me the first time I installed OMV, it didn't install correctly but was mostly functional.

I reinstalled and everything that was wrong magically cleared up.
User avatar
rooted
 
Posts: 5297
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: OMV + Docker + Pi Hole

Unread postby kk5 » Wed May 23, 2018 6:51 pm

I have pihole installed on my omv and even nextcloud. For me the simplest solution was to move omv to port 8080, run pihole using its lighthttp on port 88 and make nextcloud run on the normal nginx port 80/443
You just have to change the ports in the configurations.
omv-firstaid is available on my system though.
kk5
 
Posts: 15
Joined: Thu Jun 09, 2016 5:44 am
languages_spoken: english, german
ODROIDs: H2, C2

Re: OMV + Docker + Pi Hole

Unread postby cadelle » Mon May 28, 2018 3:18 pm

I reinstalled omv and now get access to the omv-firstaid menu. ThANK you rooted! I am confident I can figure how to change the port for omv fairly easily. For pihole could you configure the port while installing or was it something you had to do after the installation was complete? Was the pihole port adjustment able to be made from within omv-firstaid as well or is that part of a separate pihole config area? I am not making use of nextcloud do you think i could get away with changing omv to port 8080 and then just install pihole as is and use port 80?
cadelle
 
Posts: 47
Joined: Sat Feb 24, 2018 3:24 am
languages_spoken: english
ODROIDs: XU4, cloudshell2

Re: OMV + Docker + Pi Hole

Unread postby kk5 » Mon May 28, 2018 3:56 pm

You could use pihole on the standard port 80 and change omv to 8080 if that's easier for you.
The port of pihole can be changed after the installation in the config file (not within the omv interface).
kk5
 
Posts: 15
Joined: Thu Jun 09, 2016 5:44 am
languages_spoken: english, german
ODROIDs: H2, C2

Re: OMV + Docker + Pi Hole

Unread postby rooted » Tue May 29, 2018 3:01 am

cadelle wrote:I reinstalled omv and now get access to the omv-firstaid menu. ThANK you rooted!


You're welcome. I no longer trust Armbian since this happened. Nothing obvious ever went wrong but something failed silently and broke a lot of the system.
User avatar
rooted
 
Posts: 5297
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: OMV + Docker + Pi Hole

Unread postby cadelle » Tue May 29, 2018 1:09 pm

I really appreciate everyone's help. After reinstall and being able to access the omv-firstaid menu I verified that I could change the omg web gui to 8080 without a problem and I did. Then created a backup (just in case). Installed pihole as is, stock settings, changed the dns on my router to match that of the pihole and everything works as it should

I really appreciate all the help!
cadelle
 
Posts: 47
Joined: Sat Feb 24, 2018 3:24 am
languages_spoken: english
ODROIDs: XU4, cloudshell2

Re: OMV + Docker + Pi Hole

Unread postby rooted » Tue May 29, 2018 1:38 pm

Nice job.
User avatar
rooted
 
Posts: 5297
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)


Return to Other OS

Who is online

Users browsing this forum: No registered users and 0 guests