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

Performing backup of remote Gravity DatabaseError: No such container: pihole-FTL

Open mentalsoup opened this issue 3 years ago โ€ข 2 comments

Issue Description Pulling or pushing from either of the two instances exhibits the following output:

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 user@###.###.#.## โœ“ 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 local Pi-hole ! Static DHCP Addresses not detected on the local Pi-hole ! Replication of Pi-hole settings is required โˆž Performing backup of remote Gravity DatabaseError: No such container: pihole-FTL โœ— Performing backup of remote Gravity Database

Configuration Details Both pihole instances are running containerized on docker swarm. The compare command runs without any problem.

mentalsoup avatar Sep 11 '22 20:09 mentalsoup

same here... did you solved in any way?

zenzip avatar Dec 11 '23 19:12 zenzip

This error occurs when the pi-hole container name(s) have changed. This can arise due to changes in your pi-hole hostname, or changes in your docker-compose file.

Re-run the config command on each pi-hole to pick up any new/changed container names on local and remote:

gravity-sync config

The message Error: No such container: should specify the missing container by name, instead of the generic pihole-FTL.

hamlynt avatar May 18 '24 01:05 hamlynt