-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Server with already installed docker engine cannot be added/validated #1578
Comments
I never used NixOS based server, so it is time to test it. |
@andrasbacsai Haha, thanks @andrasbacsai! NixOS is a great system for container hosts as its package manager stores data on a read-only partition. All configuration for a host can be done in configuration files. For quick installation of a NixOS server instance on e.g. Hetzner, I recommend nixos-anywhere. They have an example file which works perfectly for a Hetzner host (it does everything including disk partitioning). If you need any further help debugging, let me know. |
@andrasbacsai Recently tried coolify on cloudlinux which is provided by our VPS provider, but having the same issue. Will this issue be any closer to getting solved? |
Having the same issue |
Managed to pinpoint it to this coolify/app/Livewire/Server/ValidateAndInstall.php Lines 83 to 87 in 88581c8
So it recommends manual installation but does not have a branch of logic for the case where the user did do a manual installation. I suggest either:
|
A temporary hack-fix was easy: sudo su
cp /etc/os-release /etc/os-release.backup
vim /etc/os-release
<Change the ID field to `ubuntu` and exit> Run the validation, it passes, then just restore the cp /etc/os-release.backup /etc/os-release
rm /etc/os-release.backup |
Same issue in Ubuntu, we have docker installed already and need to skip install docker in "validate and install docker" process |
Same issue on ID=manjaro - method for temporary change ID to ubuntu in /etc/os-release worked. Everything installed as needed. |
Same temp fix works with ID=pop (popos). Can this be fixed so that we dont need this workaround? |
Guys, I'm on Ubuntu and I tried all your techniques, changing it to ID=debian or ID=pops. Both weren't working. Does someone has another fix please ? |
Have you tried |
@nmpereira here is my os-release file on my ubuntu : PRETTY_NAME="Ubuntu 22.04.4 LTS" So my os ID is already set to ubuntu, any clue please ? :D |
Since I am also primarily running NixOS, I will soon add official NixOS support (which will fix this problem). |
Hey @peaklabs-dev, do you hve any news for a multi linux OS supports on this please ? |
Up `Welcome to Coolify Installer! | Operating System | ubuntu 22.04
|
Description
I cannot seem to add a server (based on NixOS) with a running docker engine to Coolify. It's stuck on:
However, if I run
command -v docker
on the NixOS server, everything is working OK. The only difference to a Ubuntu-based server is that the executable is located at:/run/current-system/sw/bin/docker
instead of/usr/bin/docker
. But adding a symbolic link from/usr/bin/docker
to the binary location on Ubuntu does not work either.Minimal Reproduction (if possible, example repository)
Exception or Error
Version
v4.0.0-beta.174
The text was updated successfully, but these errors were encountered: