Script: OpenMediaVault
Reported by: @GambitZA
Guidelines
- Read and understood guidelines: yes
- Verbose mode used: yes
Issue occurs during: Initial Creation / Installation
Environment
- Linux distribution: Debian
- Proxmox version: 9.1
- Default settings: No
- Advanced settings: Yes
- Exact command:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/omv.sh)"
Description
curl: (60) SSL: no alternative certificate subject name matches target host name 'packages.openmediavault.org'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gpg: no valid OpenPGP data found.
✖️ in line 17: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command gpg --dearmor > "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
--- Last 20 lines of log ---
Setting up inetutils-telnet (2:2.4-2+deb12u3) ...
Setting up libcap2-bin (1:2.66-4+deb12u2+b2) ...
Setting up python3-urllib3 (1.26.12-1+deb12u3) ...
Setting up openssl (3.0.19-1deb12u2) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.3deb12u5) ...
Setting up bind9-libs:amd64 (1:9.18.47-1deb12u1) ...
Setting up openssh-client (1:9.2p1-2+deb12u9) ...
Setting up bind9-host (1:9.18.47-1deb12u1) ...
Setting up openssh-sftp-server (1:9.2p1-2+deb12u9) ...
Setting up openssh-server (1:9.2p1-2+deb12u9) ...
rescue-ssh.target is a disabled or a static unit not running, not starting it.
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145.
Setting up bind9-dnsutils (1:9.18.47-1deb12u1) ...
Setting up ssh (1:9.2p1-2+deb12u9) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for debianutils (5.7-0.5deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
[2026-05-01 14:00:41] [OK] Updated Container OS
[2026-05-01 14:00:41] [INFO] Installing OpenMediaVault (Patience)
[2026-05-01 14:00:42] [ERROR] in line 17: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command gpg --dearmor > "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
Steps to reproduce
advanced settings only to change the container number
Error output
curl: (60) SSL: no alternative certificate subject name matches target host name 'packages.openmediavault.org'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gpg: no valid OpenPGP data found.
✖️ in line 17: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command gpg --dearmor > "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
--- Last 20 lines of log ---
Setting up inetutils-telnet (2:2.4-2+deb12u3) ...
Setting up libcap2-bin (1:2.66-4+deb12u2+b2) ...
Setting up python3-urllib3 (1.26.12-1+deb12u3) ...
Setting up openssl (3.0.19-1deb12u2) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.3deb12u5) ...
Setting up bind9-libs:amd64 (1:9.18.47-1deb12u1) ...
Setting up openssh-client (1:9.2p1-2+deb12u9) ...
Setting up bind9-host (1:9.18.47-1deb12u1) ...
Setting up openssh-sftp-server (1:9.2p1-2+deb12u9) ...
Setting up openssh-server (1:9.2p1-2+deb12u9) ...
rescue-ssh.target is a disabled or a static unit not running, not starting it.
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145.
Setting up bind9-dnsutils (1:9.18.47-1deb12u1) ...
Setting up ssh (1:9.2p1-2+deb12u9) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for debianutils (5.7-0.5deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
[2026-05-01 14:00:41] [OK] Updated Container OS
[2026-05-01 14:00:41] [INFO] Installing OpenMediaVault (Patience)
[2026-05-01 14:00:42] [ERROR] in line 17: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command gpg --dearmor > "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
Script: OpenMediaVault
Reported by: @GambitZA
Guidelines
Issue occurs during: Initial Creation / Installation
Environment
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/omv.sh)"Description
curl: (60) SSL: no alternative certificate subject name matches target host name 'packages.openmediavault.org'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gpg: no valid OpenPGP data found.
✖️ in line 17: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command gpg --dearmor > "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
--- Last 20 lines of log ---
Setting up inetutils-telnet (2:2.4-2+deb12u3) ...
Setting up libcap2-bin (1:2.66-4+deb12u2+b2) ...
Setting up python3-urllib3 (1.26.12-1+deb12u3) ...
Setting up openssl (3.0.19-1
deb12u2) ...deb12u5) ...Setting up libxml2:amd64 (2.9.14+dfsg-1.3
Setting up bind9-libs:amd64 (1:9.18.47-1
deb12u1) ...deb12u1) ...Setting up openssh-client (1:9.2p1-2+deb12u9) ...
Setting up bind9-host (1:9.18.47-1
Setting up openssh-sftp-server (1:9.2p1-2+deb12u9) ...
Setting up openssh-server (1:9.2p1-2+deb12u9) ...
rescue-ssh.target is a disabled or a static unit not running, not starting it.
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145.
Setting up bind9-dnsutils (1:9.18.47-1
deb12u1) ...deb12u1) ...Setting up ssh (1:9.2p1-2+deb12u9) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for debianutils (5.7-0.5
Processing triggers for libc-bin (2.36-9+deb12u13) ...
[2026-05-01 14:00:41] [OK] Updated Container OS
[2026-05-01 14:00:41] [INFO] Installing OpenMediaVault (Patience)
[2026-05-01 14:00:42] [ERROR] in line 17: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command gpg --dearmor > "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
Steps to reproduce
advanced settings only to change the container number
Error output
curl: (60) SSL: no alternative certificate subject name matches target host name 'packages.openmediavault.org'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gpg: no valid OpenPGP data found.
✖️ in line 17: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command gpg --dearmor > "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
--- Last 20 lines of log ---
Setting up inetutils-telnet (2:2.4-2+deb12u3) ...
Setting up libcap2-bin (1:2.66-4+deb12u2+b2) ...
Setting up python3-urllib3 (1.26.12-1+deb12u3) ...
Setting up openssl (3.0.19-1
deb12u2) ...deb12u5) ...Setting up libxml2:amd64 (2.9.14+dfsg-1.3
Setting up bind9-libs:amd64 (1:9.18.47-1
deb12u1) ...deb12u1) ...Setting up openssh-client (1:9.2p1-2+deb12u9) ...
Setting up bind9-host (1:9.18.47-1
Setting up openssh-sftp-server (1:9.2p1-2+deb12u9) ...
Setting up openssh-server (1:9.2p1-2+deb12u9) ...
rescue-ssh.target is a disabled or a static unit not running, not starting it.
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145.
Setting up bind9-dnsutils (1:9.18.47-1
deb12u1) ...deb12u1) ...Setting up ssh (1:9.2p1-2+deb12u9) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for debianutils (5.7-0.5
Processing triggers for libc-bin (2.36-9+deb12u13) ...
[2026-05-01 14:00:41] [OK] Updated Container OS
[2026-05-01 14:00:41] [INFO] Installing OpenMediaVault (Patience)
[2026-05-01 14:00:42] [ERROR] in line 17: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command gpg --dearmor > "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"