Baïkal script fails to create LXC container #1790

Closed
opened 2026-02-05 02:16:31 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @networkr0 on GitHub (Oct 14, 2025).

Have you read and understood the above guidelines?

yes

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

Baïkal

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📈 Which Proxmox version are you on?

pve-manager/9.0.10/deb1ca707ec72a89

📝 Provide a clear and concise description of the issue.

Script ends before completion with following error:

`[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1
/dev/stdin: line 2500: post_update_to_api: command not found
/dev/stdin: line 956: pop_var_context: head of shell_variables not a function context
/dev/stdin: line 18: pop_var_context: head of shell_variables not a function context

[ERROR] in line 1344: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(cat "$(dirname "$CORE_DIR")/install/${var_install}.sh")"

[10:46:57 PM] SSH script execution finished with code: 127
`

🔄 Steps to reproduce the issue.

deleted CT and reran several times, both from scratch and using config file

Paste the full error output (if available).

[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1
/dev/stdin: line 2500: post_update_to_api: command not found
/dev/stdin: line 956: pop_var_context: head of shell_variables not a function context
/dev/stdin: line 18: pop_var_context: head of shell_variables not a function context

[ERROR] in line 1344: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(cat "$(dirname "$CORE_DIR")/install/${var_install}.sh")"

[10:46:57 PM] SSH script execution finished with code: 127

🖼️ Additional context (optional).

No response

Originally created by @networkr0 on GitHub (Oct 14, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Baïkal ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/baikal.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📈 Which Proxmox version are you on? pve-manager/9.0.10/deb1ca707ec72a89 ### 📝 Provide a clear and concise description of the issue. Script ends before completion with following error: `[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 /dev/stdin: line 2500: post_update_to_api: command not found /dev/stdin: line 956: pop_var_context: head of shell_variables not a function context /dev/stdin: line 18: pop_var_context: head of shell_variables not a function context [ERROR] in line 1344: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(cat "$(dirname "$CORE_DIR")/install/${var_install}.sh")" [10:46:57 PM] ✅ SSH script execution finished with code: 127 ` ### 🔄 Steps to reproduce the issue. deleted CT and reran several times, both from scratch and using config file ### ❌ Paste the full error output (if available). [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 /dev/stdin: line 2500: post_update_to_api: command not found /dev/stdin: line 956: pop_var_context: head of shell_variables not a function context /dev/stdin: line 18: pop_var_context: head of shell_variables not a function context [ERROR] in line 1344: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(cat "$(dirname "$CORE_DIR")/install/${var_install}.sh")" [10:46:57 PM] ✅ SSH script execution finished with code: 127 ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 02:16:31 +03:00
Author
Owner

@MickLesk commented on GitHub (Oct 14, 2025):

Run in verbose

@MickLesk commented on GitHub (Oct 14, 2025): Run in verbose
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1790