Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks done
Fuckingnameless opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels
👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending 🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@Fuckingnameless
Copy link

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

@Fuckingnameless Fuckingnameless added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Nov 18, 2024
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Dashy V3 Nov 18, 2024
@sduperret
Copy link

hi, i had the same issue while installing it with docker compose. After a docker system prune (proceed with caution) it worked well 🚀

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending 🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
Status: Awaiting Triage
Development

No branches or pull requests

4 participants