Skip to content

Frigate install fails: Error: Misuse of shell builtinsย #12771

@chopst1x

Description

@chopst1x

โœ… 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.

Frigate install fails with message saying: Error: Misuse of shell builtins (e.g. syntax error)

๐Ÿ”„ Steps to reproduce the issue.

Run the install script with default settings.

โŒ Paste the full error output (if available).

โš™๏ธ Using Default Settings on node gen4
๐Ÿ’ก PVE Version 9.1.6 (Kernel: 6.17.13-1-pve)
๐Ÿ†” Container ID: 102
๐Ÿ–ฅ๏ธ Operating System: debian (12)
๐Ÿ“ฆ Container Type: Privileged
๐Ÿ’พ Disk Size: 20 GB
๐Ÿง  CPU Cores: 4
๐Ÿ› ๏ธ RAM Size: 4096 MiB
๐ŸŽฎ GPU Passthrough: Enabled
๐Ÿš€ Creating a Frigate LXC using the above default settings

โœ”๏ธ Storage space validated
โœ”๏ธ Storage local (Free: 59.3GB Used: 4.9GB) [Template]
โœ”๏ธ Storage local-lvm (Free: 121.5GB Used: 19.4GB) [Container]
โœ”๏ธ Storage 'local-lvm' (lvmthin) validated
โœ”๏ธ Template storage 'local' validated
โœ”๏ธ Cluster is quorate
โœ”๏ธ Template search completed
โœ”๏ธ Template debian-12-standard_12.12-1_amd64.tar.zst [online]
โœ”๏ธ Template download successful.
โœ”๏ธ LXC Container 102 was successfully created.
โœ”๏ธ USB passthrough configured
๐ŸŽฎ Detected Intel GPU
โœ”๏ธ Automatically configuring INTEL GPU passthrough
โœ”๏ธ INTEL GPU passthrough configured (2 devices)
โœ”๏ธ Started LXC Container
โœ”๏ธ Network in LXC is reachable (ping)
โœ”๏ธ GPU passthrough configured (video:44, render:104)
โœ”๏ธ Customized LXC Container
โœ”๏ธ Set up Container OS
โœ”๏ธ Network Connected: 192.168.0.161 fd18:816:cdb4:d3e3:be24:11ff:fec0:44b0
โœ”๏ธ IPv4 Internet Connected
โœ–๏ธ IPv6 Internet Not Connected
โœ”๏ธ Git DNS: github.com:(โœ”๏ธ ) raw.githubusercontent.com:(โœ”๏ธ ) api.github.com:(โœ”๏ธ ) git.community-scripts.org:(โœ”๏ธ )
โœ”๏ธ Updated Container OS
โœ”๏ธ Converted APT sources
โœ”๏ธ Installed Dependencies
โœ”๏ธ Detected GPU: Intel Corporation AlderLake-S GT1 (rev 0c) (INTEL)
โœ”๏ธ Intel Gen 9+ GPU configured
โœ”๏ธ Setup Hardware Acceleration
โœ”๏ธ Deployed: frigate (0.17.0)
โœ”๏ธ Built Nginx
โœ”๏ธ Built SQLite Extensions
โœ”๏ธ Deployed: go2rtc (1.9.14)
โœ”๏ธ Installed Tempio
โœ”๏ธ Deployed: libusb (1.0.26)
โœ”๏ธ Built libUSB
โœ”๏ธ Bootstrapped pip
โœ”๏ธ Installed Python Dependencies
โœ”๏ธ Built Python Wheels
โœ”๏ธ Setup Node.js 20
โœ”๏ธ Downloaded Inference Models
โœ”๏ธ Downloaded Audio Model
โœ–๏ธ in line 193: exit code 2 (Misuse of shell builtins (e.g. syntax error))
โ†’ bash /opt/frigate/docker/main/install_deps.sh

--- Last 20 lines of log ---
Unpacking onevpl-tools (2023.1.1-1) ...
Selecting previously unselected package radeontop.
Preparing to unpack .../radeontop_1.4-2_amd64.deb ...
Unpacking radeontop (1.4-2) ...
Setting up libvpl2 (2023.1.1-1) ...
Setting up onevpl-tools (2023.1.1-1) ...
Setting up radeontop (1.4-2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...

  • apt-get install -y dpkg
    Reading package lists...
    Building dependency tree...
    Reading state information...
    dpkg is already the newest version (1.21.22).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  • wget -qO - https://repositories.intel.com/gpu/intel-graphics.key

  • gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
    gpg: no valid OpenPGP data found.
    [2026-03-11 12:01:36] [ERROR] in line 193: exit code 2 (Misuse of shell builtins (e.g. syntax error))
    [2026-03-11 12:01:36] bash /opt/frigate/docker/main/install_deps.sh

    ๐Ÿ“‹ Full log: /root/.install-9df15be1.log

    โœ–๏ธ Installation failed in container 102 (exit code: 2)
    ๐Ÿ“‹ Installation log: /tmp/frigate-102-9df15be1.log

    Error: Misuse of shell builtins (e.g. syntax error)

๐Ÿ–ผ๏ธ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions