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] Check if the specified host path exists and is the expected type #1743

Open
5 tasks done
Fuckingnameless opened this issue Nov 11, 2024 · 2 comments
Open
5 tasks done
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@Fuckingnameless
Copy link

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

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

Fuckingnameless commented Nov 11, 2024

i can't load or save a config file

also is there any reason the container creates the user-data folder as root even though an unprivileged user:group ID is set in the compose file??

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Nov 11, 2024
@Fuckingnameless
Copy link
Author

Fuckingnameless commented Nov 11, 2024

also get these randomly when building

Dashy  | -  Building for production...
Dashy  |  WARN  A new version of sass-loader is available. Please upgrade for best experience.
Dashy  | 
Dashy  | Using Dashy V-3.1.1. Update Check Complete
Dashy  | ✅ Dashy is Up-to-Date
Dashy  | 
Dashy  |  WARNING  Compiled with 1 warning4:59:56 AM
Dashy  | 
Dashy  |  warning  in ./src/components/Widgets/GlNetworkInterfaces.vue
Dashy  | 
Dashy  | Module Error (from ./node_modules/eslint-loader/index.js):
Dashy  | 
Dashy  | /app/src/components/Widgets/GlNetworkInterfaces.vue
Dashy  |   71:50  error  Expected exception block, space or tab after '//' in comment  spaced-comment
Dashy  | 
Dashy  | ✖ 1 problem (1 error, 0 warnings)
Dashy  |   1 error and 0 warnings potentially fixable with the `--fix` option.
Dashy  | 
Dashy  | 
Dashy  |  @ ./src/components/Widgets lazy ^\.\/.*\.vue$ namespace object
Dashy  |  @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Widgets/WidgetBase.vue?vue&type=script&lang=js
Dashy  |  @ ./src/components/Widgets/WidgetBase.vue?vue&type=script&lang=js
Dashy  |  @ ./src/components/Widgets/WidgetBase.vue
Dashy  |  @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/LinkItems/Section.vue?vue&type=script&lang=js
Dashy  |  @ ./src/components/LinkItems/Section.vue?vue&type=script&lang=js
Dashy  |  @ ./src/components/LinkItems/Section.vue
Dashy  |  @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Home.vue?vue&type=script&lang=js
Dashy  |  @ ./src/views/Home.vue?vue&type=script&lang=js
Dashy  |  @ ./src/views/Home.vue
Dashy  |  @ ./src/router.js
Dashy  |  @ ./src/main.js
Dashy  |  @ multi ./src/main.js

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

No branches or pull requests

3 participants