gravity-sync
gravity-sync copied to clipboard
Sync doesn't work between container and service
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.
check https://github.com/vmstan/gravity-sync/issues/345
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.