[GH-ISSUE #6020] Frigate - SPINNER_PID: unbound variable #1292

Closed
opened 2026-02-26 12:48:23 +03:00 by kerem · 5 comments
Owner

Originally created by @le-renard-12 on GitHub (Jul 15, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6020

Have you read and understood the above guidelines?

yes

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

Frigate

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

bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/frigate.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 11

📝 Provide a clear and concise description of the issue.

I tried to create the LXC with the script, and after installing dependencies it fails indicating the error:

Installing Frigate v0.14.1 (Perseverance)0: line 48: SPINNER_PID: unbound variable

[ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"var_install".sh)" ?

I also tried installing it with the default conf, the issue is different:

I tried both privileged/ unprivileged, with and without VAAPI.

I have installed this LXC in the past month with success.
the configuration on my PVE node hasn't changed.

🔄 Steps to reproduce the issue.

launch the script with default or advanced with unprivileged, the rest is default.

Paste the full error output (if available).

this is the logs of the default config.

⚙️ Using Default Settings on node swift-fox (🔍 Verbose)
🆔 Container ID: 120
🖥️ Operating System: debian (11)
📦 Container Type: Privileged
💾 Disk Size: 20 GB
🧠 CPU Cores: 4
🛠️ RAM Size: 4096 MiB
🔍 Verbose Mode: Enabled
🚀 Creating a Frigate LXC using the above default settings

✔️ Validated Storage (rootdir / vztmpl).
✔️ Cluster is quorate
✔️ LXC Template List Updated
Creating LXC Container
⚙️ Configuring VAAPI passthrough for LXC container
ℹ️ VAAPI enables GPU hardware acceleration (e.g., for video transcoding in Jellyfin or Plex).

➤ Automatically mount all available VAAPI devices? [Y/n]: n
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 10.0.0.147 fda0:5e72:fe12:ce4f:be24:11ff:feb6:4b4d
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:

... elipse to fit the logs

chgrp: cannot access '/dev/dri': No such file or directory

[ERROR] in line 39: exit code 0: while executing command chgrp video /dev/dri

[ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"var_install".sh)" ?

🖼️ Additional context (optional).

I checked that "ls /dev/dri"

returns correct info, confirming that the GPU is ok on the PVE host

root@swift-fox:~# ls /dev/dri
by-path card0 card1 renderD128

Originally created by @le-renard-12 on GitHub (Jul 15, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6020 ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Frigate ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/frigate.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 11 ### 📝 Provide a clear and concise description of the issue. I tried to create the LXC with the script, and after installing dependencies it fails indicating the error: ⏳ Installing Frigate v0.14.1 (Perseverance)0: line 48: SPINNER_PID: unbound variable [ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? I also tried installing it with the default conf, the issue is different: I tried both privileged/ unprivileged, with and without VAAPI. I have installed this LXC in the past month with success. the configuration on my PVE node hasn't changed. ### 🔄 Steps to reproduce the issue. launch the script with default or advanced with unprivileged, the rest is default. ### ❌ Paste the full error output (if available). this is the logs of the default config. ⚙️ Using Default Settings on node swift-fox (🔍 Verbose) 🆔 Container ID: 120 🖥️ Operating System: debian (11) 📦 Container Type: Privileged 💾 Disk Size: 20 GB 🧠 CPU Cores: 4 🛠️ RAM Size: 4096 MiB 🔍 Verbose Mode: Enabled 🚀 Creating a Frigate LXC using the above default settings ✔️ Validated Storage (rootdir / vztmpl). ✔️ Cluster is quorate ✔️ LXC Template List Updated ⏳ Creating LXC Container ⚙️ Configuring VAAPI passthrough for LXC container ℹ️ VAAPI enables GPU hardware acceleration (e.g., for video transcoding in Jellyfin or Plex). ➤ Automatically mount all available VAAPI devices? [Y/n]: n ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 10.0.0.147 fda0:5e72:fe12:ce4f:be24:11ff:feb6:4b4d ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) Hit:1 http://security.debian.org bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: ... elipse to fit the logs chgrp: cannot access '/dev/dri': No such file or directory [ERROR] in line 39: exit code 0: while executing command chgrp video /dev/dri [ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? ### 🖼️ Additional context (optional). I checked that "ls /dev/dri" returns correct info, confirming that the GPU is ok on the PVE host root@swift-fox:~# ls /dev/dri by-path card0 card1 renderD128
kerem 2026-02-26 12:48:23 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Jul 15, 2025):

Its Not an Spinner Issue!

The Script cannot Set rights for this igpu. Better for you, use docker for Frigate.

<!-- gh-comment-id:3075017666 --> @MickLesk commented on GitHub (Jul 15, 2025): Its Not an Spinner Issue! The Script cannot Set rights for this igpu. Better for you, use docker for Frigate.
Author
Owner

@le-renard-12 commented on GitHub (Jul 15, 2025):

The thing is I am not trying to use my gpu, that's why I used unprivileged / no VAAPI

Sorry if it wasn't clear

<!-- gh-comment-id:3075066284 --> @le-renard-12 commented on GitHub (Jul 15, 2025): The thing is I am not trying to use my gpu, that's why I used unprivileged / no VAAPI Sorry if it wasn't clear
Author
Owner

@MickLesk commented on GitHub (Jul 15, 2025):

How do you Set unpriviligeted? I dont see it.

You need to set
var_unprivileged=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/frigate.sh)"

<!-- gh-comment-id:3075100117 --> @MickLesk commented on GitHub (Jul 15, 2025): How do you Set unpriviligeted? I dont see it. You need to set var_unprivileged=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/frigate.sh)"
Author
Owner

@le-renard-12 commented on GitHub (Jul 15, 2025):

launched the script with these options

frigate Configuration File

Generated on Tue Jul 15 09:18:29 PM CEST 2025

CT_TYPE="1"
DISK_SIZE="20"
CORE_COUNT="4"
RAM_SIZE="4096"
VERBOSE="yes"
#CT_ID=120
HN="frigate"
BRG="vmbr0"
NET="dhcp"
IPV6_METHOD="none"

Set this only if using "IPV6_METHOD=static"

#IPV6STATIC="fd00::1234/64"

GATE="none"
APT_CACHER_IP="none"
MTU="1500"
SD="none"
NS="none"
MAC="none"
VLAN="none"
SSH="yes"
SSH_AUTHORIZED_KEY=""
TAGS="community-script;nvr"
ENABLE_FUSE="no"
ENABLE_TUN="no"

✔️ Set Up Hardware Acceleration
✔️ Stop spinner to prevent segmentation fault
Installing Frigate v0.14.1 (Perseverance)0: line 48: SPINNER_PID: unbound variable

[ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"var_install".sh)" ?

<!-- gh-comment-id:3075186621 --> @le-renard-12 commented on GitHub (Jul 15, 2025): launched the script with these options # frigate Configuration File # Generated on Tue Jul 15 09:18:29 PM CEST 2025 CT_TYPE="1" DISK_SIZE="20" CORE_COUNT="4" RAM_SIZE="4096" VERBOSE="yes" #CT_ID=120 HN="frigate" BRG="vmbr0" NET="dhcp" IPV6_METHOD="none" # Set this only if using "IPV6_METHOD=static" #IPV6STATIC="fd00::1234/64" GATE="none" APT_CACHER_IP="none" MTU="1500" SD="none" NS="none" MAC="none" VLAN="none" SSH="yes" SSH_AUTHORIZED_KEY="" TAGS="community-script;nvr" ENABLE_FUSE="no" ENABLE_TUN="no" ✔️ Set Up Hardware Acceleration ✔️ Stop spinner to prevent segmentation fault ⏳ Installing Frigate v0.14.1 (Perseverance)0: line 48: SPINNER_PID: unbound variable [ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
Author
Owner

@jmdv-es commented on GitHub (Jul 17, 2025):

Hi, same error here:

✔️ Set Up Hardware Acceleration
✔️ Stop spinner to prevent segmentation fault
Installing Frigate v0.14.1 (Perseverance)0: line 48: SPINNER_PID: unbound variable

[ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"var_install".sh)" ?

I am a little lost since this is my first time using these kind of scripts. Thank you.

<!-- gh-comment-id:3082447493 --> @jmdv-es commented on GitHub (Jul 17, 2025): Hi, same error here: ✔️ Set Up Hardware Acceleration ✔️ Stop spinner to prevent segmentation fault ⏳ Installing Frigate v0.14.1 (Perseverance)0: line 48: SPINNER_PID: unbound variable [ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? I am a little lost since this is my first time using these kind of scripts. Thank you.
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#1292
No description provided.