Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
https://dashy.to
MIT License
18.07k stars 1.36k forks source link

[BUG] failed to create task for container: failed to create shim task: OCI runtime create failed: #1748

Open Fuckingnameless opened 1 day ago

Fuckingnameless commented 1 day ago

Environment

Self-Hosted (Docker)

System

No response

Version

latest

Describe the problem

i can't install it always fails when the conf.yml is set like the example compose

Additional info

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 '/fast/appdata/dashy/dashy.yml' --file "/fast/appdata/dashy/compose.override.yml" --env-file '/fast/appdata/global.env' --env-file '/fast/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 "/fast/appdata/conf.yml" to rootfs at "/app/user-data/conf.yml": create mount destination for /app/user-data/conf.yml mount: cannot mkdir in /fast/docker/overlay2/9fe7be88bbd364f2940fba16316710d5f2a8c29bd37cee3478d532ef97266bd6/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 '/fast/appdata/dashy/dashy.yml' --file "/fast/appdata/dashy/compose.override.yml" --env-file '/fast/appdata/global.env' --env-file '/fast/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 "/fast/appdata/conf.yml" to rootfs at "/app/user-data/conf.yml": create mount destination for /app/user-data/conf.yml mount: cannot mkdir in /fast/docker/overlay2/9fe7be88bbd364f2940fba16316710d5f2a8c29bd37cee3478d532ef97266bd6/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}

Please tick the boxes