[GH-ISSUE #7848] Zabbix Installation Error #1659

Closed
opened 2026-02-26 12:49:47 +03:00 by kerem · 2 comments
Owner

Originally created by @FirstS0ul on GitHub (Sep 23, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/7848

Have you read and understood the above guidelines?

yes

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

Zabbix

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zabbix.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/8.4.13/5b08ebc2823dd9cb (running kernel: 6.8.12-11-pve)

📝 Provide a clear and concise description of the issue.

Start clean install of Zabbix
it chooses automatically debian 13. debian 12 isnt working too. there is no php8.4

🔄 Steps to reproduce the issue.

  1. run command
  2. choose advanced verbose
  3. wait

Paste the full error output (if available).

✔️ Installed Zabbix
Which agent do you want to install? [1=agent (classic), 2=agent2 (modern), default=1]: 2
✔️ Selected zabbix-agent2
Choose plugins for Zabbix Agent2:

  1. PostgreSQL only (default, recommended)
  2. All plugins (may cause issues)
    Choose option [1-2]: 1
    Installing:
    zabbix-agent2 zabbix-agent2-plugin-postgresql

Summary:
Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 0
Download size: 8,991 kB
Space needed: 29.3 MB / 7,806 MB available

Get:1 https://repo.zabbix.com/zabbix/7.4/stable/debian trixie/main amd64 zabbix-agent2 amd64 1:7.4.2-1+debian13 [6,171 kB]
Get:2 https://repo.zabbix.com/zabbix/7.4/stable/debian trixie/main amd64 zabbix-agent2-plugin-postgresql amd64 1:7.4.2-1+debian13 [2,820 kB]
Fetched 8,991 kB in 3s (3,140 kB/s)
Selecting previously unselected package zabbix-agent2.
(Reading database ... 27494 files and directories currently installed.)
Preparing to unpack .../zabbix-agent2_1%3a7.4.2-1+debian13_amd64.deb ...
Unpacking zabbix-agent2 (1:7.4.2-1+debian13) ...
Selecting previously unselected package zabbix-agent2-plugin-postgresql.
Preparing to unpack .../zabbix-agent2-plugin-postgresql_1%3a7.4.2-1+debian13_amd64.deb ...
Unpacking zabbix-agent2-plugin-postgresql (1:7.4.2-1+debian13) ...
Setting up zabbix-agent2-plugin-postgresql (1:7.4.2-1+debian13) ...
Setting up zabbix-agent2 (1:7.4.2-1+debian13) ...
Created symlink '/etc/systemd/system/multi-user.target.wants/zabbix-agent2.service' → '/usr/lib/systemd/system/zabbix-agent2.service'.
Processing triggers for man-db (2.13.1-1) ...
Setting up PostgreSQLCREATE ROLE
CREATE DATABASE
ALTER ROLE
ALTER ROLE
ALTER ROLE
bash: line 84: ADMIN_EMAIL: unbound variable

[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)"

🖼️ Additional context (optional).

bash: line 84: ADMIN_EMAIL: unbound variable

if i look in the script... the variable is never set, right?

Originally created by @FirstS0ul on GitHub (Sep 23, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/7848 ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Zabbix ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zabbix.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/8.4.13/5b08ebc2823dd9cb (running kernel: 6.8.12-11-pve) ### 📝 Provide a clear and concise description of the issue. Start clean install of Zabbix it chooses automatically debian 13. debian 12 isnt working too. there is no php8.4 ### 🔄 Steps to reproduce the issue. 1) run command 2) choose advanced verbose 3) wait ### ❌ Paste the full error output (if available). ✔️ Installed Zabbix Which agent do you want to install? [1=agent (classic), 2=agent2 (modern), default=1]: 2 ✔️ Selected zabbix-agent2 Choose plugins for Zabbix Agent2: 1) PostgreSQL only (default, recommended) 2) All plugins (may cause issues) Choose option [1-2]: 1 Installing: zabbix-agent2 zabbix-agent2-plugin-postgresql Summary: Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 0 Download size: 8,991 kB Space needed: 29.3 MB / 7,806 MB available Get:1 https://repo.zabbix.com/zabbix/7.4/stable/debian trixie/main amd64 zabbix-agent2 amd64 1:7.4.2-1+debian13 [6,171 kB] Get:2 https://repo.zabbix.com/zabbix/7.4/stable/debian trixie/main amd64 zabbix-agent2-plugin-postgresql amd64 1:7.4.2-1+debian13 [2,820 kB] Fetched 8,991 kB in 3s (3,140 kB/s) Selecting previously unselected package zabbix-agent2. (Reading database ... 27494 files and directories currently installed.) Preparing to unpack .../zabbix-agent2_1%3a7.4.2-1+debian13_amd64.deb ... Unpacking zabbix-agent2 (1:7.4.2-1+debian13) ... Selecting previously unselected package zabbix-agent2-plugin-postgresql. Preparing to unpack .../zabbix-agent2-plugin-postgresql_1%3a7.4.2-1+debian13_amd64.deb ... Unpacking zabbix-agent2-plugin-postgresql (1:7.4.2-1+debian13) ... Setting up zabbix-agent2-plugin-postgresql (1:7.4.2-1+debian13) ... Setting up zabbix-agent2 (1:7.4.2-1+debian13) ... Created symlink '/etc/systemd/system/multi-user.target.wants/zabbix-agent2.service' → '/usr/lib/systemd/system/zabbix-agent2.service'. Processing triggers for man-db (2.13.1-1) ... ⏳ Setting up PostgreSQLCREATE ROLE CREATE DATABASE ALTER ROLE ALTER ROLE ALTER ROLE bash: line 84: ADMIN_EMAIL: unbound variable [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)" ### 🖼️ Additional context (optional). bash: line 84: ADMIN_EMAIL: unbound variable if i look in the script... the variable is never set, right?
kerem 2026-02-26 12:49:47 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Sep 23, 2025):

my fault, was my testing that ivnt removed. done

<!-- gh-comment-id:3323581437 --> @MickLesk commented on GitHub (Sep 23, 2025): my fault, was my testing that ivnt removed. done
Author
Owner

@FirstS0ul commented on GitHub (Sep 23, 2025):

Thanks. Installing PVE9 now...
But think its working now ;-)

<!-- gh-comment-id:3323611542 --> @FirstS0ul commented on GitHub (Sep 23, 2025): Thanks. Installing PVE9 now... But think its working now ;-)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#1659
No description provided.