vmstan / gravity-sync

💫 The easy way to synchronize the DNS configuration of two Pi-hole 5.x instances.
https://vmstan.com/gravity-sync/
GNU General Public License v3.0
2.25k stars 118 forks source link

Detecting remote Pi-hole installationLoad key - Permission denied #425

Open newbieraf opened 6 months ago

newbieraf commented 6 months ago

Hi there

Linux Newbie here - please bare with me

Things I've done:

I must be doing something wrong but I don't know what it is. Can you please help?

Thanks

traxeon commented 4 months ago

Run the command recommended on the install page. Also make sure you clear out any configurations you performed (e.g. remove /etc/gravity-sync and /usr/local/bin/gravity-sync before running the install script. I ran into this when I originally ran the install under root, it failed, then decided to run it under my non-root account. The files remaining did not have permissions to be written/overwritten since they were originally run as root.

newbieraf commented 3 months ago

Thanks so much @traxeon and sorry about the late reply. I removed Gravity Sync completely and used the standard script on the site to reinstall. When I now do a compare from 10.1.1.3 (primary) it works, however when I do the same from 10.1.1.4 (secondary) I get “ unable to validate configuration folder for Pi-hole” on the primary. Im doing both compares as the non-root account. What am I missing?