gravity-sync icon indicating copy to clipboard operation
gravity-sync copied to clipboard

Sync doesn't work between container and service

Open daviddanko opened this issue 2 years ago โ€ข 1 comments

Hey,

I cannot get the synchronization to work. My setup is an rpi zero with raspberry pi os lite (32bit) running as a service (secondary pihole) and a virtual machine with the latest debian runnnig in a docker container (primary pihole).

The error I'm getting: Performing backup of local Gravity DatabaseOCI runtime exec failed: exec failed: unable to start container process: exec: "7c327553c14f": executable file not found in $PATH: unknown

Issuing the push command from the master:

network_user@network:~/docker/docker_pihole$ gravity-sync push

โˆž Initializing Gravity Sync (4.0.4) โœ“ Loading gravity-sync.conf โœ“ Detecting local Pi-hole installation โœ“ Detecting remote Pi-hole installation โœ“ Gravity Sync remote peer is configured โœ“ Evaluating arguments: PUSH ยป Remote target [email protected] โœ“ Validating pathways to Pi-hole โœ“ Validating pathways to DNSMASQ โœ“ Hashing the remote Gravity Database โœ“ Comparing to the local Gravity Database ! Differences detected in the Gravity Database โœ“ Hashing the remote DNS Records โœ“ Comparing to the local DNS Records ! Differences detected in the DNS Records ! DNS CNAMEs not detected on the remote Pi-hole ! Static DHCP Addresses not detected on the local Pi-hole ! Replication of Pi-hole settings is required โœ“ Performing backup of remote Gravity Database โˆž Performing backup of local Gravity DatabaseOCI runtime exec failed: exec failed: unable to start container process: exec: "7c327553c14f": executable file not found in $PATH: unknown โœ— Performing backup of local Gravity Database

Push from the peer (rpi)

root@rpi-01:/home/pizero# gravity-sync pull โˆž Initializing Gravity Sync (4.0.4) โœ“ Loading gravity-sync.conf โœ“ Detecting local Pi-hole installation โœ“ Detecting remote Pi-hole installation โœ“ Gravity Sync remote peer is configured โœ“ Evaluating arguments: PULL ยป Remote target [email protected] โœ“ Validating pathways to Pi-hole โœ“ Validating pathways to DNSMASQ โœ“ Hashing the remote Gravity Database โœ“ Comparing to the local Gravity Database ! Differences detected in the Gravity Database โœ“ Hashing the remote DNS Records โœ“ Comparing to the local DNS Records ! Differences detected in the DNS Records ! DNS CNAMEs has been detected on the remote Pi-hole ! DNS CNAMEs not detected on the local Pi-hole ! Static DHCP Addresses not detected on the local Pi-hole ! Replication of Pi-hole settings is required โœ“ Performing backup of local Gravity Database โˆž Performing backup of remote Gravity DatabaseOCI runtime exec failed: exec failed: unable to start container process: exec: "7c327553c14f": executable file not found in $PATH: unknown โœ— Performing backup of remote Gravity Database

The config should be fine, I've checked it several times.

Attached below: config.txt

Thanks in advance.

daviddanko avatar Nov 21 '22 15:11 daviddanko

check https://github.com/vmstan/gravity-sync/issues/345

devzwf avatar Dec 28 '22 16:12 devzwf

Effective July 26, 2024, this project has been retired. Thank you for your use and enthusiasm for a project that began as a few lines of bash in a Slack channel and envolved into something far more complex, and used by many thousands of Pi-hole enthusiasts over the last four years.

vmstan avatar Jul 26 '24 18:07 vmstan