Performing backup of remote Gravity DatabaseError: No such container: pihole-FTL
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.
same here... did you solved in any way?
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.