alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.35k stars 193 forks source link

πŸ› [Addon Jellyfin NAS] FFMPEG_PATH: unbound variable #1418

Closed tr4nt0r closed 3 weeks ago

tr4nt0r commented 3 weeks ago

Description

I'm getting the error FFMPEG_PATH: unbound variable since the latest update to version 10.9.3 and it's filling up the log. Jellyfin server does not run.

This is my config

PGID: 0
PUID: 0
data_location: /config/addons_config/jellyfin
DOCKER_MODS: ""

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Addon Logs

etc/cont-init.d/00-smb_mounts.sh: executing
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory

Load environment variables from /config/addons_config/jellyfin/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /homeassistant/addons_config/jellyfin/config.yaml

---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables
... no env variables found, exiting
/etc/cont-init.d/01-custom_script.sh: executing
Execute /homeassistant/addons_config/jellyfin/jellyfin.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
... script found, executing
[07:17:41] INFO: generating SSL Certificate bundle
/etc/cont-init.d/20-folders.sh: executing
Creating /jellyfin
Creating link for /jellyfin/cache
Creating link for /jellyfin/data
Creating link for /jellyfin/log
Creating link for /jellyfin/metadata
Creating link for /jellyfin/plugins
Creating link for /jellyfin/root
/etc/cont-init.d/32-ingress.sh: executing
/etc/cont-init.d/90-data_location.sh: executing
[07:17:41] INFO: Setting data location to /config/addons_config/jellyfin
Creating /config/addons_config/jellyfin
cp: '/config/addons_config/jellyfin/data/transcodes' and '/data/transcodes' are the same file
[07:17:42] INFO: Setting ownership to 0:0
/etc/cont-init.d/99-database_clean.sh: executing

Starting the upstream container

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      β–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
      β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—
      β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘
      β–ˆβ–ˆβ•‘     β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘
      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•
      β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β• β•šβ•β•β•β•β•β•

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
Jellyfin: https://opencollective.com/jellyfin

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    0
User GID:    0
───────────────────────────────────────

**** permissions for /dev/vc-mem are good ****
**** permissions for /dev/video19 are good ****
[custom-init] No custom files found, skipping...
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable
./run: line 6: FFMPEG_PATH: unbound variable

Architecture

aarch64

OS

HAos

Tntdruid commented 3 weeks ago

Same error for me on the latest version.

chooseYourUserName commented 3 weeks ago

i'm having the issue too. just update the jellyfin addon. i'm getting in ./run: line 6: FFMPEG_PATH: unbound variable the log and the server cannot be accessed

the workaround that works for me is changing the docker setting to use linuxserver/mods:jellyfin-rffmpeg at least in this mode i can still use the server.

When i switch back to linuxserver/mods:jellyfin-opencl-intel the error starts occurring

alexbelgium commented 3 weeks ago

I'll push a fix thanks for reporting

Tntdruid commented 3 weeks ago

@alexbelgium 10.9.3-2 fix the error, thanks for the very fast fix.