dashy
dashy copied to clipboard
[BUG] Check if the specified host path exists and is the expected type
Environment
Self-Hosted (Docker)
System
docker
Version
latest
Describe the problem
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/srv/dev-disk-by-uuid-rvwrvw3rw3wva-461a-b445-aef168ae309d/appdata/Dashy/Dashy.yml' --file "/srv/dev-disk-by-uuid-rvwrvw3rw3wva-461a-b445-aef168ae309d/appdata/Dashy/compose.override.yml" --env-file '/srv/dev-disk-by-uuid-84b5631f-84fa-461a-b445-aef168ae309d/appdata/global.env' --env-file '/srv/dev-disk-by-uuid-rvwrvw3rw3wva-461a-b445-aef168ae309d/appdata/Dashy/Dashy.env' up -d 2>&1': Network dashy_default Creating
Network dashy_default Created
Container Dashy Creating
Container Dashy Created
Container Dashy Starting
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 "/srv/dev-disk-by-uuid-84b5631f-84fa-461a-b445-aef168ae309d/appdata/Dashy/conf.yml" to rootfs at "/app/user-data/conf.yml": create mount destination for /app/user-data/conf.yml mount: cannot mkdir in /srv/dev-disk-by-uuid-rvwrvw3rw3wva-461a-b445-aef168ae309d/docker/overlay2/a1beac24db080ed0dr4vrw4rvwrvwr1496be920b5a56669e30264d/merged/app/user-data/conf.yml: 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
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/srv/dev-disk-by-uuid-rvwrvw3rw3wva-461a-b445-aef168ae309d/appdata/Dashy/Dashy.yml' --file "/srv/dev-disk-by-uuid-rvwrvw3rw3wva-84fa-461a-b445-aef168ae309d/appdata/Dashy/compose.override.yml" --env-file '/srv/dev-disk-by-uuid-rvwrvw3rw3wva-461a-b445-aef168ae309d/appdata/global.env' --env-file '/srv/dev-disk-by-uuid-rvwrvw3rw3wva-461a-b445-aef168ae309d/appdata/Dashy/Dashy.env' up -d 2>&1': Network dashy_default Creating
Network dashy_default Created
Container Dashy Creating
Container Dashy Created
Container Dashy Starting
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 "/srv/dev-disk-by-uuid-84b5631f-84fa-461a-b445-aef168ae309d/appdata/Dashy/conf.yml" to rootfs at "/app/user-data/conf.yml": create mount destination for /app/user-data/conf.yml mount: cannot mkdir in /srv/dev-disk-by-uuid-rvwrvw3rw3wva-461a-b445-aef168ae309d/docker/overlay2/a1beac24db080ed0d7a952a20a89d98009a096451496be920b5a56669e30264d/merged/app/user-data/conf.yml: 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 in /usr/share/openmediavault/engined/rpc/compose.inc:998
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(622): OMVRpcServiceCompose->{closure}()
#1 /usr/share/openmediavault/engined/rpc/compose.inc(965): OMV\Rpc\ServiceAbstract->execBgProc()
#2 [internal function]: OMVRpcServiceCompose->doCommand()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
#6 {main}
Additional info
No response
Please tick the boxes
- [X] You have explained the issue clearly, and included all relevant info
- [X] You are using a supported version of Dashy
- [X] You've checked that this issue hasn't already been raised
- [X] You've checked the docs and troubleshooting guide
- [X] You agree to the code of conduct