Part-DB install script error #2170

Closed
opened 2025-11-20 05:24:34 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @imoldovavan on GitHub (Oct 22, 2025).

Have you read and understood the above guidelines?

yes

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

Part-DB

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📈 Which Proxmox version are you on?

8.4.14

📝 Provide a clear and concise description of the issue.

I get the following error
`
✔️ Set up Container OS
✔️ Network Connected: 192.168.0.177 2603:6011:901:b209:be24:11ff:fe48:2b25
✔️ IPv4 Internet Connected
✔️ IPv6 Internet Connected
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
✔️ Updated Container OS
⠸ Installing Dependencies
[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1
++ error_handler 1345 'lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"'
++ source /dev/stdin
+++ curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func
+++ POST_UPDATE_DONE=false
++ printf '\e[?25h'
++ local exit_code=0
++ local line_number=1345
++ local 'command=lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"'
++ local 'error_message=\033[01;31m[ERROR]\033[m in line \033[01;31m1345\033[m: exit code \033[01;31m0\033[m: while executing command \033[33mlxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"\033[m'
++ post_update_to_api failed 'lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"'
++ command -v curl
++ '[' false = true ']'
++ local API_URL=http://api.community-scripts.org/upload/updatestatus
++ local status=failed
++ local 'error=lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"'
+++ cat
++ JSON_PAYLOAD='{
"status": "failed",
"error": "lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"",
"random_id": "fa337b63-2121-47b2-829f-3d1b6252faa1"
}'
++
++ POST_UPDATE_DONE=true
++ echo -e '\n\033[01;31m[ERROR]\033[m in line \033[01;31m1345\033[m: exit code \033[01;31m0\033[m: while executing command \033[33mlxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"\033[m\n'

[ERROR] in line 1345: 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)"

  • api_exit_script
  • exit_code=100
  • '[' 100 -ne 0 ']'
  • case $exit_code in
  • post_update_to_api failed '100: Unexpected error in create_lxc.sh'
  • command -v curl
  • '[' true = true ']'
  • return 0
    root@pve:~#
    `

🔄 Steps to reproduce the issue.

run the script with default option

Paste the full error output (if available).

✔️ Set up Container OS
✔️ Network Connected: 192.168.0.177 2603:6011:901:b209:be24:11ff:fe48:2b25
✔️ IPv4 Internet Connected
✔️ IPv6 Internet Connected
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
✔️ Updated Container OS
⠸ Installing Dependencies
[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1
++ error_handler 1345 'lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"'
++ source /dev/stdin
+++ curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func
+++ POST_UPDATE_DONE=false
++ printf '\e[?25h'
++ local exit_code=0
++ local line_number=1345
++ local 'command=lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"'
++ local 'error_message=\033[01;31m[ERROR]\033[m in line \033[01;31m1345\033[m: exit code \033[01;31m0\033[m: while executing command \033[33mlxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"\033[m'
++ post_update_to_api failed 'lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"'
++ command -v curl
++ '[' false = true ']'
++ local API_URL=http://api.community-scripts.org/upload/updatestatus
++ local status=failed
++ local 'error=lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"'
+++ cat
++ JSON_PAYLOAD='{
"status": "failed",
"error": "lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"",
"random_id": "fa337b63-2121-47b2-829f-3d1b6252faa1"
}'
++
++ POST_UPDATE_DONE=true
++ echo -e '\n\033[01;31m[ERROR]\033[m in line \033[01;31m1345\033[m: exit code \033[01;31m0\033[m: while executing command \033[33mlxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"\033[m\n'

[ERROR] in line 1345: 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)"

  • api_exit_script
  • exit_code=100
  • '[' 100 -ne 0 ']'
  • case $exit_code in
  • post_update_to_api failed '100: Unexpected error in create_lxc.sh'
  • command -v curl
  • '[' true = true ']'
  • return 0
    root@pve:~#

🖼️ Additional context (optional).

No response

