Skip to content

change-vol-ownership-1 exited with code 0 #276

@jschnasse

Description

@jschnasse

Describe the bug

The docker stack does not start with docker compose up

[~/development/EVOKS] git:main
$ docker compose up
[+] Running 4/0
 ✔ Container evoks-change-vol-ownership-1       Created                                                            0.0s
 ✔ Container evoks_defaultinstance_fuseki-live  Running                                                            0.0s
 ✔ Container evoks_defaultinstance_fuseki-dev   Running                                                            0.0s
 ✔ Container evoks_defaultinstance_postgres     Running                                                            0.0s
Attaching to change-vol-ownership-1, evoks_defaultinstance_fuseki-dev, evoks_defaultinstance_fuseki-live, evoks_defaultinstance_postgres, evoks_defaultinstance_proxy, evoks_defaultinstance_skosmos-dev, evoks_defaultinstance_skosmos-live, evoks_defaultinstance_web
change-vol-ownership-1 exited with code 0
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-20.04/d2bf9095c023389f18ba76182699002ff051d669c6257049ad039dcc0ddb2232" to rootfs at "/var/www/html/config.ttl": mount /run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-20.04/d2bf9095c023389f18ba76182699002ff051d669c6257049ad039dcc0ddb2232:/var/www/html/config.ttl (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

To Reproduce

Install docker desktop with wsl2 support https://docs.docker.com/desktop/features/wsl/

Follow the instructions under https://github.com/kit-data-manager/EVOKS?tab=readme-ov-file#installation

Use .env with default values

[~/development/EVOKS] git:main
$ cat .env
INSTANCE_NAME=defaultinstance
PROXY_PORT=9000
PUBLICURL=localhost
EVOKS_MAIL=example@example.de
FUSEKI_PASSWORD=insecure_changeme
POSTGRES_USER=postgres
POSTGRES_PASSWORD=insecure_changeme
# example EVOKS_URL for reverse-proxy: /evoks
EVOKS_URL=/
# all following only needed for development and or for running without proxy:
POSTGRES_PORT=8005
FUSEKI_DEV_PORT=8003
FUSEKI_LIVE_PORT=8004
EVOKS_PORT=8000
SKOSMOS_DEV_PORT=8001
SKOSMOS_LIVE_PORT=8002

Expected behavior

Service should be up and running under http://localhost:9000

Desktop (please complete the following information):

  • OS: Win11

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions