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] Auto-Name Template causes failure to start #369

Open
Darkyyx opened this issue Aug 26, 2024 · 1 comment
Open

[Bug] Auto-Name Template causes failure to start #369

Darkyyx opened this issue Aug 26, 2024 · 1 comment
Labels

Comments

@Darkyyx
Copy link

Darkyyx commented Aug 26, 2024

Current Behavior

As long as {codec} and {quality} are used in combination, docker will not start.
The other parameters don't have this problem (or they just haven't been found yet).

Expected Behavior

No response

Steps To Reproduce

Using {codec} and {quality} in combination

Environment

  • OS: Unraid
  • OS version: 6.12.13
  • Docker version: 24.06.1

Container creation

docker run
-d
--name='HandBrake'
--net='br0'
--ip='172.16.15.35'
--pids-limit 2048
-e TZ="Asia/Shanghai"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Lake"
-e HOST_CONTAINERNAME="HandBrake"
-e 'AUTOMATED_CONVERSION_PRESET'='General/Very Fast 1080p30'
-e 'AUTOMATED_CONVERSION_FORMAT'='mp4'
-e 'AUTOMATED_CONVERSION_KEEP_SOURCE'='1'
-e 'AUTOMATED_CONVERSION_NON_VIDEO_FILE_ACTION'='ignore'
-e 'AUTOMATED_CONVERSION_OUTPUT_DIR'='/output'
-e 'AUTOMATED_CONVERSION_OUTPUT_SUBDIR'=''
-e 'USER_ID'='99'
-e 'GROUP_ID'='100'
-e 'UMASK'='0000'
-e 'APP_NICENESS'='0'
-e 'DISPLAY_WIDTH'='1920'
-e 'DISPLAY_HEIGHT'='1080'
-e 'DARK_MODE'='0'
-e 'WEB_AUDIO'='0'
-e 'WEB_AUTHENTICATION'='0'
-e 'WEB_AUTHENTICATION_USERNAME'=''
-e 'WEB_AUTHENTICATION_PASSWORD'=''
-e 'SECURE_CONNECTION'='0'
-e 'SECURE_CONNECTION_VNC_METHOD'='SSL'
-e 'SECURE_CONNECTION_CERTS_CHECK_INTERVAL'='60'
-e 'WEB_LISTENING_PORT'='5800'
-e 'VNC_LISTENING_PORT'='5900'
-e 'HANDBRAKE_GUI'='1'
-e 'AUTOMATED_CONVERSION'='1'
-e 'AUTOMATED_CONVERSION_VIDEO_FILE_EXTENSIONS'=''
-e 'AUTOMATED_CONVERSION_NON_VIDEO_FILE_EXTENSIONS'='jpg jpeg bmp png gif txt nfo'
-e 'AUTOMATED_CONVERSION_OVERWRITE_OUTPUT'='0'
-e 'AUTOMATED_CONVERSION_SOURCE_STABLE_TIME'='5'
-e 'AUTOMATED_CONVERSION_SOURCE_MIN_DURATION'='10'
-e 'AUTOMATED_CONVERSION_SOURCE_MAIN_TITLE_DETECTION'='0'
-e 'AUTOMATED_CONVERSION_CHECK_INTERVAL'='5'
-e 'AUTOMATED_CONVERSION_MAX_WATCH_FOLDERS'='5'
-e 'AUTOMATED_CONVERSION_NO_GUI_PROGRESS'='0'
-e 'AUTOMATED_CONVERSION_HANDBRAKE_CUSTOM_ARGS'=''
-e 'AUTOMATED_CONVERSION_INSTALL_PKGS'=''
-e 'AUTOMATED_CONVERSION_USE_TRASH'='0'
-e 'TCP_PORT_5800'='7803'
-e 'TCP_PORT_5900'='7903'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:5800]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/jlesage/docker-templates/master/jlesage/images/handbrake-icon.png'
-v '/mnt/user/hub/handbrake/':'/storage':'ro'
-v '/mnt/user/hub/handbrake/':'/output':'rw'
-v '/mnt/user/appdata/HandBrake':'/config':'rw'
--device='/dev/dri' 'jlesage/handbrake'

Container log

[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    ] INSTALL_PACKAGES_INTERNAL: executing...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
[cont-env    ] INSTALL_PACKAGES_INTERNAL: not setting variable.
[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: no usable optical drive found.
[cont-init   ] 54-check-optical-drive.sh: terminated successfully.
[cont-init   ] 54-check-qsv.sh: executing...
[cont-init   ] 54-check-qsv.sh: Processor: 12th Gen Intel(R) Core(TM) i5-12500
[cont-init   ] 54-check-qsv.sh: Microarchitecture: INTEL_ADL
[cont-init   ] 54-check-qsv.sh: Kernel: 6.1.106-Unraid
[cont-init   ] 54-check-qsv.sh: terminated successfully.
[cont-init   ] 54-check-trash-dir.sh: executing...
[cont-init   ] 54-check-trash-dir.sh: terminated successfully.
[cont-init   ] 55-handbrake.sh: executing...
[cont-init   ] 55-handbrake.sh: core dump file location: core
[cont-init   ] 55-handbrake.sh: core dump file size: 0 (blocks)
[cont-init   ] 55-handbrake.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:           HandBrake                                     │
    │ Application Version:   1.8.1                                         │
    │ Docker Image Version:  24.06.1                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[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 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'audiorecorder'...
[supervisor  ] service 'audiorecorder' is disabled.
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'webauth'...
[supervisor  ] service 'webauth' is disabled.
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'pulseaudio'...
[supervisor  ] service 'pulseaudio' is disabled.
[supervisor  ] loading service 'xcompmgr'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'autovideoconverter'...
[supervisor  ] all services loaded.
[supervisor        ] starting services...
[supervisor        ] starting service 'xvnc'...
[xvnc              ] Xvnc TigerVNC 1.13.1 - built Jun 29 2024 04:33:24
[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              ] Mon Aug 26 19:58:40 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 'nginx'...
[nginx             ] Listening for HTTP connections on port 5800.
[supervisor        ] starting service 'openbox'...
[supervisor        ] starting service 'xcompmgr'...
[supervisor        ] starting service 'app'...
[xvnc              ] Mon Aug 26 19:58:42 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)
[supervisor        ] starting service 'autovideoconverter'...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Watch folder '/watch' processing terminated.
[supervisor        ] all services started.
[supervisor        ] service 'app' exited (got signal SIGSEGV).
[supervisor        ] service 'app' exited, shutting down...
[supervisor        ] stopping service 'autovideoconverter'...
[supervisor        ] service 'autovideoconverter' exited (got signal SIGTERM).
[supervisor        ] stopping service 'xcompmgr'...
[supervisor        ] service 'xcompmgr' exited (got signal SIGTERM).
[supervisor        ] stopping service 'openbox'...
[supervisor        ] service 'openbox' exited (with status 0).
[supervisor        ] stopping service 'nginx'...
[xvnc              ] Mon Aug 26 19:58:43 2024
[xvnc              ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc              ]  EncodeManager: Framebuffer updates: 8
[xvnc              ]  EncodeManager:   Tight:
[xvnc              ]  EncodeManager:     Solid: 55 rects, 14.8075 Mpixels
[xvnc              ]  EncodeManager:            880 B (1:67307.6 ratio)
[xvnc              ]  EncodeManager:     Bitmap RLE: 4 rects, 720 pixels
[xvnc              ]  EncodeManager:                 162 B (1:18.0741 ratio)
[xvnc              ]  EncodeManager:     Indexed RLE: 28 rects, 101.936 kpixels
[xvnc              ]  EncodeManager:                  5.34863 KiB (1:74.5079 ratio)
[xvnc              ]  EncodeManager:   Tight (JPEG):
[xvnc              ]  EncodeManager:     Full Colour: 21 rects, 176.076 kpixels
[xvnc              ]  EncodeManager:                  45.1299 KiB (1:15.2458 ratio)
[xvnc              ]  EncodeManager:   Total: 108 rects, 15.0862 Mpixels
[xvnc              ]  EncodeManager:          51.4961 KiB (1:1144.4 ratio)
[xvnc              ]  Connections: closed: /tmp/vnc.sock
[xvnc              ]  ComparingUpdateTracker: 22.7763 Mpixels in / 9.75872 Mpixels out
[xvnc              ]  ComparingUpdateTracker: (1:2.33395 ratio)
[supervisor        ] service 'nginx' exited (with status 0).
[supervisor        ] stopping service 'xvnc'...
[xvnc              ] Mon Aug 26 19:58:44 2024
[xvnc              ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc              ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor        ] service 'xvnc' exited (with status 0).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.

Container inspect

No response

Anything else?

No response

@Darkyyx Darkyyx added the bug label Aug 26, 2024
Repository owner deleted a comment Aug 26, 2024
Repository owner deleted a comment Aug 26, 2024
Repository owner deleted a comment Aug 26, 2024
Repository owner deleted a comment Aug 26, 2024
Repository owner deleted a comment Aug 26, 2024
Repository owner deleted a comment Aug 26, 2024
Repository owner deleted a comment Aug 26, 2024
@jlesage
Copy link
Owner

jlesage commented Sep 17, 2024

I don't seem to be able to reproduce. Can you try with the latest image ? Also, can you share the exact filename pattern you are using ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
@jlesage @Darkyyx and others