Closed semaf closed 5 months ago
Same issue here. It worked this morning but I needed to update my OS disk. After I ran the script on a fresh install (after the 1.0 release) the installation failed with that error. Something to do with docker v1 vs v2 potentially?
Same issue here. It worked this morning but I needed to update my OS disk. After I ran the script on a fresh install (after the 1.0 release) the installation failed with that error. Something to do with docker v1 vs v2 potentially?
I guess it has to do with docker compose v1. Installed now on debian v12 and it was still asking to install docker compose v1
Same issue here. It worked this morning but I needed to update my OS disk. After I ran the script on a fresh install (after the 1.0 release) the installation failed with that error. Something to do with docker v1 vs v2 potentially?
I guess it has to do with docker compose v1. Installed now on debian v12 and it was still asking to install docker compose v1
So, I found a work around I think. Edit the ./umbrel/scripts/start
and edit line 150. Remove the -
in the compose command:
echo
echo "Starting Docker services..."
echo
--> docker compose "${compose_files[@]}" up --detach --build --remove-orphans || {
echo "Failed to start containers"
$set_status umbrel errored docker-failed
exit 1
}
echo
Edit ./umbrel/scripts/stop
on line 66 (the last line) and remove the hyphen also:
echo "Stopping Docker services..."
echo
--> docker compose "${compose_files[@]}" down
Looks like you also need to edit all instances in scripts to use docker compose
instead of docker-compose
. I found instances in app
, debug
, rpcauth.py
, install
, start
, stop
scripts.
Another note… docker compose v2 also requires container service names to use dashes instead of underscores. If an app is not installing then you will need to go into the repo
folder for that app and make sure any host reference and docker image name is converted to dashes. If not then it will have dns issues and not be able to connect to the proper service. An example is the nginx
service of the public-pool
repo.
to install do ‘curl -L https://github.com/getumbrel/umbrel/archive/0.5.4.tar.gz | tar -xz --strip-components=1’ without the ‘ at the start and end, then do sudo ./scripts/start which works fine for me. If it doesn’t work try install docker compose with pip: pip install docker-compose
to install do ‘curl -L https://github.com/getumbrel/umbrel/archive/0.5.4.tar.gz | tar -xz --strip-components=1’ without the ‘ at the start and end, then do sudo ./scripts/start which works fine for me. If it doesn’t work try install docker compose with pip: pip install docker-compose
I tried both of these commands and i'm still getting failed to start containers.
Sorry for the issue folks. It's now been fixed by #1780.
Hey,
I am getting the issue on a fresh installed Ubuntu (min). Latest docker and docker compose is installed. Same issue happens also if docker and docker compose is purged and command
curl -L https://umbrel.sh | bash
Running the command
sudo ./scripts/start
in the folder has the same issue.