Giter Site home page Giter Site logo

Comments (8)

jarsever avatar jarsever commented on June 4, 2024 1

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.

from umbrel.

mayankchhabra avatar mayankchhabra commented on June 4, 2024 1

Sorry for the issue folks. It's now been fixed by #1780.

from umbrel.

jarsever avatar jarsever commented on June 4, 2024

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?

from umbrel.

semaf avatar semaf commented on June 4, 2024

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

from umbrel.

jarsever avatar jarsever commented on June 4, 2024

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

from umbrel.

jarsever avatar jarsever commented on June 4, 2024

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.

from umbrel.

SuperAviation001 avatar SuperAviation001 commented on June 4, 2024

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

from umbrel.

exitus1 avatar exitus1 commented on June 4, 2024

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.

from umbrel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.