Skip to content

frigate install script fails on NVIDIA driver version identification if version pattern is xxx.xxxΒ #12784

@macdanger

Description

@macdanger

βœ… 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?

frigate

πŸ“‚ What was the exact command used to execute the script?

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

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ˆ Which Proxmox version are you on?

pve-manager/9.1.6/71482d1833ded40a (running kernel: 6.17.13-1-pve)

πŸ“ Provide a clear and concise description of the issue.

script fails in misc/tools.func during GPU setup. It tries to identify the driver version number with:
nvidia_host_version=$(grep -oP '\d{3,}.\d+.\d+' /proc/driver/nvidia/version 2> /dev/null | head -1)
which is aiming at a driver version pattern of xxx.xxx.xx while newer drivers (like 580.142) just only have the pattern xxx.xxx.

πŸ”„ Steps to reproduce the issue.

just do a default or advanced installation

❌ Paste the full error output (if available).

================================================================================
PHASE 2: APPLICATION INSTALLATION (Container)

[2026-03-11 21:39:46] [INFO] Setting up Container OS
[2026-03-11 21:39:46] [OK] Set up Container OS
[2026-03-11 21:39:46] [OK] Network Connected: 10.234.4.108 fd5b:60e0:53fa:0:be24:11ff:fe56:f8d 2003:104:5f0d:f800:be24:11ff:fe56:f8d
[2026-03-11 21:39:47] [OK] IPv4 Internet Connected
[2026-03-11 21:39:47] [OK] IPv6 Internet Connected
[2026-03-11 21:39:47] [OK] Git DNS: github.com:(βœ”οΈ ) raw.githubusercontent.com:(βœ”οΈ ) api.github.com:(βœ”οΈ ) git.community-scripts.org:(βœ”οΈ )
[2026-03-11 21:39:47] [INFO] Updating Container OS
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists...
[2026-03-11 21:39:52] [OK] Updated Container OS
[2026-03-11 21:39:52] [INFO] Converting APT sources to DEB822 format
[2026-03-11 21:39:53] [OK] Converted APT sources
[2026-03-11 21:39:53] [INFO] Installing Dependencies
[2026-03-11 21:40:43] [OK] Installed Dependencies
[2026-03-11 21:40:43] [INFO] Setup Hardware Acceleration
[2026-03-11 21:40:45] [OK] Detected GPU: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1) (NVIDIA)
[2026-03-11 21:40:45] NVIDIA GPU passthrough detected
[2026-03-11 21:40:52] [INFO] Configuring: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
[2026-03-11 21:40:52] [INFO] Installing NVIDIA GPU drivers
[2026-03-11 21:40:52] [ERROR] in line 4691: exit code 1 (General error / Operation not permitted): while executing command head -1
[2026-03-11 21:40:52] [ERROR] in line 4691: exit code 1 (General error / Operation not permitted): while executing command nvidia_host_version=$(grep -oP '\d{3,}.\d+.\d+' /proc/driver/nvidia/version 2> /dev/null | head -1
)

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions