nomad-coe / nomad

NOMAD lets you manage and share your materials science data in a way that makes it truly useful to you, your group, and the community.
https://nomad-lab.eu
Apache License 2.0
71 stars 16 forks source link

Startup failing #21

Closed aschleife closed 3 years ago

aschleife commented 3 years ago

Have you guys seens this error before? Any thoughts on how I can fix it?

bash-5.1$ docker-compose up gui panic: runtime error: index out of range [1] with length 1

goroutine 65 [running]: github.com/docker/compose-cli/pkg/compose.(convergence).ensureService(0xc0000b8dc8, 0x2120ba8, 0xc00044f200, 0xc000372dc0, 0xc000194998, 0x3, 0x0, 0x0, 0x0, 0x0, ...) github.com/docker/compose-cli/pkg/compose/convergence.go:222 +0x11f1 github.com/docker/compose-cli/pkg/compose.(convergence).apply.func1(0x2120ba8, 0xc00044f200, 0xc000194998, 0x3, 0x0, 0x0) github.com/docker/compose-cli/pkg/compose/convergence.go:99 +0x21f github.com/docker/compose-cli/pkg/compose.run.func1(0x0, 0x0) github.com/docker/compose-cli/pkg/compose/dependencies.go:102 +0xa3 golang.org/x/sync/errgroup.(Group).Go.func1(0xc00039cae0, 0xc0003863c0) golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57 +0x59 created by golang.org/x/sync/errgroup.(Group).Go golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:54 +0x66

markus1978 commented 3 years ago

No we have not.

The only instance where I found this particular stacktrace on the internet is this: https://github.com/docker/compose-cli/issues/1959

This suggests that you are using docker-compose v2. What is your docker-compose --version?

aschleife commented 3 years ago

Hmm, interesting. The version is: "Docker Compose version v2.0.0-rc.1"

However, if I don't use the "docker-compose up app" command, but instead click the "play" button in the Docker GUI it seems to work. Weird, but I have it back up and running! :)