How do I get this to write files? #230
-
I wanna know how I can write files without permissions errors. I'm writing through the Docker container to a Samba share. Is the This is my docker-compose yaml file: services:
your_service:
container_name: makemkv
devices:
- /dev/sr0
- /dev/sg0
environment:
- DISPLAY_HEIGHT=800
- DISPLAY_WIDTH=1300
- KEEP_APP_RUNNING=1
image: jlesage/makemkv
ports:
- "5800:5800"
restart: unless-stopped
volumes:
- /docker/appdata/makemkv:/config:rw
- /mnt/disc-rips:/output:rw When I run MakeMKV to rip in What am I missing? [EDIT]: I figured out something. The MakeMKV app runs as the user Logspi@optical-drive-1:~ $ docker logs makemkv
[init ] container is starting...
[cont-env ] loading container environment variables...
[cont-env ] APP_NAME: loading...
[cont-env ] APP_VERSION: loading...
[cont-env ] DISPLAY: executing...
[cont-env ] DISPLAY: terminated successfully.
[cont-env ] DISPLAY: loading...
[cont-env ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env ] DOCKER_IMAGE_VERSION: loading...
[cont-env ] EGL_LOG_LEVEL: executing...
[cont-env ] EGL_LOG_LEVEL: terminated successfully.
[cont-env ] EGL_LOG_LEVEL: loading...
[cont-env ] GSK_RENDERER: executing...
[cont-env ] GSK_RENDERER: terminated successfully.
[cont-env ] GSK_RENDERER: loading...
[cont-env ] GTK2_RC_FILES: executing...
[cont-env ] GTK2_RC_FILES: terminated successfully.
[cont-env ] GTK2_RC_FILES: not setting variable.
[cont-env ] GTK_THEME: executing...
[cont-env ] GTK_THEME: terminated successfully.
[cont-env ] GTK_THEME: not setting variable.
[cont-env ] HOME: loading...
[cont-env ] LIBGL_DRIVERS_PATH: executing...
[cont-env ] LIBGL_DRIVERS_PATH: terminated successfully.
[cont-env ] LIBGL_DRIVERS_PATH: loading...
[cont-env ] PULSE_CONFIG_PATH: executing...
[cont-env ] PULSE_CONFIG_PATH: terminated successfully.
[cont-env ] PULSE_CONFIG_PATH: not setting variable.
[cont-env ] PULSE_COOKIE: executing...
[cont-env ] PULSE_COOKIE: terminated successfully.
[cont-env ] PULSE_COOKIE: not setting variable.
[cont-env ] PULSE_SERVER: executing...
[cont-env ] PULSE_SERVER: terminated successfully.
[cont-env ] PULSE_SERVER: not setting variable.
[cont-env ] QT_STYLE_OVERRIDE: executing...
[cont-env ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env ] QT_STYLE_OVERRIDE: not setting variable.
[cont-env ] SUP_GROUP_IDS_INTERNAL: executing...
[cont-env ] SUP_GROUP_IDS_INTERNAL: terminated successfully.
[cont-env ] SUP_GROUP_IDS_INTERNAL: loading...
[cont-env ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env ] XDG_CACHE_HOME: loading...
[cont-env ] XDG_CONFIG_HOME: loading...
[cont-env ] XDG_DATA_HOME: loading...
[cont-env ] XDG_RUNTIME_DIR: loading...
[cont-env ] XDG_STATE_HOME: loading...
[cont-env ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init ] executing container initialization scripts...
[cont-init ] 10-certs.sh: executing...
[cont-init ] 10-certs.sh: terminated successfully.
[cont-init ] 10-check-app-niceness.sh: executing...
[cont-init ] 10-check-app-niceness.sh: terminated successfully.
[cont-init ] 10-clean-logmonitor-states.sh: executing...
[cont-init ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init ] 10-clean-tmp-dir.sh: executing...
[cont-init ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init ] 10-fontconfig-cache-dir.sh: executing...
[cont-init ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init ] 10-init-users.sh: executing...
[cont-init ] 10-init-users.sh: terminated successfully.
[cont-init ] 10-nginx.sh: executing...
[cont-init ] 10-nginx.sh: terminated successfully.
[cont-init ] 10-openbox.sh: executing...
[cont-init ] 10-openbox.sh: terminated successfully.
[cont-init ] 10-pkgs-mirror.sh: executing...
[cont-init ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init ] 10-pulse.sh: executing...
[cont-init ] 10-pulse.sh: terminated successfully.
[cont-init ] 10-set-tmp-dir-perms.sh: executing...
[cont-init ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init ] 10-vnc-password.sh: executing...
[cont-init ] 10-vnc-password.sh: terminated successfully.
[cont-init ] 10-web-data.sh: executing...
[cont-init ] 10-web-data.sh: terminated successfully.
[cont-init ] 10-webauth.sh: executing...
[cont-init ] 10-webauth.sh: terminated successfully.
[cont-init ] 10-x11-unix.sh: executing...
[cont-init ] 10-x11-unix.sh: terminated successfully.
[cont-init ] 10-xdg-runtime-dir.sh: executing...
[cont-init ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init ] 15-cjk-font.sh: executing...
[cont-init ] 15-cjk-font.sh: terminated successfully.
[cont-init ] 15-install-pkgs.sh: executing...
[cont-init ] 15-install-pkgs.sh: terminated successfully.
[cont-init ] 54-check-optical-drive.sh: executing...
[cont-init ] 54-check-optical-drive.sh: looking for usable optical drives...
[cont-init ] 54-check-optical-drive.sh: found optical drive [/dev/sr0, /dev/sg0], group 24.
[cont-init ] 54-check-optical-drive.sh: terminated successfully.
[cont-init ] 55-makemkv.sh: executing...
[cont-init ] 55-makemkv.sh: checking for new beta key...
[cont-init ] 55-makemkv.sh: registration key already up-to-date.
[cont-init ] 55-makemkv.sh: getting supported drives...
[cont-init ] 55-makemkv.sh: terminated successfully.
[cont-init ] 85-take-config-ownership.sh: executing...
[cont-init ] 85-take-config-ownership.sh: terminated successfully.
[cont-init ] 89-info.sh: executing...
╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
│ │
│ Application: MakeMKV │
│ Application Version: 1.17.7 │
│ Docker Image Version: 24.07.1 │
│ Docker Image Platform: linux/arm64 │
│ │
╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init ] 89-info.sh: terminated successfully.
[cont-init ] all container initialization scripts executed.
[init ] giving control to process supervisor.
[supervisor ] loading services...
[supervisor ] loading service 'default'...
[supervisor ] loading service 'logrotate'...
[supervisor ] loading service 'app'...
[supervisor ] loading service 'gui'...
[supervisor ] loading service 'pulseaudio'...
[supervisor ] service 'pulseaudio' is disabled.
[supervisor ] loading service 'audiorecorder'...
[supervisor ] service 'audiorecorder' is disabled.
[supervisor ] loading service 'xcompmgr'...
[supervisor ] loading service 'openbox'...
[supervisor ] loading service 'xvnc'...
[supervisor ] loading service 'nginx'...
[supervisor ] loading service 'webauth'...
[supervisor ] service 'webauth' is disabled.
[supervisor ] loading service 'certsmonitor'...
[supervisor ] service 'certsmonitor' is disabled.
[supervisor ] loading service 'logmonitor'...
[supervisor ] service 'logmonitor' is disabled.
[supervisor ] loading service 'autodiscripper-9'...
[supervisor ] service 'autodiscripper-9' is disabled.
[supervisor ] loading service 'autodiscripper-1'...
[supervisor ] service 'autodiscripper-1' is disabled.
[supervisor ] loading service 'autodiscripper-14'...
[supervisor ] service 'autodiscripper-14' is disabled.
[supervisor ] loading service 'autodiscripper-13'...
[supervisor ] service 'autodiscripper-13' is disabled.
[supervisor ] loading service 'autodiscripper-2'...
[supervisor ] service 'autodiscripper-2' is disabled.
[supervisor ] loading service 'autodiscripper-10'...
[supervisor ] service 'autodiscripper-10' is disabled.
[supervisor ] loading service 'autodiscripper-4'...
[supervisor ] service 'autodiscripper-4' is disabled.
[supervisor ] loading service 'autodiscripper-3'...
[supervisor ] service 'autodiscripper-3' is disabled.
[supervisor ] loading service 'autodiscripper'...
[supervisor ] service 'autodiscripper' is disabled.
[supervisor ] loading service 'autodiscripper-5'...
[supervisor ] service 'autodiscripper-5' is disabled.
[supervisor ] loading service 'autodiscripper-8'...
[supervisor ] service 'autodiscripper-8' is disabled.
[supervisor ] loading service 'autodiscripper-0'...
[supervisor ] service 'autodiscripper-0' is disabled.
[supervisor ] loading service 'autodiscripper-15'...
[supervisor ] service 'autodiscripper-15' is disabled.
[supervisor ] loading service 'autodiscripper-12'...
[supervisor ] service 'autodiscripper-12' is disabled.
[supervisor ] loading service 'autodiscripper-6'...
[supervisor ] service 'autodiscripper-6' is disabled.
[supervisor ] loading service 'autodiscripper-11'...
[supervisor ] service 'autodiscripper-11' is disabled.
[supervisor ] loading service 'autodiscripper-7'...
[supervisor ] service 'autodiscripper-7' is disabled.
[supervisor ] all services loaded.
[supervisor ] starting services...
[supervisor ] starting service 'xvnc'...
[xvnc ] Xvnc TigerVNC 1.13.1 - built Jun 29 2024 04:31:44
[xvnc ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc ] Underlying X server release 12014000
[xvnc ] Sat Nov 9 13:11:00 2024
[xvnc ] vncext: VNC extension running!
[xvnc ] vncext: Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc ] vncext: Listening for VNC connections on all interface(s), port 5900
[xvnc ] vncext: created VNC server for screen 0
[supervisor ] starting service 'openbox'...
[supervisor ] starting service 'xcompmgr'...
[supervisor ] starting service 'nginx'...
[nginx ] Listening for HTTP connections on port 5800.
[supervisor ] starting service 'app'...
[supervisor ] all services started.
[xvnc ] Sat Nov 9 13:11:06 2024
[xvnc ] Connections: accepted: /tmp/vnc.sock
[xvnc ] SConnection: Client needs protocol version 3.8
[xvnc ] SConnection: Client requests security type None(1)
[xvnc ] VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc ] VNCSConnST: Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc ] ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc ] ComparingUpdateTracker: (1:nan ratio)
[app ] qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2241, resource id: 2097374, major code: 40 (TranslateCoords), minor code: 0
[app ] qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2405, resource id: 2097446, major code: 40 (TranslateCoords), minor code: 0
[app ] qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2515, resource id: 2097518, major code: 40 (TranslateCoords), minor code: 0
[xvnc ] Sat Nov 9 13:16:28 2024
[xvnc ] ComparingUpdateTracker: 1.01761 Gpixels in / 8.35175 Mpixels out
[xvnc ] ComparingUpdateTracker: (1:121.844 ratio)
[app ] qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3676, resource id: 2097798, major code: 40 (TranslateCoords), minor code: 0
[app ] qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 6739, resource id: 2098015, major code: 40 (TranslateCoords), minor code: 0
[xvnc ] Sat Nov 9 13:31:11 2024
[xvnc ] VNCSConnST: closing /tmp/vnc.sock: Clean disconnection
[xvnc ] EncodeManager: Framebuffer updates: 1290
[xvnc ] EncodeManager: Tight:
[xvnc ] EncodeManager: Solid: 899 rects, 17.9548 Mpixels
[xvnc ] EncodeManager: 14.0469 KiB (1:4993.75 ratio)
[xvnc ] EncodeManager: Bitmap RLE: 282 rects, 276.348 kpixels
[xvnc ] EncodeManager: 8.79688 KiB (1:123.088 ratio)
[xvnc ] EncodeManager: Indexed RLE: 1.78 krects, 2.70345 Mpixels
[xvnc ] EncodeManager: 271.463 KiB (1:38.9785 ratio)
[xvnc ] EncodeManager: Tight (JPEG):
[xvnc ] EncodeManager: Full Colour: 1.69 krects, 6.51342 Mpixels
[xvnc ] EncodeManager: 4.78442 MiB (1:5.19731 ratio)
[xvnc ] EncodeManager: Total: 4.651 krects, 27.4481 Mpixels
[xvnc ] EncodeManager: 5.07183 MiB (1:20.6551 ratio)
[xvnc ] Connections: closed: /tmp/vnc.sock
[xvnc ] ComparingUpdateTracker: 1.1102 Gpixels in / 10.3154 Mpixels out
[xvnc ] ComparingUpdateTracker: (1:107.625 ratio)
[xvnc ] Connections: accepted: /tmp/vnc.sock
[xvnc ] SConnection: Client needs protocol version 3.8
[xvnc ] SConnection: Client requests security type None(1)
[xvnc ] VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc ] VNCSConnST: Client pixel format depth 24 (32bpp) little-endian bgr888
[app ] qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7655, resource id: 2098431, major code: 40 (TranslateCoords), minor code: 0
[xvnc ] Sat Nov 9 13:42:25 2024
[xvnc ] ComparingUpdateTracker: 1.01296 Gpixels in / 11.0984 Mpixels out
[xvnc ] ComparingUpdateTracker: (1:91.2703 ratio)
[xvnc ] Sat Nov 9 13:42:27 2024
[xvnc ] ComparingUpdateTracker: 30.72 Mpixels in / 7.07812 Mpixels out
[xvnc ] ComparingUpdateTracker: (1:4.34014 ratio) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This other post is similar to mine, but it was never responded to, and it's from 2022: #150 |
Beta Was this translation helpful? Give feedback.
-
I figured it out. I had to set the services:
makemkv:
container_name: makemkv
image: jlesage/makemkv
environment:
- DISPLAY_HEIGHT=800
- DISPLAY_WIDTH=1300
- GROUP_ID=0
- KEEP_APP_RUNNING=1
- MAKEMKV_KEY=[REDACTED]
- USER_ID=0
devices:
- /dev/sr0
- /dev/sg0
ports:
- "5800:5800"
restart: unless-stopped
volumes:
- /docker/appdata/makemkv:/config:rw
- /mnt/disc-rips:/output:rw |
Beta Was this translation helpful? Give feedback.
I figured it out. I had to set the
GROUP_ID
andUSER_ID
to root. Once I did that, it worked fine!