Open fn-hide opened 1 month ago
This error is caused by docker not coolify. Solved by enable ipv6 in my Ubuntu server. Thanks to this, this, and this.
Here the step-by-step if you all encounter the same issue:
To enable IPv6 on your Ubuntu 19.04 system, you can follow these steps: Check Current IPv6 Status: First, check if IPv6 is already enabled or not by running:
ip a | grep inet6
If you see addresses listed, IPv6 is enabled. If not, proceed to the next steps. Edit the GRUB Configuration: You may need to edit the GRUB configuration file to enable IPv6. Open the file using your preferred text editor:
sudo nano /etc/default/grub
Look for the line that starts with GRUB_CMDLINE_LINUX_DEFAULT and ensure it does not contain ipv6.disable=1. If it does, remove that part or set it to 0. The line might look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Update GRUB: After making changes, update GRUB to apply them:
sudo update-grub
Edit sysctl Configuration: To ensure IPv6 is enabled at boot, you can edit the sysctl configuration:
sudo nano /etc/sysctl.conf
Add or uncomment the following lines:
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
Apply sysctl Changes: Apply the changes by running:
sudo sysctl -p
Restart Your System: Reboot your system for all changes to take effect:
sudo reboot
Verify IPv6 is Enabled: After the reboot, check again:
ip a | grep inet6
If you see IPv6 addresses listed, then it is successfully enabled. After enabling IPv6, you can check if the Coolify Docker container is running correctly without the socket error. If you continue to face issues, please provide the specific errors or behaviors you encounter.
@fn-hide Just out of interest, can you run docker --version
and tell me what Docker version you are running? Because I think this is related to older version of docker.
@peaklabs-dev as per your request in #4351:
Docker version:
Docker version 27.3.1, build ce12230
OS:
Ubuntu 24.04.1 LTS
Coolify version
v4.0.0-beta.370
(for everyone else that reads this thread in the future, my issues with FPM initialization were solved by changing my IPv6 settings much like the comment above)
@peaklabs-dev Docker version 26.0.2, build 3c863ff
Error Message and Logs
in docker:
in specific unhealty coolify logs:
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.0.0-beta.360
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04.1
Additional Information
Same issue with this