Open Jachimo opened 1 year ago
I just ran into this too, it happens when the host is IPv6-only. When I gave it an IPv4 address, it worked as usual.
I just ran into this too, it happens when the host is IPv6-only. When I gave it an IPv4 address, it worked as usual.
@mojansch In the next release i.e v0.24.0, we are coming up with setup instructions for the server on an ipv6-only machine, and in general, we added full-fledged support for clients to work with ipv6 only networks
I also happens with dual-stack network (ipv4 + ipv6)
I just ran into this too, it happens when the host is IPv6-only. When I gave it an IPv4 address, it worked as usual.
Contact Details
jachimo
What happened?
I am trying to install Netmaker using the
nm-quick.sh
script on an AWS Lightsail VPS.I created the Lightsail VPS using the Ubuntu 22.04 LTS image. Only thing I did to it was uninstall
snapd
(because I don't like Snap and it's resource-heavy). I have a domain set up in Lightsail so I can create DNS records. I have a wildcard DNS entry configured that points to the public IPv4 address of the VPS. Ports 22, 80, 51821-51825 are open. LetsEncrypt can connect to the server on Port 80 for verification just fine, so that is not the problem.Per the documentation, I am doing the recommended installation route by running the script:
sudo wget -qO /root/nm-quick.sh https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/nm-quick.sh && sudo chmod +x /root/nm-quick.sh && sudo /root/nm-quick.sh
I have tried this both as my regular work user (which has sudo permissions) and as root itself. Same results both ways.
Here's a trimmed version of the output I'm getting:
There are some more messages but that's essentially it; I'm dead in the water and nothing further productive happens.
I don't know where to proceed from here. I don't know what Caddy is/does, I've never used it, and it doesn't seem to produce any log messages in any obvious place.
Although there's a line that says it's "saving debug log to /var/log/letsencrypt/letsencrypt.log", there's no /var/log/letsencrypt directory much less anything inside it. (And there's nothing inside /var/log that looks like it belongs to Netmaker, Caddy, etc.)
Based on other reports by people with similar issues, I already tried
sysctl -w net.core.rmem_max=2500000
andsysctl -w net.core.wmem_max=2500000
which had no effect. In case it was some sort of OOM issue, I also created 4G of additional swap. No effect.Suggestions greatly welcome since at this point I have no idea how to proceed; the installer is effectively broken as far as I can tell, and I think I followed the instructions pretty closely.
Version
v0.20.6
What OS are you using?
Linux
Relevant log output
No response
Contributing guidelines