coolify
coolify copied to clipboard
[Bug]: Can not access coolify on Local system, Though commnd executes successfully.
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
I have installed the coolify coollabsio/coolify:3.10.3
on my local system (ArchLinux, EndavourOs) using command wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh -d
The command executes successfully but I am unable to access the coolify at my <myIp>:3000
as printed on the terminal.
Here is the debug log:
$ wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh -d
+ getopts hvdfrnawi:x:-: OPT
+ shift 1
+ trap errorchecker EXIT
+ '[' 1 -eq 1 ']'
+ echo FORCE=0
FORCE=0
+ echo COOLIFY_APP_ID=4b5f2f5d-a93c-46d2-ab44-98d3b6fb4d3c
COOLIFY_APP_ID=4b5f2f5d-a93c-46d2-ab44-98d3b6fb4d3c
+ echo COOLIFY_SECRET_KEY=MmYyMTg3MjViMWJjNjIxNWNkOWQ2ZmZk
COOLIFY_SECRET_KEY=MmYyMTg3MjViMWJjNjIxNWNkOWQ2ZmZk
+ echo COOLIFY_DATABASE_URL=file:../db/prod.db
COOLIFY_DATABASE_URL=file:../db/prod.db
+ echo COOLIFY_SENTRY_DSN=https://[email protected]/6091062
COOLIFY_SENTRY_DSN=https://[email protected]/6091062
+ echo COOLIFY_HOSTED_ON=docker
COOLIFY_HOSTED_ON=docker
+ echo COOLIFY_WHITE_LABELED=false
COOLIFY_WHITE_LABELED=false
+ echo COOLIFY_WHITE_LABELED_ICON=
COOLIFY_WHITE_LABELED_ICON=
+ echo COOLIFY_AUTO_UPDATE=false
COOLIFY_AUTO_UPDATE=false
+ '[' 0 -eq 1 ']'
+ echo -e 'Welcome to Coolify installer!'
Welcome to Coolify installer!
+ echo -e 'This script will install all requirements to run Coolify.'
This script will install all requirements to run Coolify.
+ echo -e '(Source code of this script: https://github.com/coollabsio/get.coollabs.io/blob/main/static/coolify/install.sh)\n'
(Source code of this script: https://github.com/coollabsio/get.coollabs.io/blob/main/static/coolify/install.sh)
+ echo -------------
-------------
+ echo -e TELEMETRY:
TELEMETRY:
+ echo -e '1. The script generates a random UUID for your installation to show the number of installed instances on the landing page (https://coolify.io). Nothing else.'
1. The script generates a random UUID for your installation to show the number of installed instances on the landing page (https://coolify.io). Nothing else.
+ echo -e '2. We use Sentry.io to track errors to fix them quicker.\n'
2. We use Sentry.io to track errors to fix them quicker.
+ echo -e 'If you would like to opt-out, we follow the DO_NOT_TRACK movement (https://consoledonottrack.com/).\nExecute '\''export DO_NOT_TRACK=1'\'' to set the required environment variable or use '\''--do-not-track'\'' option.'
If you would like to opt-out, we follow the DO_NOT_TRACK movement (https://consoledonottrack.com/).
Execute 'export DO_NOT_TRACK=1' to set the required environment variable or use '--do-not-track' option.
+ echo -e '-------------\n'
-------------
+ '[' root '!=' root ']'
++ command -v docker
+ '[' '!' -x /usr/bin/docker ']'
++ sudo docker info --format '{{.Swarm.ControlAvailable}}'
+ '[' false = true ']'
++ sudo docker version -f '{{.Server.Version}}'
+ SERVER_VERSION=20.10.17
++ echo 20.10.17
++ cut -d. -f 1
+ SERVER_VERSION_MAJOR=20
++ echo 20.10.17
++ cut -d. -f 2
+ SERVER_VERSION_MINOR=10
+ '[' 20 -ge 20 ']'
+ '[' 10 -ge 10 ']'
+ DOCKER_VERSION_OK=ok
+ '[' ok == nok ']'
+ '[' -f /etc/docker/daemon.json ']'
+ '[' 0 -eq 1 ']'
+ true
+ read -p 'Docker already configured. I will overwrite it, okay? [Yy/Nn] ' yn
Docker already configured. I will overwrite it, okay? [Yy/Nn] y
+ case $yn in
+ dockerConfiguration
+ mkdir -p /etc/docker/ /var/snap/docker/current/config/
+ cat
+ tee /etc/docker/daemon.json /var/snap/docker/current/config/daemon.json
+ restartDocker
+ sudo systemctl daemon-reload
+ sudo systemctl restart docker
+ break
+ restartDocker
+ sudo systemctl daemon-reload
+ sudo systemctl restart docker
+ '[' '!' -x /root/.docker/cli-plugins/docker-compose ']'
+ '[' 0 -eq 1 ']'
+ '[' -f /root/coolify/.env ']'
+ true
+ read -p 'Coolify configuration found (/root/coolify/.env). I will overwrite it, okay? [Yy/Nn] ' yn
Coolify configuration found (/root/coolify/.env). I will overwrite it, okay? [Yy/Nn] y
+ case $yn in
+ saveCoolifyConfiguration
+ echo 'TAG=3.10.3
COOLIFY_APP_ID=4b5f2f5d-a93c-46d2-ab44-98d3b6fb4d3c
COOLIFY_SECRET_KEY=MmYyMTg3MjViMWJjNjIxNWNkOWQ2ZmZk
COOLIFY_DATABASE_URL=file:../db/prod.db
COOLIFY_SENTRY_DSN=https://[email protected]/6091062
COOLIFY_HOSTED_ON=docker
COOLIFY_WHITE_LABELED=false
COOLIFY_WHITE_LABELED_ICON=
COOLIFY_AUTO_UPDATE=false'
+ break
+ '[' 0 -ne 1 ']'
+ echo 'Installing Coolify.'
Installing Coolify.
+ echo 'Pulling Coolify latest image (3.10.3).'
Pulling Coolify latest image (3.10.3).
+ sudo docker pull -q coollabsio/coolify:3.10.3
+ echo 'Starting Coolify.'
Starting Coolify.
+ cd /root/coolify
+ sudo docker run -tid --env-file /root/coolify/.env -v /var/run/docker.sock:/var/run/docker.sock -v coolify-db-sqlite coollabsio/coolify:3.10.3 /bin/sh -c 'env | grep COOLIFY > .env && docker compose up -d --force-recreate'
+ echo -e 'Congratulations! Your Coolify instance is ready to use.\n'
Congratulations! Your Coolify instance is ready to use.
++ curl -4s https://ifconfig.io
+ echo 'Please visit http://yyy.yy.yy.yyy:3000 to get started.'
Please visit http://yyy.yy.yy.yyy:3000 to get started.
+ echo 'It will take a few minutes to start up, don'\''t worry.'
It will take a few minutes to start up, don't worry.
+ errorchecker
+ exitCode=0
+ '[' 0 -ne 0 ']'
I can see the docker container is running as well, but Still I can not access the coolify.
Would someone plz help, whats the issue?
Steps To Reproduce
Just run the wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh -d
on Arch Linux(EndavourOs), 16Gb RAM
Version
3.10.3
Can you check if docker logs coolify
shows any error?
The docs says that the only supported OS is Ubuntu, isn't that the root of your problem (because you are trying to run it on Arch Linux) ?
https://docs.coollabs.io/coolify/installation#supported-operating-systems
Due to inactivity, I'm closing this issue. However, if the problem persists, please reopen the issue. Thanks!