Originally created by @imoldovavan on GitHub (Oct 22, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Part-DB ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/part-db.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📈 Which Proxmox version are you on? 8.4.14 ### 📝 Provide a clear and concise description of the issue. I get the following error ` ✔️ Set up Container OS ✔️ Network Connected: 192.168.0.177 2603:6011:901:b209:be24:11ff:fe48:2b25 ✔️ IPv4 Internet Connected ✔️ IPv6 Internet Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ⠸ Installing Dependencies [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 ++ error_handler 1345 'lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"' ++ source /dev/stdin +++ curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func +++ POST_UPDATE_DONE=false ++ printf '\e[?25h' ++ local exit_code=0 ++ local line_number=1345 ++ local 'command=lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"' ++ local 'error_message=\033[01;31m[ERROR]\033[m in line \033[01;31m1345\033[m: exit code \033[01;31m0\033[m: while executing command \033[33mlxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"\033[m' ++ post_update_to_api failed 'lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"' ++ command -v curl ++ '[' false = true ']' ++ local API_URL=http://api.community-scripts.org/upload/updatestatus ++ local status=failed ++ local 'error=lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"' +++ cat ++ JSON_PAYLOAD='{ "status": "failed", "error": "lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"", "random_id": "fa337b63-2121-47b2-829f-3d1b6252faa1" }' ++ [[ no == \y\e\s ]] ++ POST_UPDATE_DONE=true ++ echo -e '\n\033[01;31m[ERROR]\033[m in line \033[01;31m1345\033[m: exit code \033[01;31m0\033[m: while executing command \033[33mlxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"\033[m\n' [ERROR] in line 1345: 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)" + api_exit_script + exit_code=100 + '[' 100 -ne 0 ']' + case $exit_code in + post_update_to_api failed '100: Unexpected error in create_lxc.sh' + command -v curl + '[' true = true ']' + return 0 root@pve:~# ` ### 🔄 Steps to reproduce the issue. run the script with default option ### ❌ Paste the full error output (if available). ✔️ Set up Container OS ✔️ Network Connected: 192.168.0.177 2603:6011:901:b209:be24:11ff:fe48:2b25 ✔️ IPv4 Internet Connected ✔️ IPv6 Internet Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ⠸ Installing Dependencies [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 ++ error_handler 1345 'lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"' ++ source /dev/stdin +++ curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func +++ POST_UPDATE_DONE=false ++ printf '\e[?25h' ++ local exit_code=0 ++ local line_number=1345 ++ local 'command=lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"' ++ local 'error_message=\033[01;31m[ERROR]\033[m in line \033[01;31m1345\033[m: exit code \033[01;31m0\033[m: while executing command \033[33mlxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"\033[m' ++ post_update_to_api failed 'lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"' ++ command -v curl ++ '[' false = true ']' ++ local API_URL=http://api.community-scripts.org/upload/updatestatus ++ local status=failed ++ local 'error=lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"' +++ cat ++ JSON_PAYLOAD='{ "status": "failed", "error": "lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"", "random_id": "fa337b63-2121-47b2-829f-3d1b6252faa1" }' ++ [[ no == \y\e\s ]] ++ POST_UPDATE_DONE=true ++ echo -e '\n\033[01;31m[ERROR]\033[m in line \033[01;31m1345\033[m: exit code \033[01;31m0\033[m: while executing command \033[33mlxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"\033[m\n' [ERROR] in line 1345: 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)" + api_exit_script + exit_code=100 + '[' 100 -ne 0 ']' + case $exit_code in + post_update_to_api failed '100: Unexpected error in create_lxc.sh' + command -v curl + '[' true = true ']' + return 0 root@pve:~# ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:24:34 -05:00
Author
Owner

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

Script work fine here. Reboot your Host, You Getting Crashed by Initial Call.

@MickLesk commented on GitHub (Oct 22, 2025): Script work fine here. Reboot your Host, You Getting Crashed by Initial Call.
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 22, 2025):

fix has been merged

@michelroegl-brunner commented on GitHub (Oct 22, 2025): fix has been merged
Author
Owner

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

Only the fix for PHP, His issue is an blocked api

@MickLesk commented on GitHub (Oct 22, 2025): Only the fix for PHP, His issue is an blocked api
Author
Owner

@imoldovavan commented on GitHub (Oct 22, 2025):

I restarted the pveproxy process and the install went thru.

@imoldovavan commented on GitHub (Oct 22, 2025): I restarted the pveproxy process and the install went thru.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2170