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

adding rootless podman functionality

Open tbelway opened this issue 1 year ago • 5 comments
trafficstars

Compatibility with rootless podman added.

tbelway avatar Dec 25 '23 04:12 tbelway

I have it working with no errors atm. Let me know if you need anything else.

tbelway avatar Dec 31 '23 05:12 tbelway

Thanks for this, I need to get some time to properly test this before merging.

vmstan avatar Jan 07 '24 18:01 vmstan

I have it working with no errors atm. Let me know if you need anything else.

Thanks for this, I need to get some time to properly test this before merging.

No worries bud. I am also hella sleep deprived with my kids, so just let me know if there's anything that doesn't play nice with your tests and I'll correct. I have it working for me, it plays seamless with fedora server and almalinux but for some reason I sometimes get gravity.db corruptions on microos, but I had that before I was using gravity sync so I am pretty sure it has to do with something else :)

I had it syncing across 3 pihole instances in a loop fashion, which is not resilient in the case of one going down, so if I ever get some free time maybe I'll look at a spoke model...

tbelway avatar Jan 11 '24 20:01 tbelway

Any updates on getting this tested/merged? I run rootless podman and would really like this functionality. As it stands on the machine running rootless podman:

✓ Podman installation has been detected ! There is no Podman container of Pi-hole running ✗ Pi-hole was not found on this system » Status Report ✗ 1 critical issue(s) prevent successful deployment



CONTAINER ID  IMAGE                            COMMAND      CREATED         STATUS                   PORTS                                                                                                       NAMES
aa74381baf23  docker.io/mvance/unbound:latest  /unbound.sh  21 minutes ago  Up 21 minutes (healthy)  0.0.0.0:53->53/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:5335->5335/tcp, 0.0.0.0:53->53/udp, 0.0.0.0:5335->5335/udp  unbound
12c193d96ca1  docker.io/pihole/pihole:latest                21 minutes ago  Up 21 minutes (healthy)  0.0.0.0:53->53/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:5335->5335/tcp, 0.0.0.0:53->53/udp, 0.0.0.0:5335->5335/udp  pihole

RhavinX avatar Feb 12 '24 15:02 RhavinX

Any updates on getting this tested/merged? I run rootless podman and would really like this functionality. As it stands on the machine running rootless podman:

✓ Podman installation has been detected ! There is no Podman container of Pi-hole running ✗ Pi-hole was not found on this system » Status Report ✗ 1 critical issue(s) prevent successful deployment



CONTAINER ID  IMAGE                            COMMAND      CREATED         STATUS                   PORTS                                                                                                       NAMES
aa74381baf23  docker.io/mvance/unbound:latest  /unbound.sh  21 minutes ago  Up 21 minutes (healthy)  0.0.0.0:53->53/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:5335->5335/tcp, 0.0.0.0:53->53/udp, 0.0.0.0:5335->5335/udp  unbound
12c193d96ca1  docker.io/pihole/pihole:latest                21 minutes ago  Up 21 minutes (healthy)  0.0.0.0:53->53/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:5335->5335/tcp, 0.0.0.0:53->53/udp, 0.0.0.0:5335->5335/udp  pihole

I'm using it across three piholes at home, two of which are rootless podman one of which is a standard VM. I've tested across: fedora/almalinux VM rootless podman (I've done both) microOS rootless podman (does have an odd bug where sometimes the gravity.db corrupts, but I'm pretty sure I've narrowed down the root cause. This happens regardless of if I'm using gravity-sync or not. Ubuntu standard install.

Feel free to test it out for yourself and see if you have issues :) You could always help out vmstan by reporting your feedback too.

tbelway avatar Feb 19 '24 02:02 tbelway

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