New script contribution is failing - build container function produce error #2340

Closed
opened 2026-02-05 04:32:29 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @heinemannj on GitHub (Jan 18, 2026).

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

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

New script: ebusd

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

local: bash .ct/ebusd.sh

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve)

📝 Provide a clear and concise description of the issue.

I want to setup a new LXC creation script ebusd following https://github.com/community-scripts/ProxmoxVE/tree/main/docs/contribution .

cp ct/debian.sh ct/ebusd.sh
cp install/debian-install.sh install/ebusd-install.sh
cat ./ct/ebusd.sh

#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Joerg Heinemann (heinemannj)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.debian.org/

APP="ebusd"
var_tags="${var_tags:-ebusd;mqtt;automation}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-512}"
var_disk="${var_disk:-2}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}"

header_info "$APP"
variables
color
catch_errors

function update_script() {
  header_info
  check_container_storage
  check_container_resources
  if [[ ! -d /var ]]; then
    msg_error "No ${APP} Installation Found!"
    exit
  fi
  msg_info "Updating $APP LXC"
  $STD apt update
  $STD apt -y upgrade
  msg_ok "Updated $APP LXC"
  msg_ok "Updated successfully!"
  exit
}

msg_error "--- start ---"
start
msg_error "--- build_container ---"
build_container
msg_error "--- description ---"
description

msg_ok "Completed successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
cat ./install/ebusd-install.sh

#!/usr/bin/env bash

# Copyright (c) 2021-2026 community-scripts ORG
# Author: Joerg Heinemann (heinemannj)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.debian.org/

source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os

motd_ssh
customize
cleanup_lxc

🔄 Steps to reproduce the issue.

bash ./ct/ebusd.sh

Image

Paste the full error output (if available).

please see above

🖼️ Additional context (optional).

please see above

Originally created by @heinemannj on GitHub (Jan 18, 2026). ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? New script: ebusd ### 📂 What was the exact command used to execute the script? local: bash .ct/ebusd.sh ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve) ### 📝 Provide a clear and concise description of the issue. I want to setup a new LXC creation script `ebusd` following https://github.com/community-scripts/ProxmoxVE/tree/main/docs/contribution . ``` cp ct/debian.sh ct/ebusd.sh cp install/debian-install.sh install/ebusd-install.sh ``` ``` cat ./ct/ebusd.sh #!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: Joerg Heinemann (heinemannj) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://www.debian.org/ APP="ebusd" var_tags="${var_tags:-ebusd;mqtt;automation}" var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" variables color catch_errors function update_script() { header_info check_container_storage check_container_resources if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!" exit fi msg_info "Updating $APP LXC" $STD apt update $STD apt -y upgrade msg_ok "Updated $APP LXC" msg_ok "Updated successfully!" exit } msg_error "--- start ---" start msg_error "--- build_container ---" build_container msg_error "--- description ---" description msg_ok "Completed successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" ``` ``` cat ./install/ebusd-install.sh #!/usr/bin/env bash # Copyright (c) 2021-2026 community-scripts ORG # Author: Joerg Heinemann (heinemannj) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://www.debian.org/ source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color verb_ip6 catch_errors setting_up_container network_check update_os motd_ssh customize cleanup_lxc ``` ### 🔄 Steps to reproduce the issue. `bash ./ct/ebusd.sh` <img width="697" height="485" alt="Image" src="https://github.com/user-attachments/assets/5950b9ee-123d-4009-b475-112e100c7c58" /> ### ❌ Paste the full error output (if available). please see above ### 🖼️ Additional context (optional). please see above
OVERLORD added the not a script issue label 2026-02-05 04:32:29 +03:00
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 18, 2026):

You are still referencing the Helper script repo and not your own. You need to change all links to the ProxmoxVE repo to links to your own repo.

@michelroegl-brunner commented on GitHub (Jan 18, 2026): You are still referencing the Helper script repo and not your own. You need to change all links to the ProxmoxVE repo to links to your own repo.
Author
Owner

@MickLesk commented on GitHub (Jan 18, 2026):

local bash is not supported, that are curls, therefore you get an 404. You need to increase all curls to your own Repo

@MickLesk commented on GitHub (Jan 18, 2026): local bash is not supported, that are curls, therefore you get an 404. You need to increase all curls to your own Repo
Author
Owner

@heinemannj commented on GitHub (Jan 18, 2026):

I've created a new fork https://github.com/heinemannj/ProxmoxVE

with the following files:

ct/ebusd.sh https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/ct/ebusd.sh
ct/headers/ebusd https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/ct/headers/ebusd
install/ebusd-install.sh https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/install/ebusd-install.sh
frontend/public/json/ebusd.json https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/frontend/public/json/ebusd.json

Switched the following source to my repro:

#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Joerg Heinemann (heinemannj)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.debian.org/

Same building result:

Image

You can test with the following:

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

@heinemannj commented on GitHub (Jan 18, 2026): I've created a new fork https://github.com/heinemannj/ProxmoxVE with the following files: `ct/ebusd.sh` https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/ct/ebusd.sh `ct/headers/ebusd` https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/ct/headers/ebusd `install/ebusd-install.sh` https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/install/ebusd-install.sh `frontend/public/json/ebusd.json` https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/frontend/public/json/ebusd.json Switched the following source to my repro: ``` #!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: Joerg Heinemann (heinemannj) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://www.debian.org/ ``` Same building result: <img width="652" height="470" alt="Image" src="https://github.com/user-attachments/assets/15de950b-10a1-4196-94a3-04e93617a89a" /> You can test with the following: `bash -c "$(curl -fsSL https://raw.githubusercontent.com/heinemannj/ProxmoxVE/main/ct/ebusd.sh)"`
Author
Owner

@MickLesk commented on GitHub (Jan 18, 2026):

No you need to increase all curls in misc folder.

https://github.com/heinemannj/ProxmoxVE/tree/main/misc

Just search and Replace (community-scripts\ProxmoxVE to your Name\ProxmoxVE)

@MickLesk commented on GitHub (Jan 18, 2026): No you need to increase all curls in misc folder. https://github.com/heinemannj/ProxmoxVE/tree/main/misc Just search and Replace (community-scripts\ProxmoxVE to your Name\ProxmoxVE)
Author
Owner

@heinemannj commented on GitHub (Jan 18, 2026):

No you need to increase all curls in misc folder.

https://github.com/heinemannj/ProxmoxVE/tree/main/misc

Just search and Replace (community-scripts\ProxmoxVE to your Name\ProxmoxVE)

I don't understand correctly.
What peace of code needs to be changed in addition to my above changes?

@heinemannj commented on GitHub (Jan 18, 2026): > No you need to increase all curls in misc folder. > > https://github.com/heinemannj/ProxmoxVE/tree/main/misc > > Just search and Replace (community-scripts\ProxmoxVE to your Name\ProxmoxVE) I don't understand correctly. What peace of code needs to be changed in addition to my above changes?
Author
Owner
@MickLesk commented on GitHub (Jan 18, 2026): https://github.com/search?q=repo%3Aheinemannj%2FProxmoxVE%20path%3A%2F%5Emisc%5C%2F%2F%20community-scripts%2FProxmoxVE&type=code this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2340