Zammad installation fails after elasticsearch. #1760

Closed
opened 2026-02-05 02:11:56 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @jniles on GitHub (Oct 9, 2025).

Have you read and understood the above guidelines?

Yes

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

Zammad

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

8.4.14

📝 Provide a clear and concise description of the issue.

The Zammad installation fails with default settings. Both the RAM and disk space are sufficient. This is reproducible on my machine using different disks and running multiple times.

🔄 Steps to reproduce the issue.

Run the above command and accept the default values.

Paste the full error output (if available).

✔️ Setup Elasticsearch
⠼ Installing Zammad
[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1

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

No response

Originally created by @jniles on GitHub (Oct 9, 2025). ### ✅ Have you read and understood the above guidelines? Yes ### 📜 What is the name of the script you are using? Zammad ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zammad.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? 8.4.14 ### 📝 Provide a clear and concise description of the issue. The Zammad installation fails with default settings. Both the RAM and disk space are sufficient. This is reproducible on my machine using different disks and running multiple times. ### 🔄 Steps to reproduce the issue. Run the above command and accept the default values. ### ❌ Paste the full error output (if available). ✔️ Setup Elasticsearch ⠼ Installing Zammad [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 [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). _No response_
OVERLORD added the bug label 2026-02-05 02:11:56 +03:00
Author
Owner

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

Run in verbose

@MickLesk commented on GitHub (Oct 9, 2025): Run in verbose
Author
Owner

@Sedation6612 commented on GitHub (Oct 10, 2025):

@MickLesk Here's verbose! I'm able to replicate as well.

Installing:                     
  apt-transport-https  git  nginx

Installing dependencies:
  git-man  libcurl3t64-gnutls  liberror-perl  libngtcp2-16  libngtcp2-crypto-gnutls8  nginx-common  patch

Suggested packages:
  git-doc  git-email  git-gui  gitk  gitweb  git-cvs  git-mediawiki  git-svn  fcgiwrap  nginx-doc  ssl-cert  ed  diffutils-doc

Summary:
  Upgrading: 0, Installing: 10, Removing: 0, Not Upgrading: 0
  Download size: 12.5 MB
  Space needed: 56.3 MB / 10.3 GB available

Get:1 http://deb.debian.org/debian trixie/main amd64 apt-transport-https all 3.0.3 [38.6 kB]
Get:2 http://deb.debian.org/debian trixie/main amd64 libngtcp2-16 amd64 1.11.0-1 [131 kB]
Get:3 http://deb.debian.org/debian trixie/main amd64 libngtcp2-crypto-gnutls8 amd64 1.11.0-1 [29.3 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 libcurl3t64-gnutls amd64 8.14.1-2 [384 kB]
Get:5 http://deb.debian.org/debian trixie/main amd64 liberror-perl all 0.17030-1 [26.9 kB]
Get:6 http://deb.debian.org/debian trixie/main amd64 git-man all 1:2.47.3-0+deb13u1 [2,205 kB]
Get:7 http://deb.debian.org/debian trixie/main amd64 git amd64 1:2.47.3-0+deb13u1 [8,862 kB]
Get:8 http://deb.debian.org/debian trixie/main amd64 nginx-common all 1.26.3-3+deb13u1 [109 kB]
Get:9 http://deb.debian.org/debian trixie/main amd64 nginx amd64 1.26.3-3+deb13u1 [609 kB]
Get:10 http://deb.debian.org/debian trixie/main amd64 patch amd64 2.8-2 [134 kB]
Fetched 12.5 MB in 0s (62.0 MB/s)
Preconfiguring packages ...
Selecting previously unselected package apt-transport-https.
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../0-apt-transport-https_3.0.3_all.deb ...
Unpacking apt-transport-https (3.0.3) ...
Selecting previously unselected package libngtcp2-16:amd64.
Preparing to unpack .../1-libngtcp2-16_1.11.0-1_amd64.deb ...
Unpacking libngtcp2-16:amd64 (1.11.0-1) ...
Selecting previously unselected package libngtcp2-crypto-gnutls8:amd64.
Preparing to unpack .../2-libngtcp2-crypto-gnutls8_1.11.0-1_amd64.deb ...
Unpacking libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ...
Selecting previously unselected package libcurl3t64-gnutls:amd64.
Preparing to unpack .../3-libcurl3t64-gnutls_8.14.1-2_amd64.deb ...
Unpacking libcurl3t64-gnutls:amd64 (8.14.1-2) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../4-liberror-perl_0.17030-1_all.deb ...
Unpacking liberror-perl (0.17030-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../5-git-man_1%3a2.47.3-0+deb13u1_all.deb ...
Unpacking git-man (1:2.47.3-0+deb13u1) ...
Selecting previously unselected package git.
Preparing to unpack .../6-git_1%3a2.47.3-0+deb13u1_amd64.deb ...
Unpacking git (1:2.47.3-0+deb13u1) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../7-nginx-common_1.26.3-3+deb13u1_all.deb ...
Unpacking nginx-common (1.26.3-3+deb13u1) ...
Selecting previously unselected package nginx.
Preparing to unpack .../8-nginx_1.26.3-3+deb13u1_amd64.deb ...
Unpacking nginx (1.26.3-3+deb13u1) ...
Selecting previously unselected package patch.
Preparing to unpack .../9-patch_2.8-2_amd64.deb ...
Unpacking patch (2.8-2) ...
Setting up apt-transport-https (3.0.3) ...
Setting up nginx-common (1.26.3-3+deb13u1) ...
Created symlink '/etc/systemd/system/multi-user.target.wants/nginx.service' → '/usr/lib/systemd/system/nginx.service'.
Setting up liberror-perl (0.17030-1) ...
Setting up patch (2.8-2) ...
Setting up git-man (1:2.47.3-0+deb13u1) ...
Setting up libngtcp2-16:amd64 (1.11.0-1) ...
Setting up libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ...
Setting up nginx (1.26.3-3+deb13u1) ...
Upgrading binary: nginx.
Setting up libcurl3t64-gnutls:amd64 (8.14.1-2) ...
Setting up git (1:2.47.3-0+deb13u1) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for libc-bin (2.41-12) ...
  ✔️   Installed Dependencies
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease                          
Hit:3 http://deb.debian.org/debian trixie-updates InRelease                  
Get:4 https://artifacts.elastic.co/packages/7.x/apt stable InRelease [13.7 kB]
Get:5 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages [145 kB]
Fetched 158 kB in 0s (759 kB/s) 
All packages are up to date.    
Installing:                     
  elasticsearch

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
  Download size: 325 MB
  Space needed: 542 MB / 10.2 GB available

Get:1 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 elasticsearch amd64 7.17.29 [325 MB]
Fetched 325 MB in 23s (13.9 MB/s)                                                                                                                                                                                                                                                                                                     
Selecting previously unselected package elasticsearch.
(Reading database ... 21506 files and directories currently installed.)
Preparing to unpack .../elasticsearch_7.17.29_amd64.deb ...
Creating elasticsearch group... OK
Creating elasticsearch user... OK
Unpacking elasticsearch (7.17.29) ...
Setting up elasticsearch (7.17.29) ...
### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable elasticsearch.service
### You can start elasticsearch service by executing
 sudo systemctl start elasticsearch.service
Created elasticsearch keystore in /etc/elasticsearch/elasticsearch.keystore
Processing triggers for procps (2:4.0.4-9) ...
Processing triggers for systemd (257.8-1~deb13u2) ...
-> Installing ingest-attachment
-> Downloading ingest-attachment from elastic
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessClassInPackage.sun.java2d.cmm.kcms
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.security.SecurityPermission createAccessControlContext
See https://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed ingest-attachment
-> Please restart Elasticsearch to activate any plugins installed
  ✔️   Setup Elasticsearch
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease                                                                         
Hit:3 http://deb.debian.org/debian trixie-updates InRelease                                                                 
Hit:4 https://artifacts.elastic.co/packages/7.x/apt stable InRelease                         
Get:5 https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 13 InRelease [1,840 B]
Fetched 1,840 B in 1s (2,183 B/s)    
All packages are up to date.    
Warning: https://dl.packager.io/srv/deb/zammad/zammad/stable/debian/dists/13/InRelease: Policy will reject signature within a year, see --audit for details
Error: Unable to locate package zammad

[ERROR] in line 51: exit code 0: while executing command $STD apt -y install zammad
The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.


[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)"
@Sedation6612 commented on GitHub (Oct 10, 2025): @MickLesk Here's verbose! I'm able to replicate as well. ``` Installing: apt-transport-https git nginx Installing dependencies: git-man libcurl3t64-gnutls liberror-perl libngtcp2-16 libngtcp2-crypto-gnutls8 nginx-common patch Suggested packages: git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn fcgiwrap nginx-doc ssl-cert ed diffutils-doc Summary: Upgrading: 0, Installing: 10, Removing: 0, Not Upgrading: 0 Download size: 12.5 MB Space needed: 56.3 MB / 10.3 GB available Get:1 http://deb.debian.org/debian trixie/main amd64 apt-transport-https all 3.0.3 [38.6 kB] Get:2 http://deb.debian.org/debian trixie/main amd64 libngtcp2-16 amd64 1.11.0-1 [131 kB] Get:3 http://deb.debian.org/debian trixie/main amd64 libngtcp2-crypto-gnutls8 amd64 1.11.0-1 [29.3 kB] Get:4 http://deb.debian.org/debian trixie/main amd64 libcurl3t64-gnutls amd64 8.14.1-2 [384 kB] Get:5 http://deb.debian.org/debian trixie/main amd64 liberror-perl all 0.17030-1 [26.9 kB] Get:6 http://deb.debian.org/debian trixie/main amd64 git-man all 1:2.47.3-0+deb13u1 [2,205 kB] Get:7 http://deb.debian.org/debian trixie/main amd64 git amd64 1:2.47.3-0+deb13u1 [8,862 kB] Get:8 http://deb.debian.org/debian trixie/main amd64 nginx-common all 1.26.3-3+deb13u1 [109 kB] Get:9 http://deb.debian.org/debian trixie/main amd64 nginx amd64 1.26.3-3+deb13u1 [609 kB] Get:10 http://deb.debian.org/debian trixie/main amd64 patch amd64 2.8-2 [134 kB] Fetched 12.5 MB in 0s (62.0 MB/s) Preconfiguring packages ... Selecting previously unselected package apt-transport-https. (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../0-apt-transport-https_3.0.3_all.deb ... Unpacking apt-transport-https (3.0.3) ... Selecting previously unselected package libngtcp2-16:amd64. Preparing to unpack .../1-libngtcp2-16_1.11.0-1_amd64.deb ... Unpacking libngtcp2-16:amd64 (1.11.0-1) ... Selecting previously unselected package libngtcp2-crypto-gnutls8:amd64. Preparing to unpack .../2-libngtcp2-crypto-gnutls8_1.11.0-1_amd64.deb ... Unpacking libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ... Selecting previously unselected package libcurl3t64-gnutls:amd64. Preparing to unpack .../3-libcurl3t64-gnutls_8.14.1-2_amd64.deb ... Unpacking libcurl3t64-gnutls:amd64 (8.14.1-2) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../4-liberror-perl_0.17030-1_all.deb ... Unpacking liberror-perl (0.17030-1) ... Selecting previously unselected package git-man. Preparing to unpack .../5-git-man_1%3a2.47.3-0+deb13u1_all.deb ... Unpacking git-man (1:2.47.3-0+deb13u1) ... Selecting previously unselected package git. Preparing to unpack .../6-git_1%3a2.47.3-0+deb13u1_amd64.deb ... Unpacking git (1:2.47.3-0+deb13u1) ... Selecting previously unselected package nginx-common. Preparing to unpack .../7-nginx-common_1.26.3-3+deb13u1_all.deb ... Unpacking nginx-common (1.26.3-3+deb13u1) ... Selecting previously unselected package nginx. Preparing to unpack .../8-nginx_1.26.3-3+deb13u1_amd64.deb ... Unpacking nginx (1.26.3-3+deb13u1) ... Selecting previously unselected package patch. Preparing to unpack .../9-patch_2.8-2_amd64.deb ... Unpacking patch (2.8-2) ... Setting up apt-transport-https (3.0.3) ... Setting up nginx-common (1.26.3-3+deb13u1) ... Created symlink '/etc/systemd/system/multi-user.target.wants/nginx.service' → '/usr/lib/systemd/system/nginx.service'. Setting up liberror-perl (0.17030-1) ... Setting up patch (2.8-2) ... Setting up git-man (1:2.47.3-0+deb13u1) ... Setting up libngtcp2-16:amd64 (1.11.0-1) ... Setting up libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ... Setting up nginx (1.26.3-3+deb13u1) ... Upgrading binary: nginx. Setting up libcurl3t64-gnutls:amd64 (8.14.1-2) ... Setting up git (1:2.47.3-0+deb13u1) ... Processing triggers for man-db (2.13.1-1) ... Processing triggers for libc-bin (2.41-12) ... ✔️ Installed Dependencies Hit:1 http://security.debian.org trixie-security InRelease Hit:2 http://deb.debian.org/debian trixie InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Get:4 https://artifacts.elastic.co/packages/7.x/apt stable InRelease [13.7 kB] Get:5 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages [145 kB] Fetched 158 kB in 0s (759 kB/s) All packages are up to date. Installing: elasticsearch Summary: Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0 Download size: 325 MB Space needed: 542 MB / 10.2 GB available Get:1 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 elasticsearch amd64 7.17.29 [325 MB] Fetched 325 MB in 23s (13.9 MB/s) Selecting previously unselected package elasticsearch. (Reading database ... 21506 files and directories currently installed.) Preparing to unpack .../elasticsearch_7.17.29_amd64.deb ... Creating elasticsearch group... OK Creating elasticsearch user... OK Unpacking elasticsearch (7.17.29) ... Setting up elasticsearch (7.17.29) ... ### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd sudo systemctl daemon-reload sudo systemctl enable elasticsearch.service ### You can start elasticsearch service by executing sudo systemctl start elasticsearch.service Created elasticsearch keystore in /etc/elasticsearch/elasticsearch.keystore Processing triggers for procps (2:4.0.4-9) ... Processing triggers for systemd (257.8-1~deb13u2) ... -> Installing ingest-attachment -> Downloading ingest-attachment from elastic @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: plugin requires additional permissions @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ * java.lang.RuntimePermission accessClassInPackage.sun.java2d.cmm.kcms * java.lang.RuntimePermission accessDeclaredMembers * java.lang.RuntimePermission getClassLoader * java.lang.reflect.ReflectPermission suppressAccessChecks * java.security.SecurityPermission createAccessControlContext See https://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html for descriptions of what these permissions allow and the associated risks. -> Installed ingest-attachment -> Please restart Elasticsearch to activate any plugins installed ✔️ Setup Elasticsearch Hit:1 http://security.debian.org trixie-security InRelease Hit:2 http://deb.debian.org/debian trixie InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Hit:4 https://artifacts.elastic.co/packages/7.x/apt stable InRelease Get:5 https://dl.packager.io/srv/deb/zammad/zammad/stable/debian 13 InRelease [1,840 B] Fetched 1,840 B in 1s (2,183 B/s) All packages are up to date. Warning: https://dl.packager.io/srv/deb/zammad/zammad/stable/debian/dists/13/InRelease: Policy will reject signature within a year, see --audit for details Error: Unable to locate package zammad [ERROR] in line 51: exit code 0: while executing command $STD apt -y install zammad The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output. [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)" ```
Author
Owner

@tremor021 commented on GitHub (Oct 10, 2025):

@MickLesk zammad has no trixie repo? Its still in development.
We should stick to deb12 repo

@tremor021 commented on GitHub (Oct 10, 2025): @MickLesk zammad has no trixie repo? Its still in development. We should stick to deb12 repo
Author
Owner

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

Done

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

No dependencies set.

Reference: starred/ProxmoxVE#1760