Template array empty caused by no Debian 11 image #1848

Closed
opened 2025-11-20 05:18:26 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @omiinaya on GitHub (Sep 5, 2025).

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://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 11

📈 Which Proxmox version are you on?

Proxmox 9.0.6

📝 Provide a clear and concise description of the issue.

The script fails with a template array is empty error.

This is caused by proxmox no longer hosting a template for debian 11.

Fixing this should be as easy as updating the script from debian 11 to 12.

Testing and submitting a PR in a bit.

🔄 Steps to reproduce the issue.

Step 1: paste bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/frigate.sh)" on the proxmox host console

Step 2: Kaboom

Paste the full error output (if available).

⚙️ Using Default Settings on node media (🔍 Verbose)
🆔 Container ID: 147
🖥️ 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

✔️ Storage mrx-nas (Free: 20.1TB Used: 1.4TB) [Template]
✔️ Storage mrx-nas (Free: 20.1TB Used: 1.4TB) [Container]
✔️ Cluster is quorate
No local template found, checking online repository0: line 287: TEMPLATES: bad array subscript

[ERROR] in line 1160: exit code 0: while executing command bash -c "(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" ?

🖼️ Additional context (optional).

Project could probably use an if-catch that throws a more user-friendly error, but that's a create_lxc fix, not a frigate fix.

Originally created by @omiinaya on GitHub (Sep 5, 2025). ### ✅ 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://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/frigate.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 11 ### 📈 Which Proxmox version are you on? Proxmox 9.0.6 ### 📝 Provide a clear and concise description of the issue. The script fails with a template array is empty error. This is caused by proxmox no longer hosting a template for debian 11. Fixing this should be as easy as updating the script from debian 11 to 12. ~~Testing and submitting a PR in a bit.~~ ### 🔄 Steps to reproduce the issue. Step 1: paste `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/frigate.sh)"` on the proxmox host console Step 2: Kaboom ### ❌ Paste the full error output (if available). ⚙️ Using Default Settings on node media (🔍 Verbose) 🆔 Container ID: 147 🖥️ 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 ✔️ Storage mrx-nas (Free: 20.1TB Used: 1.4TB) [Template] ✔️ Storage mrx-nas (Free: 20.1TB Used: 1.4TB) [Container] ✔️ Cluster is quorate ⏳ No local template found, checking online repository0: line 287: TEMPLATES: bad array subscript [ERROR] in line 1160: exit code 0: while executing command bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $? ### 🖼️ Additional context (optional). Project could probably use an if-catch that throws a more user-friendly error, but that's a create_lxc fix, not a frigate fix.
saavagebueno added the bug label 2025-11-20 05:18:26 -05:00
Author
Owner

@MickLesk commented on GitHub (Sep 5, 2025):

Yeah Proxmox 9 doesnt have Debian 11. You need to Download it manually and import it manually.

Unfortunately, this is not a script error, but a default setting by Proxmox. If you have it locally, our fallback will take effect.

Frigate is deprecated in its current state anyway.

The Output is already optimized in VED for next Feature Bump

@MickLesk commented on GitHub (Sep 5, 2025): Yeah Proxmox 9 doesnt have Debian 11. You need to Download it manually and import it manually. Unfortunately, this is not a script error, but a default setting by Proxmox. If you have it locally, our fallback will take effect. Frigate is deprecated in its current state anyway. The Output is already optimized in VED for next Feature Bump
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1848