Jump to content

[SUPPORT] Orbital Sync

Featured Replies

Posted

Overview: Support for Docker image mattwebbio/orbital-sync which can synchronise a master pihole container on Unraid to a single or multiple slave pihole instance (either virtualised or physical on Raspberry PI).

 

Docker Hub: https://hub.docker.com/r/mattwebbio/orbital-sync

GitHub: https://github.com/mattwebbio/orbital-sync

 

No credit is taken for this excellent application, I spent days trying to find a nice solution without SSH/Rsync capability in the pihole container, this works perfectly as it connects to the admin interface, creates a backup using the inbuilt "teleporter" then imports the backup into the slaves.

You can also setup notifications if you want to be notified on success/failure.

 

Expectations:

This container will run when started, perform a synchronisation, then wait for x minutes (as specified by a container variable).

It will run every x minutes until stopped.

 

12/9/2023, 11:12:20 PM: ➡️ Signing in to http://192.168.1.xxx/admin...
12/9/2023, 11:12:20 PM: ✔️ Successfully signed in to http://192.168.1.xxx/admin!
12/9/2023, 11:12:20 PM: ➡️ Downloading backup from http://192.168.1.xxx/admin...
12/9/2023, 11:12:20 PM: ✔️ Backup from http://192.168.1.xxx/admin completed!
12/9/2023, 11:12:20 PM: ➡️ Signing in to http://192.168.1.yyy/admin...
12/9/2023, 11:12:20 PM: ✔️ Successfully signed in to http://192.168.1.yyy/admin!
12/9/2023, 11:12:20 PM: ➡️ Uploading backup to http://192.168.1.yyy/admin...
12/9/2023, 11:12:26 PM: ✔️ Backup uploaded to http://192.168.1.yyy/admin!
12/9/2023, 11:12:26 PM: ➡️ Updating gravity on http://192.168.1.yyy/admin...
12/9/2023, 11:12:28 PM: ✔️ Gravity updated on http://192.168.1.yyy/admin!
12/9/2023, 11:12:28 PM: ✔️ Success: 1/1 hosts synced.
12/9/2023, 11:12:28 PM: Waiting 30 minutes...

 

Logs

This container logs to stdout. To see the logs you will have to execute the docker logs command.

 docker logs OrbitalSync

or use the logs link from Unraid gui.

thank you so much... this is so easy to setup and works great.

Looks like exactly what I need... My piholes do not have passwords for the admin interface though... the setup will not allow me to not fill in a password. ?

  • Author
On 12/14/2023 at 2:20 PM, Helmonder said:

Looks like exactly what I need... My piholes do not have passwords for the admin interface though... the setup will not allow me to not fill in a password. ?

 

I'm not sure if the actual script itself supports a blank password, but you can try clicking the edit button next to the password field and changing "required" to no
image.png.53cf01e92945280c2807a956c3f524b9.png

 

Then click save and you'll be able to continue with the field blank

 

If that doesn't work you can try clicking the remove button next to the password fields, then they won't be passed to the container at all

Let me know how you get on!

  • 2 weeks later...

Seems to work !

 

12/30/2023, 11:33:11 AM: ➡️ Signing in to http://192.168.2.251/admin...
12/30/2023, 11:33:11 AM: ✔️ Successfully signed in to http://192.168.2.251/admin!
12/30/2023, 11:33:11 AM: ➡️ Downloading backup from http://192.168.2.251/admin...
12/30/2023, 11:33:11 AM: ✔️ Backup from http://192.168.2.251/admin completed!
12/30/2023, 11:33:11 AM: ➡️ Signing in to http://192.168.2.253/admin...
12/30/2023, 11:33:11 AM: ✔️ Successfully signed in to http://192.168.2.253/admin!
12/30/2023, 11:33:11 AM: ➡️ Uploading backup to http://192.168.2.253/admin...
12/30/2023, 11:33:12 AM: ✔️ Backup uploaded to http://192.168.2.253/admin!
12/30/2023, 11:33:12 AM: ➡️ Updating gravity on http://192.168.2.253/admin...
12/30/2023, 11:33:15 AM: ✔️ Gravity updated on http://192.168.2.253/admin!
12/30/2023, 11:33:15 AM: ✔️ Success: 1/1 hosts synced.

  • 7 months later...

Great project, runs excellently - many thanks!
But I wonder why there is no Docker icon. The .svg graphic is linked in the settings, but unfortunately Unraid can't do anything with it :,-(
Anyway... I have made a suitable .png in the format 512 x 512, see attachment.
Or you can use the online version: https://i.imgur.com/2WuVtUt.png

OrbitalSync.png

  • Author

Yeah I noticed the same - it seems github don't like direct linking to user images.
Unfortunately at the time because it's not a widely used project it's the only logo I could find.

Thanks for uploading :) 

  • 5 months later...

Orbital-sync won't connect to my secondary Pi-hole instance:

 

1/19/2025, 9:35:13 AM: ➡️ Signing in to http://192.168.0.121/admin...
1/19/2025, 9:35:13 AM: ✔️ Successfully signed in to http://192.168.0.121/admin!
1/19/2025, 9:35:13 AM: ➡️ Downloading backup from http://192.168.0.121/admin...
1/19/2025, 9:35:13 AM: ✔️ Backup from http://192.168.0.121/admin completed!
1/19/2025, 9:35:13 AM: ➡️ Signing in to http://192.168.0.127/admin...
1/19/2025, 9:35:16 AM: ⚠ Failure: An unexpected error was thrown:
- FetchError: request to http://192.168.0.127/admin/index.php?login failed, reason: connect EHOSTUNREACH 192.168.0.127:80
1/19/2025, 9:35:16 AM: ⚠ Failure: 0/1 hosts synced.
1/19/2025, 9:35:16 AM: Waiting 30 minutes...

 

The 0.127 Pi-hole is a Docker container running on the same Unraid machine as orbital-sync.  That Pi-hole instance is set up with a Custom:br0 network type and a different IP address from the Unraid server because configuring it as the default Bridge type created a port conflict on port 53.  A support post on the orbital-sync GitHub says (in response to a similar question):

 

Quote

Is Orbital Sync running in the same docker engine as your Pi-hole instance? If so, you will likely need to use the internal docker assigned IP address (and container port) to Pi-hole, not the public IP and port. Docker containers communicate with each other over an internal network.

 

But I don't seem to have a separate internal docker assigned IP address for the Pi-Hole container because of how the network type is set:

 

image.png.e521b92f08cc046d2fc8cb632d1a4def.png

 

Any ideas as to how to resolve this would be appreciated.  Thanks!

I fixed the problem.  For posterity, the solution was to change the Network Type for orbital-sync container to Br0 also.  Then it could see the 0.127 box and all was well.

  • 5 weeks later...

I recently updated both my piholes to v6. I have since not been able to get OrbitalSync to connect to my primary pihole. If its relevant, it somehow defaulted to port 8080 during the upgrade but I have since changed it to 80. In any case, per this screenshot you can see the address I am signed in to which I triple checked the password on as well and its showing the failure to connect:

 

image.thumb.png.03c832f8f0797d0df7e09a2b80170dc4.png

  • 2 weeks later...

Yeah this isn't working with v6 even with the right port... its just not signing in.  is this still being maintained and will someone update it?

14 hours ago, slikone27 said:

Yeah this isn't working with v6 even with the right port... its just not signing in.  is this still being maintained and will someone update it?

The docker is not yet ready, not an unraid issue:

 

https://github.com/mattwebbio/orbital-sync/issues/190

  • Author

Yes this forum thread is just for support of the unraid package to install orbital sync 

 

orbital sync itself doesn’t support pihole v6 yet but looking at the GitHub ticket they are working on it

  • 3 weeks later...
  • Author

For those not checking the github issues - V6 support on orbital sync is in master - it's not released yet as they're missing a few features but they've announced it should be within a week or so :) 

  • 1 month later...
  • Author

V6 UPDATE

The author of Orbital-Sync has decided not to continue development.
An alternative is available for pihole v6+ - nebula sync https://github.com/lovelaze/nebula-sync/

I have switched over and confirmed it works perfectly.
If you're staying on V5 then this will continue to work, but for V6+ I'd suggest switching to nebula sync which is already available in the community apps :) 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...