Unbound variable $6 in fetch_and_deploy_gh_release function when running Authelia script #1234

Closed
opened 2026-02-04 23:51:50 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @antonvovk on GitHub (Jul 6, 2025).

Have you read and understood the above guidelines?

yes

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

Authelia

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

The issue happens in function fetch_and_deploy_gh_release from misc/tools.func
It seems to be caused by this commit: 254f2b894d

🔄 Steps to reproduce the issue.

Just run Authelia installation script with Default Settings
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/authelia.sh)"

Paste the full error output (if available).

⠋ Fetching GitHub release: authelia (4.39.4)/dev/fd/63: line 856: $6: unbound variable

[ERROR] in line 1249: 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).

No response

Originally created by @antonvovk on GitHub (Jul 6, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Authelia ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/authelia.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. The issue happens in function `fetch_and_deploy_gh_release` from `misc/tools.func` It seems to be caused by this commit: https://github.com/community-scripts/ProxmoxVE/commit/254f2b894d8b47d29cee61b71fd0c52047f7ced8 ### 🔄 Steps to reproduce the issue. Just run Authelia installation script with Default Settings bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/authelia.sh)" ### ❌ Paste the full error output (if available). ⠋ Fetching GitHub release: authelia (4.39.4)/dev/fd/63: line 856: $6: unbound variable [ERROR] in line 1249: 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). _No response_
OVERLORD added the bug label 2026-02-04 23:51:50 +03:00
Author
Owner

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

the issue is not this commit, its an missing local var
local asset_pattern="${6:-}"

so done.

@MickLesk commented on GitHub (Jul 6, 2025): the issue is not this commit, its an missing local var local asset_pattern="${6:-}" so done.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1234