-
-
Notifications
You must be signed in to change notification settings - Fork 131
Doesnt detect docker install #176
Comments
Hi PartTimeJS, I have been running it with docker for quite some time with no problems. Please supply the commands you've run, the output you get when running these commands, and any answers you've given during the interactive setup, otherwise troubleshooting will be impossible. Cheers. |
I am having the same problem, secondary Pihole is a docker container in Synology. I enter "export GS_INSTALL=secondary && curl -sSL https://gravity.vmstan.com | bash" via SSH into the Synology and the reply is: Gravity Sync by @vmstan
|
Hi @pochacho99 Can you also please provide some details on your operating environment (i.e. is your 2nd pihole a local install or a docker image? If a docker image, are you using the official pihole/pihole or something else?) Look forward to helping in a discussions thread. |
I think i found the cause, i am not using the official docker image, so that's probably why the script can't detect the pihole docker install. I am using the cbcrowe/pihole-unbound image. |
That is correct. The installer validates you're using the official image. |
I am using the official image. The result I see is equivalent to what pochacho posted: #176 (comment). |
I would suggest using the alternative install method if you're sure you meet all the install requirements.
|
Have you done anything to overcome this? I'm using the same unbound image, would prefer not to have to reconfigure everything.. Edit: just found this - #168 |
I gave up, I just copy the gravity.db manually from the primary to the secondary whenever I make any changes and run pihole restart dns on the secondary
From: talondnb ***@***.***>
Sent: Saturday, July 10, 2021 08:40
To: vmstan/gravity-sync ***@***.***>
Cc: pochacho99 ***@***.***>; Mention ***@***.***>
Subject: Re: [vmstan/gravity-sync] Doesnt detect docker install (#176)
I think i found the cause, i am not using the official docker image, so that's probably why the script can't detect the pihole docker install. I am using the cbcrowe/pihole-unbound image.
Have you done anything to overcome this? I'm using the same unbound image, would prefer not to have to reconfigure everything..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#176 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJPLBWJT3Z64PB2IBZ7Y75LTW6JFZANCNFSM4YVMIQSQ> . <https://github.com/notifications/beacon/AJPLBWPF4VJ5E77JLALYPDTTW6JFZA5CNFSM4YVMIQS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGRG7HPA.gif>
|
I managed to get it all going this morning after I posted the last reply. Pretty straight forward, if you're still interested. |
Yep definitely interested if you wouldn't mind sharing. My primary pihole is a docker and my secondary is a physical. |
Ok i'll try break it down simply but i'm using both docker installs so your milage may vary slightly with your physical host..
Also, I wanted to reiterate that the setup is all done on the secondary pihole (your physical pihole) and this host does all the hard work, the primary is simply your management UI. |
Thanks for the instructions, I'll try it out!
…On Sat, Jul 10, 2021, 15:48 talondnb ***@***.***> wrote:
Ok i'll try break it down simply but i'm using both docker installs so
your milage may vary slightly with your physical host..
- obviously make sure you have all the required packages installed
first
- set your intended users on each host to allow sudo with no password
('sudo visudo' and add username ALL=(ALL) NOPASSWD:ALL to the end of the
file
- run 'git clone https://github.com/vmstan/gravity-sync.git' installer
to your *Secondary* pihole, cd to the folder and run through the
wizard to generate the gravity-sync.conf file into the settings/ folder
(ensure your folder paths are spot on; ~/pihole/etc-pihole doesn't work,
you have to use full path)
- after the script has run, modify settings/gravity-sync.conf and
uncomment/update the CONTAIMAGE line to say
CONTAIMAGE='cbcrowe/pihole-unbound' (make sure you remove trailing comment)
- try to run ./gravity-sync.sh compare and determine if the setup is
working as expected
- if all is OK, run ./gravity-sync.sh automate to add a cron job onto
your secondary host, verify with crontab -l after this has run
- final check is to make a change onto your primary pihole UI (e.g.
add a test DNS record) and verify the sync occurs after your timeframe
configured in the prior step
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#176 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJPLBWPQVGMZPHBDOY2IJT3TW73OJANCNFSM4YVMIQSQ>
.
|
Issue Description
When following the instructions, the script does not detect the docker install. The instructions aren't very clear on if there is anything additional to do for installing when running pihole in docker and may be missing a few details?
Configuration Details
The text was updated successfully, but these errors were encountered: