[GH-ISSUE #10050] Jellyfin.sh Installation Fails With Exit Code: 1 on Line 28 #2176

Closed
opened 2026-02-26 12:51:34 +03:00 by kerem · 7 comments
Owner

Originally created by @ZaneK117 on GitHub (Dec 16, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10050

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 What is the name of the script you are using?

Jellyfin.sh

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 24.04

📈 Which Proxmox version are you on?

pve-manager/8.4.14/b502d23c55afcba1 (running kernel: 6.8.12-17-pve)

📝 Provide a clear and concise description of the issue.

I am trying to create a new LXC for Jellyfin media server with the latest published install script "bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)".

I am getting "in line 28: exit code 1 (General error / Operation not permitted): while executing command chgrp video /dev/dri" when trying to install with Advanced settings and selecting a Privileged container.

The issue is selecting the Privileged container option. I leave all other options default.

🔄 Steps to reproduce the issue.

Copy the Jellyfin install script "bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)", paste into the PVE shell logged in as root. Select Advanced Install. Select Privileged container. Leave all other installation options default. Let the script run.

Paste the full error output (if available).

I ran 'bash -cx "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)"'.

Which fails with this error:
chgrp: cannot access '/dev/dri': No such file or directory
✖️ in line 28: exit code 28 (Unknown error): while executing command chgrp video /dev/dri

  • local lxc_exit=28

  • set -Eeuo pipefail

  • trap error_handler ERR

  • local install_exit_code=0

  • -n 3dde6207

  • local error_flag=/root/.install-3dde6207.failed

  • pct exec 116 -- test -f /root/.install-3dde6207.failed

  • 0 -eq 0

  • 28 -ne 0

  • install_exit_code=28

  • 28 -ne 0

  • msg_error 'Installation failed in container 116 (exit code: 28)'

  • stop_spinner

  • local pid=

  • -z ''

  • -f /tmp/.spinner.pid

  • -n ''

  • unset SPINNER_PID SPINNER_MSG

  • stty sane

  • local 'msg=Installation failed in container 116 (exit code: 28)'

  • echo -e '\r\033[K ✖️ \033[01;31mInstallation failed in container 116 (exit code: 28)\033[m'
    ✖️ Installation failed in container 116 (exit code: 28)

  • local build_log_copied=false

  • local install_log_copied=false

  • -n 116

  • -n 3dde6207

  • -f /tmp/create-lxc-3dde6207.log

  • pct pull 116 /root/.install-3dde6207.log /tmp/install-lxc-116-3dde6207.log

  • install_log_copied=true

  • echo ''

  • echo -e '\033[1;92m✔\033[m Installation log: \033[36m/tmp/install-lxc-116-3dde6207.log\033[m'
    ✔ Installation log: /tmp/install-lxc-116-3dde6207.log

  • echo ''

  • echo -en '\033[33mRemove broken container 116? (Y/n) [auto-remove in 60s]: \033[m'
    Remove broken container 116? (Y/n) [auto-remove in 60s]: + read -t 60 -r response

  • echo -e '\n\033[33mNo response - auto-removing container\033[m'

No response - auto-removing container

🖼️ Additional context (optional).

I successfully used the jellyfin.sh bash script to create a privileged LXC in October. I want to say Commit 8ece0e3, because I remember the disk size being 16GiB by default.

Originally created by @ZaneK117 on GitHub (Dec 16, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10050 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? Jellyfin.sh ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 24.04 ### 📈 Which Proxmox version are you on? pve-manager/8.4.14/b502d23c55afcba1 (running kernel: 6.8.12-17-pve) ### 📝 Provide a clear and concise description of the issue. I am trying to create a new LXC for Jellyfin media server with the latest published install script "bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)". I am getting "in line 28: exit code 1 (General error / Operation not permitted): while executing command chgrp video /dev/dri" when trying to install with Advanced settings and selecting a Privileged container. The issue is selecting the Privileged container option. I leave all other options default. ### 🔄 Steps to reproduce the issue. Copy the Jellyfin install script "bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)", paste into the PVE shell logged in as root. Select Advanced Install. Select Privileged container. Leave all other installation options default. Let the script run. ### ❌ Paste the full error output (if available). I ran 'bash -cx "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)"'. Which fails with this error: chgrp: cannot access '/dev/dri': No such file or directory ✖️ in line 28: exit code 28 (Unknown error): while executing command chgrp video /dev/dri + local lxc_exit=28 + set -Eeuo pipefail + trap error_handler ERR + local install_exit_code=0 + [[ -n 3dde6207 ]] + local error_flag=/root/.install-3dde6207.failed + pct exec 116 -- test -f /root/.install-3dde6207.failed + [[ 0 -eq 0 ]] + [[ 28 -ne 0 ]] + install_exit_code=28 + [[ 28 -ne 0 ]] + msg_error 'Installation failed in container 116 (exit code: 28)' + stop_spinner + local pid= + [[ -z '' ]] + [[ -f /tmp/.spinner.pid ]] + [[ -n '' ]] + unset SPINNER_PID SPINNER_MSG + stty sane + local 'msg=Installation failed in container 116 (exit code: 28)' + echo -e '\r\033[K ✖️ \033[01;31mInstallation failed in container 116 (exit code: 28)\033[m' ✖️ Installation failed in container 116 (exit code: 28) + local build_log_copied=false + local install_log_copied=false + [[ -n 116 ]] + [[ -n 3dde6207 ]] + [[ -f /tmp/create-lxc-3dde6207.log ]] + pct pull 116 /root/.install-3dde6207.log /tmp/install-lxc-116-3dde6207.log + install_log_copied=true + echo '' + [[ false == true ]] + [[ true == true ]] + echo -e '\033[1;92m✔\033[m Installation log: \033[36m/tmp/install-lxc-116-3dde6207.log\033[m' ✔ Installation log: /tmp/install-lxc-116-3dde6207.log + [[ false == \t\r\u\e ]] + [[ false == \t\r\u\e ]] + echo '' + echo -en '\033[33mRemove broken container 116? (Y/n) [auto-remove in 60s]: \033[m' Remove broken container 116? (Y/n) [auto-remove in 60s]: + read -t 60 -r response + echo -e '\n\033[33mNo response - auto-removing container\033[m' No response - auto-removing container + echo -e ' \033[33mRemoving container 116\033[m' Removing container 116 + pct stop 116 + pct destroy 116 + echo -e '\r\033[K ✔️ \033[1;92mContainer 116 removed\033[m' ✔️ Container 116 removed + exit 28 + on_exit + local exit_code=28 + [[ -n /tmp/template.ubuntu-24.04-standard_24.04-2_amd64.tar.zst.lock ]] + [[ -e /tmp/template.ubuntu-24.04-standard_24.04-2_amd64.tar.zst.lock ]] + rm -f /tmp/template.ubuntu-24.04-standard_24.04-2_amd64.tar.zst.lock + exit 28 ### 🖼️ Additional context (optional). I successfully used the jellyfin.sh bash script to create a privileged LXC in October. I want to say Commit 8ece0e3, because I remember the disk size being 16GiB by default.
kerem 2026-02-26 12:51:34 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Dec 16, 2025):

Deliver correct Output and not an cx call. Looks Like your GPU isnt exist for the Container, but without anything (Screenshot) i cannot say more

1.) Screenshot
2.) whats your GPU?
3.) why privileged?

<!-- gh-comment-id:3662606379 --> @MickLesk commented on GitHub (Dec 16, 2025): Deliver correct Output and not an cx call. Looks Like your GPU isnt exist for the Container, but without anything (Screenshot) i cannot say more 1.) Screenshot 2.) whats your GPU? 3.) why privileged?
Author
Owner

@ZaneK117 commented on GitHub (Dec 16, 2025):

Deliver correct Output and not an cx call. Looks Like your GPU isnt exist for the Container, but without anything (Screenshot) i cannot say more

1.) Screenshot 2.) whats your GPU? 3.) why privileged?

Image
  1. Screenshot attached.
  2. GPU is an Nvidia GeForce GTX 1050ti.
  3. Privileged because I am mounting an NFS share in the container so Jellyfin can scan files on my OMV server.

I will gladly provide any logs that would help troubleshoot. The installation log file at "/tmp/install-lxc-116-3dde6207.log" is blank. Nothing was written that file.

<!-- gh-comment-id:3662685282 --> @ZaneK117 commented on GitHub (Dec 16, 2025): > Deliver correct Output and not an cx call. Looks Like your GPU isnt exist for the Container, but without anything (Screenshot) i cannot say more > > 1.) Screenshot 2.) whats your GPU? 3.) why privileged? <img width="938" height="521" alt="Image" src="https://github.com/user-attachments/assets/65459326-8066-4983-bfd1-0ef56e236120" /> 1. Screenshot attached. 2. GPU is an Nvidia GeForce GTX 1050ti. 3. Privileged because I am mounting an NFS share in the container so Jellyfin can scan files on my OMV server. I will gladly provide any logs that would help troubleshoot. The installation log file at "/tmp/install-lxc-116-3dde6207.log" is blank. Nothing was written that file.
Author
Owner

@MickLesk commented on GitHub (Dec 16, 2025):

What Happens before? Run Script properly. Without x

<!-- gh-comment-id:3662722831 --> @MickLesk commented on GitHub (Dec 16, 2025): What Happens before? Run Script properly. Without x
Author
Owner

@ZaneK117 commented on GitHub (Dec 16, 2025):

What Happens before? Run Script properly. Without x

Screenshot for running script without bash -x flag.

Image
<!-- gh-comment-id:3662746883 --> @ZaneK117 commented on GitHub (Dec 16, 2025): > What Happens before? Run Script properly. Without x Screenshot for running script without bash -x flag. <img width="938" height="228" alt="Image" src="https://github.com/user-attachments/assets/f78e2f12-b891-4ade-aa27-293630e08883" />
Author
Owner

@ZaneK117 commented on GitHub (Dec 16, 2025):

Output of "ls -l /dev/dri" on the PVE server.

Image"

<!-- gh-comment-id:3662752364 --> @ZaneK117 commented on GitHub (Dec 16, 2025): Output of "ls -l /dev/dri" on the PVE server. <img width="938" height="428" alt="Image" src="https://github.com/user-attachments/assets/a3be0f78-eea2-4cc5-b40b-e9a705726667" />"
Author
Owner

@MickLesk commented on GitHub (Dec 16, 2025):

Damn.. i need the Output before and Not cropped everything... Full Screenshot starting with appname

<!-- gh-comment-id:3662784106 --> @MickLesk commented on GitHub (Dec 16, 2025): Damn.. i need the Output before and Not cropped everything... Full Screenshot starting with appname
Author
Owner

@ZaneK117 commented on GitHub (Dec 16, 2025):

This is the entire output of "bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)""

I captured this with the "script" command and piped the output into this .txt file. The script uses colors and ANSI characters, which bash does not like. So I tried to reformat it as best I could.

cleanjellyfinlog.txt

<!-- gh-comment-id:3662939293 --> @ZaneK117 commented on GitHub (Dec 16, 2025): This is the entire output of "bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)"" I captured this with the "script" command and piped the output into this .txt file. The script uses colors and ANSI characters, which bash does not like. So I tried to reformat it as best I could. [cleanjellyfinlog.txt](https://github.com/user-attachments/files/24201757/cleanjellyfinlog.txt)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2176
No description provided.