mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-07 21:30:36 -05:00
[GH-ISSUE #1184] Installer error if ipv6 is disabled #8560
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @djlobster on GitHub (Jul 31, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1184
Originally assigned to: @Xentrice on GitHub.
IPv6 is disabled on my VPS. Installer works fine if I say 'no' to starting the containers. If I say 'yes' then it gives me an error about the ipv6 portion because it's not available on my VPS. This also halts the installer so you never get asked about anything after this point like Crowdsec. I did originally comment out the IPv6 portion of the compose file and everything worked fine, I just realized after that it never did actually finish the installer. I tried it again just to be sure and then moved onto inputting 'no'.
After inputting 'no':
@Xentrice commented on GitHub (Aug 1, 2025):
This is caused by my pull request #1111
Damn, i was sure i tested everything.
I will create a pull request shortly making the IPv6 optional during installation. I didn't think this was necessary.
Which VPS and OS are you using?
@djlobster commented on GitHub (Aug 1, 2025):
I'm using a Netcup VPS with Ubuntu 24.04.2 LTS. I can use IPv6 with my VPS, but I've manually disabled it in the OS and that's why this happened. Would it be easy to put a check in the installer to see if IPv6 is enabled or not and skip that part of the compose file if it's not? Everything works fine as long as I don't try to start the container during install and then remove the IPv6 part of the compose file after the installer finishes.
@oschwartz10612 commented on GitHub (Aug 1, 2025):
Thanks for taking point @Xentrice !
Did you hard disable in
/etc/sysctl.conf? That would make sense if docker is complaining.@Xentrice commented on GitHub (Aug 1, 2025):
This is very interesting, provisioning an IPv6 capable server and disabling IPv6 afterwards in the OS is something I specifically tested without problem, although on a hetzner VPS with Debian 12. How did you disable IPv6?
Automatically checking for IPv6 during install could be done ofc, but I'm not sure how to ensure that all edge cases and different distributions are considered as well.
I feel like asking the user during install is the safest bet for now.
@djlobster commented on GitHub (Aug 1, 2025):
I have
/etc/sysctl.d/99-disable-ipv6.confset with:and in
/etc/default/grubI have:@crookshanked commented on GitHub (Aug 7, 2025):
Ubuntu 24 CIS disabled ipv6 as well. I encountered an issue with it on install, but changing the ipv6 to false under networks seems to get things moving again.
@oschwartz10612 commented on GitHub (Aug 8, 2025):
Hopefully fixed by #1212