Skip to content

ONLINE_TEMPLATES: unbound variable #1028

@remklov

Description

@remklov

✅ Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using, or where do you have Problems?

Dispatcharr

📝 Provide a clear and concise description of the issue.

When installing dispatcharr the installer is stuck in

/dev/fd/63: line 3019: ONLINE_TEMPLATES: unbound variable
⠦ Searching for template 'debian-13'

It seems that the latest commit to ProxmoxVED/misc/build.func introduced this error, because with the previous version it still works. The commit in question: 61e3721

This version still works:
https://github.com/community-scripts/ProxmoxVED/blob/3e31d59d82006a89bf172e2d47ec7f332c60769b/misc/build.func

🔄 Steps to reproduce the issue.

  1. Execute bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/dispatcharr.sh)"
  2. Add desired configuration
  3. Start creating LXC container

❌ Paste the full error output (if available).

⠋ Validating content types of template storage 'local'[DEBUG] 
TEMPLATE_SEARCH='debian-13' 
[DEBUG] SEARCH_PATTERN='^debian-13-'
[DEBUG] TEMPLATE_PATTERN='-standard_'
 ⠧ Searching for template 'debian-13'
[DEBUG] pveam available output (first 5 lines with .tar files):
 ⠦ Searching for template 'debian-13' 
system almalinux-9-default_20240911_amd64.tar.xz 
system alpine-3.20-default_20240908_amd64.tar.xz 
system alpine-3.21-default_20241217_amd64.tar.xz 
system alpine-3.22-default_20250617_amd64.tar.xz 
system archlinux-base_20240911-1_amd64.tar.zst 
/dev/fd/63: line 3019: ONLINE_TEMPLATES: unbound variable 
⠦ Searching for template 'debian-13'

🖼️ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions