[GH-ISSUE #368] Keycloak fails to install #107

Closed
opened 2026-02-26 12:40:11 +03:00 by kerem · 7 comments
Owner

Originally created by @run2fail on GitHub (Nov 28, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/368

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?

Keycloak

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

Executed via PVE Scripts Management

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

8.4.14

📝 Provide a clear and concise description of the issue.

Keycloak fails to install, possibly due to a missing dependency. (At least I am not able to access https://packages.adoptium.net/artifactory/deb and are redirected to the Artifactory login screen when using a browser.)

`[ERROR] in line 3249: exit code 0: while executing command JDK_COUNT=$(dpkg -l 2> /dev/null | grep -c "temurin-.*-jdk")

[ERROR] in line 1382: exit code 0: while executing command lxc-attach -n "$CTID" -- bash "$INSTALL_SCRIPT_FILE"`

🔄 Steps to reproduce the issue.

Run keycloak.sh via PVE Scripts Management in verbose mode.

Paste the full error output (if available).

    __ __                __            __  
   / //_/__  __  _______/ /___  ____ _/ /__
  / ,< / _ \/ / / / ___/ / __ \/ __ `/ //_/
 / /| /  __/ /_/ / /__/ / /_/ / /_/ / ,<   
/_/ |_\___/\__, /\___/_/\____/\__,_/_/|_|  
          /____/                           
  ⚙️  Using Default Settings on node pve (🔍  Verbose)
  🆔  Container ID: 105
  🖥️  Operating System: debian (13)
  📦  Container Type: Unprivileged
  💾  Disk Size: 4 GB
  🧠  CPU Cores: 2
  🛠️  RAM Size: 2048 MiB
  🔍  Verbose Mode: Enabled
  🚀  Creating a Keycloak LXC using the above default settings
  
  ✔️   Storage local (Free: 75.4GB  Used: 11.7GB) [Template]
  ✔️   Storage local-lvm (Free: 543.9GB  Used: 231.9GB) [Container]
  ✔️   Template debian-13-standard_13.1-2_amd64.tar.zst [local]
  ⏳   Starting LXC Container  ✔️   LXC Container 105 was successfully created.
  ✔️   Started LXC Container
  ✔️   Network in LXC is reachable (ping)
  ✔️   Customized LXC Container
  ✔️   Set up Container OS
  ✔️   Network Connected: 192.168.2.42 fd3d:32a7:b7b9:0:be24:11ff:fec5:2fae 2003:e9:f707:8000:be24:11ff:fec5:2fae 
  ✔️   IPv4 Internet Connected
  ✔️   IPv6 Internet Connected
  ✔️   Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
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
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files bind9-dnsutils bind9-host bind9-libs dhcpcd-base distro-info-data libnss-systemd libpam-systemd
  libpam-wtmpdb libssl3t64 libsystemd-shared libsystemd0 libudev1 libwtmpdb0 libxml2 openssl openssl-provider-legacy
  postfix systemd systemd-sysv systemd-timesyncd udev wtmpdb
23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.2 MB of archives.
After this operation, 52.2 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian trixie/main amd64 base-files amd64 13.8+deb13u2 [73.2 kB]
Get:2 http://deb.debian.org/debian trixie/main amd64 libsystemd0 amd64 257.9-1~deb13u1 [453 kB]
Get:3 http://deb.debian.org/debian trixie/main amd64 libnss-systemd amd64 257.9-1~deb13u1 [218 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 systemd-sysv amd64 257.9-1~deb13u1 [64.5 kB]
Get:5 http://deb.debian.org/debian trixie/main amd64 libpam-systemd amd64 257.9-1~deb13u1 [297 kB]
Get:6 http://deb.debian.org/debian trixie/main amd64 libsystemd-shared amd64 257.9-1~deb13u1 [2,151 kB]
Get:7 http://deb.debian.org/debian trixie/main amd64 systemd amd64 257.9-1~deb13u1 [3,096 kB]
Get:8 http://deb.debian.org/debian trixie/main amd64 systemd-timesyncd amd64 257.9-1~deb13u1 [93.0 kB]
Get:9 http://deb.debian.org/debian trixie/main amd64 udev amd64 257.9-1~deb13u1 [1,392 kB]
Get:10 http://deb.debian.org/debian trixie/main amd64 libudev1 amd64 257.9-1~deb13u1 [152 kB]
Get:11 http://deb.debian.org/debian trixie/main amd64 openssl-provider-legacy amd64 3.5.4-1~deb13u1 [308 kB]
Get:12 http://deb.debian.org/debian trixie/main amd64 libssl3t64 amd64 3.5.4-1~deb13u1 [2,441 kB]
Get:13 http://deb.debian.org/debian trixie/main amd64 postfix amd64 3.10.5-1~deb13u1 [1,600 kB]
Get:14 http://deb.debian.org/debian trixie/main amd64 dhcpcd-base amd64 1:10.1.0-11+deb13u1 [203 kB]
Get:15 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-2.1+deb13u2 [698 kB]
Get:16 http://deb.debian.org/debian trixie/main amd64 bind9-dnsutils amd64 1:9.20.15-1~deb13u1 [165 kB]
Get:17 http://deb.debian.org/debian trixie/main amd64 bind9-host amd64 1:9.20.15-1~deb13u1 [55.4 kB]
Get:18 http://deb.debian.org/debian trixie/main amd64 bind9-libs amd64 1:9.20.15-1~deb13u1 [1,238 kB]
Get:19 http://deb.debian.org/debian trixie/main amd64 wtmpdb amd64 0.73.0-3+deb13u1 [21.8 kB]
Get:20 http://deb.debian.org/debian trixie/main amd64 libpam-wtmpdb amd64 0.73.0-3+deb13u1 [10.8 kB]
Get:21 http://deb.debian.org/debian trixie/main amd64 libwtmpdb0 amd64 0.73.0-3+deb13u1 [13.1 kB]
Get:22 http://deb.debian.org/debian trixie/main amd64 distro-info-data all 0.66+deb13u1 [6,724 B]
Get:23 http://deb.debian.org/debian trixie/main amd64 openssl amd64 3.5.4-1~deb13u1 [1,495 kB]
Fetched 16.2 MB in 1s (17.5 MB/s)   
apt-listchanges: Reading changelogs...
Preconfiguring packages ...
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../base-files_13.8+deb13u2_amd64.deb ...
Unpacking base-files (13.8+deb13u2) over (13.8+deb13u1) ...
Setting up base-files (13.8+deb13u2) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../libsystemd0_257.9-1~deb13u1_amd64.deb ...
Unpacking libsystemd0:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Setting up libsystemd0:amd64 (257.9-1~deb13u1) ...
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_257.9-1~deb13u1_amd64.deb ...
Unpacking libnss-systemd:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Preparing to unpack .../systemd-sysv_257.9-1~deb13u1_amd64.deb ...
Unpacking systemd-sysv (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Preparing to unpack .../libpam-systemd_257.9-1~deb13u1_amd64.deb ...
Unpacking libpam-systemd:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Preparing to unpack .../libsystemd-shared_257.9-1~deb13u1_amd64.deb ...
Unpacking libsystemd-shared:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Setting up libsystemd-shared:amd64 (257.9-1~deb13u1) ...
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../systemd_257.9-1~deb13u1_amd64.deb ...
Unpacking systemd (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Preparing to unpack .../systemd-timesyncd_257.9-1~deb13u1_amd64.deb ...
Unpacking systemd-timesyncd (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Preparing to unpack .../udev_257.9-1~deb13u1_amd64.deb ...
Unpacking udev (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Preparing to unpack .../libudev1_257.9-1~deb13u1_amd64.deb ...
Unpacking libudev1:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ...
Setting up libudev1:amd64 (257.9-1~deb13u1) ...
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../openssl-provider-legacy_3.5.4-1~deb13u1_amd64.deb ...
Unpacking openssl-provider-legacy (3.5.4-1~deb13u1) over (3.5.1-1+deb13u1) ...
Setting up openssl-provider-legacy (3.5.4-1~deb13u1) ...
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../libssl3t64_3.5.4-1~deb13u1_amd64.deb ...
Unpacking libssl3t64:amd64 (3.5.4-1~deb13u1) over (3.5.1-1+deb13u1) ...
Setting up libssl3t64:amd64 (3.5.4-1~deb13u1) ...
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../00-postfix_3.10.5-1~deb13u1_amd64.deb ...
Unpacking postfix (3.10.5-1~deb13u1) over (3.10.4-1~deb13u1) ...
Preparing to unpack .../01-dhcpcd-base_1%3a10.1.0-11+deb13u1_amd64.deb ...
Unpacking dhcpcd-base (1:10.1.0-11+deb13u1) over (1:10.1.0-11) ...
Preparing to unpack .../02-libxml2_2.12.7+dfsg+really2.9.14-2.1+deb13u2_amd64.deb ...
Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-2.1+deb13u2) over (2.12.7+dfsg+really2.9.14-2.1+deb13u1) ...
Preparing to unpack .../03-bind9-dnsutils_1%3a9.20.15-1~deb13u1_amd64.deb ...
Unpacking bind9-dnsutils (1:9.20.15-1~deb13u1) over (1:9.20.11-4) ...
Preparing to unpack .../04-bind9-host_1%3a9.20.15-1~deb13u1_amd64.deb ...
Unpacking bind9-host (1:9.20.15-1~deb13u1) over (1:9.20.11-4) ...
Preparing to unpack .../05-bind9-libs_1%3a9.20.15-1~deb13u1_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.20.15-1~deb13u1) over (1:9.20.11-4) ...
Preparing to unpack .../06-wtmpdb_0.73.0-3+deb13u1_amd64.deb ...
Unpacking wtmpdb (0.73.0-3+deb13u1) over (0.73.0-3) ...
Preparing to unpack .../07-libpam-wtmpdb_0.73.0-3+deb13u1_amd64.deb ...
Unpacking libpam-wtmpdb:amd64 (0.73.0-3+deb13u1) over (0.73.0-3) ...
Preparing to unpack .../08-libwtmpdb0_0.73.0-3+deb13u1_amd64.deb ...
Unpacking libwtmpdb0:amd64 (0.73.0-3+deb13u1) over (0.73.0-3) ...
Preparing to unpack .../09-distro-info-data_0.66+deb13u1_all.deb ...
Unpacking distro-info-data (0.66+deb13u1) over (0.66) ...
Preparing to unpack .../10-openssl_3.5.4-1~deb13u1_amd64.deb ...
Unpacking openssl (3.5.4-1~deb13u1) over (3.5.1-1+deb13u1) ...
Setting up distro-info-data (0.66+deb13u1) ...
Setting up systemd (257.9-1~deb13u1) ...
/usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring.
Setting up systemd-timesyncd (257.9-1~deb13u1) ...
systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it.
Setting up udev (257.9-1~deb13u1) ...
systemd-udevd.service is a disabled or a static unit not running, not starting it.
Setting up dhcpcd-base (1:10.1.0-11+deb13u1) ...
Setting up postfix (3.10.5-1~deb13u1) ...

Postfix (main.cf) configuration was not modified by debconf.  If you need to 
make changes, edit /etc/postfix/main.cf (and others) as needed.  To view 
Postfix configuration values, see postconf(1).

After modifying main.cf, be sure to run 'systemctl reload postfix'.

Setting up libwtmpdb0:amd64 (0.73.0-3+deb13u1) ...
Setting up openssl (3.5.4-1~deb13u1) ...
Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-2.1+deb13u2) ...
Setting up systemd-sysv (257.9-1~deb13u1) ...
Setting up bind9-libs:amd64 (1:9.20.15-1~deb13u1) ...
Setting up libpam-wtmpdb:amd64 (0.73.0-3+deb13u1) ...
Setting up libnss-systemd:amd64 (257.9-1~deb13u1) ...
Setting up wtmpdb (0.73.0-3+deb13u1) ...
Setting up libpam-systemd:amd64 (257.9-1~deb13u1) ...
Setting up bind9-host (1:9.20.15-1~deb13u1) ...
Setting up bind9-dnsutils (1:9.20.15-1~deb13u1) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for dbus (1.16.2-2) ...
Processing triggers for shared-mime-info (2.4-5+b2) ...
Processing triggers for procps (2:4.0.4-9) ...
Processing triggers for libc-bin (2.41-12) ...
Processing triggers for postfix (3.10.5-1~deb13u1) ...
Restarting postfix
  ✔️   Updated Container OS
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
All packages are up to date.    
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://security.debian.org trixie-security InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Get:4 https://packages.adoptium.net/artifactory/deb trixie InRelease [7,503 B]
Get:5 https://packages.adoptium.net/artifactory/deb trixie/main amd64 Packages [9,720 B]
Fetched 17.2 kB in 0s (35.3 kB/s)    
All packages are up to date.    

[ERROR] in line 3249: exit code 0: while executing command JDK_COUNT=$(dpkg -l 2> /dev/null | grep -c "temurin-.*-jdk")

[ERROR] in line 1382: exit code 0: while executing command lxc-attach -n "$CTID" -- bash "$INSTALL_SCRIPT_FILE"

[10:16:54] ✅ SSH script execution finished with code: 1

🖼️ Additional context (optional).

No response

Originally created by @run2fail on GitHub (Nov 28, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/368 ### ✅ 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? Keycloak ### 📂 What was the exact command used to execute the script? Executed via PVE Scripts Management ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? 8.4.14 ### 📝 Provide a clear and concise description of the issue. Keycloak fails to install, possibly due to a missing dependency. (At least I am not able to access https://packages.adoptium.net/artifactory/deb and are redirected to the Artifactory login screen when using a browser.) ``` `[ERROR] in line 3249: exit code 0: while executing command JDK_COUNT=$(dpkg -l 2> /dev/null | grep -c "temurin-.*-jdk") [ERROR] in line 1382: exit code 0: while executing command lxc-attach -n "$CTID" -- bash "$INSTALL_SCRIPT_FILE"` ``` ### 🔄 Steps to reproduce the issue. Run keycloak.sh via PVE Scripts Management in verbose mode. ### ❌ Paste the full error output (if available). ``` __ __ __ __ / //_/__ __ _______/ /___ ____ _/ /__ / ,< / _ \/ / / / ___/ / __ \/ __ `/ //_/ / /| / __/ /_/ / /__/ / /_/ / /_/ / ,< /_/ |_\___/\__, /\___/_/\____/\__,_/_/|_| /____/ ⚙️ Using Default Settings on node pve (🔍 Verbose) 🆔 Container ID: 105 🖥️ Operating System: debian (13) 📦 Container Type: Unprivileged 💾 Disk Size: 4 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🔍 Verbose Mode: Enabled 🚀 Creating a Keycloak LXC using the above default settings ✔️ Storage local (Free: 75.4GB Used: 11.7GB) [Template] ✔️ Storage local-lvm (Free: 543.9GB Used: 231.9GB) [Container] ✔️ Template debian-13-standard_13.1-2_amd64.tar.zst [local] ⏳ Starting LXC Container ✔️ LXC Container 105 was successfully created. ✔️ Started LXC Container ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.2.42 fd3d:32a7:b7b9:0:be24:11ff:fec5:2fae 2003:e9:f707:8000:be24:11ff:fec5:2fae ✔️ IPv4 Internet Connected ✔️ IPv6 Internet Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) 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 Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: base-files bind9-dnsutils bind9-host bind9-libs dhcpcd-base distro-info-data libnss-systemd libpam-systemd libpam-wtmpdb libssl3t64 libsystemd-shared libsystemd0 libudev1 libwtmpdb0 libxml2 openssl openssl-provider-legacy postfix systemd systemd-sysv systemd-timesyncd udev wtmpdb 23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 16.2 MB of archives. After this operation, 52.2 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian trixie/main amd64 base-files amd64 13.8+deb13u2 [73.2 kB] Get:2 http://deb.debian.org/debian trixie/main amd64 libsystemd0 amd64 257.9-1~deb13u1 [453 kB] Get:3 http://deb.debian.org/debian trixie/main amd64 libnss-systemd amd64 257.9-1~deb13u1 [218 kB] Get:4 http://deb.debian.org/debian trixie/main amd64 systemd-sysv amd64 257.9-1~deb13u1 [64.5 kB] Get:5 http://deb.debian.org/debian trixie/main amd64 libpam-systemd amd64 257.9-1~deb13u1 [297 kB] Get:6 http://deb.debian.org/debian trixie/main amd64 libsystemd-shared amd64 257.9-1~deb13u1 [2,151 kB] Get:7 http://deb.debian.org/debian trixie/main amd64 systemd amd64 257.9-1~deb13u1 [3,096 kB] Get:8 http://deb.debian.org/debian trixie/main amd64 systemd-timesyncd amd64 257.9-1~deb13u1 [93.0 kB] Get:9 http://deb.debian.org/debian trixie/main amd64 udev amd64 257.9-1~deb13u1 [1,392 kB] Get:10 http://deb.debian.org/debian trixie/main amd64 libudev1 amd64 257.9-1~deb13u1 [152 kB] Get:11 http://deb.debian.org/debian trixie/main amd64 openssl-provider-legacy amd64 3.5.4-1~deb13u1 [308 kB] Get:12 http://deb.debian.org/debian trixie/main amd64 libssl3t64 amd64 3.5.4-1~deb13u1 [2,441 kB] Get:13 http://deb.debian.org/debian trixie/main amd64 postfix amd64 3.10.5-1~deb13u1 [1,600 kB] Get:14 http://deb.debian.org/debian trixie/main amd64 dhcpcd-base amd64 1:10.1.0-11+deb13u1 [203 kB] Get:15 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-2.1+deb13u2 [698 kB] Get:16 http://deb.debian.org/debian trixie/main amd64 bind9-dnsutils amd64 1:9.20.15-1~deb13u1 [165 kB] Get:17 http://deb.debian.org/debian trixie/main amd64 bind9-host amd64 1:9.20.15-1~deb13u1 [55.4 kB] Get:18 http://deb.debian.org/debian trixie/main amd64 bind9-libs amd64 1:9.20.15-1~deb13u1 [1,238 kB] Get:19 http://deb.debian.org/debian trixie/main amd64 wtmpdb amd64 0.73.0-3+deb13u1 [21.8 kB] Get:20 http://deb.debian.org/debian trixie/main amd64 libpam-wtmpdb amd64 0.73.0-3+deb13u1 [10.8 kB] Get:21 http://deb.debian.org/debian trixie/main amd64 libwtmpdb0 amd64 0.73.0-3+deb13u1 [13.1 kB] Get:22 http://deb.debian.org/debian trixie/main amd64 distro-info-data all 0.66+deb13u1 [6,724 B] Get:23 http://deb.debian.org/debian trixie/main amd64 openssl amd64 3.5.4-1~deb13u1 [1,495 kB] Fetched 16.2 MB in 1s (17.5 MB/s) apt-listchanges: Reading changelogs... Preconfiguring packages ... (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../base-files_13.8+deb13u2_amd64.deb ... Unpacking base-files (13.8+deb13u2) over (13.8+deb13u1) ... Setting up base-files (13.8+deb13u2) ... Installing new version of config file /etc/debian_version ... (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../libsystemd0_257.9-1~deb13u1_amd64.deb ... Unpacking libsystemd0:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Setting up libsystemd0:amd64 (257.9-1~deb13u1) ... (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../libnss-systemd_257.9-1~deb13u1_amd64.deb ... Unpacking libnss-systemd:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Preparing to unpack .../systemd-sysv_257.9-1~deb13u1_amd64.deb ... Unpacking systemd-sysv (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Preparing to unpack .../libpam-systemd_257.9-1~deb13u1_amd64.deb ... Unpacking libpam-systemd:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Preparing to unpack .../libsystemd-shared_257.9-1~deb13u1_amd64.deb ... Unpacking libsystemd-shared:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Setting up libsystemd-shared:amd64 (257.9-1~deb13u1) ... (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../systemd_257.9-1~deb13u1_amd64.deb ... Unpacking systemd (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Preparing to unpack .../systemd-timesyncd_257.9-1~deb13u1_amd64.deb ... Unpacking systemd-timesyncd (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Preparing to unpack .../udev_257.9-1~deb13u1_amd64.deb ... Unpacking udev (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Preparing to unpack .../libudev1_257.9-1~deb13u1_amd64.deb ... Unpacking libudev1:amd64 (257.9-1~deb13u1) over (257.8-1~deb13u2) ... Setting up libudev1:amd64 (257.9-1~deb13u1) ... (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../openssl-provider-legacy_3.5.4-1~deb13u1_amd64.deb ... Unpacking openssl-provider-legacy (3.5.4-1~deb13u1) over (3.5.1-1+deb13u1) ... Setting up openssl-provider-legacy (3.5.4-1~deb13u1) ... (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../libssl3t64_3.5.4-1~deb13u1_amd64.deb ... Unpacking libssl3t64:amd64 (3.5.4-1~deb13u1) over (3.5.1-1+deb13u1) ... Setting up libssl3t64:amd64 (3.5.4-1~deb13u1) ... (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../00-postfix_3.10.5-1~deb13u1_amd64.deb ... Unpacking postfix (3.10.5-1~deb13u1) over (3.10.4-1~deb13u1) ... Preparing to unpack .../01-dhcpcd-base_1%3a10.1.0-11+deb13u1_amd64.deb ... Unpacking dhcpcd-base (1:10.1.0-11+deb13u1) over (1:10.1.0-11) ... Preparing to unpack .../02-libxml2_2.12.7+dfsg+really2.9.14-2.1+deb13u2_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-2.1+deb13u2) over (2.12.7+dfsg+really2.9.14-2.1+deb13u1) ... Preparing to unpack .../03-bind9-dnsutils_1%3a9.20.15-1~deb13u1_amd64.deb ... Unpacking bind9-dnsutils (1:9.20.15-1~deb13u1) over (1:9.20.11-4) ... Preparing to unpack .../04-bind9-host_1%3a9.20.15-1~deb13u1_amd64.deb ... Unpacking bind9-host (1:9.20.15-1~deb13u1) over (1:9.20.11-4) ... Preparing to unpack .../05-bind9-libs_1%3a9.20.15-1~deb13u1_amd64.deb ... Unpacking bind9-libs:amd64 (1:9.20.15-1~deb13u1) over (1:9.20.11-4) ... Preparing to unpack .../06-wtmpdb_0.73.0-3+deb13u1_amd64.deb ... Unpacking wtmpdb (0.73.0-3+deb13u1) over (0.73.0-3) ... Preparing to unpack .../07-libpam-wtmpdb_0.73.0-3+deb13u1_amd64.deb ... Unpacking libpam-wtmpdb:amd64 (0.73.0-3+deb13u1) over (0.73.0-3) ... Preparing to unpack .../08-libwtmpdb0_0.73.0-3+deb13u1_amd64.deb ... Unpacking libwtmpdb0:amd64 (0.73.0-3+deb13u1) over (0.73.0-3) ... Preparing to unpack .../09-distro-info-data_0.66+deb13u1_all.deb ... Unpacking distro-info-data (0.66+deb13u1) over (0.66) ... Preparing to unpack .../10-openssl_3.5.4-1~deb13u1_amd64.deb ... Unpacking openssl (3.5.4-1~deb13u1) over (3.5.1-1+deb13u1) ... Setting up distro-info-data (0.66+deb13u1) ... Setting up systemd (257.9-1~deb13u1) ... /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. Setting up systemd-timesyncd (257.9-1~deb13u1) ... systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. Setting up udev (257.9-1~deb13u1) ... systemd-udevd.service is a disabled or a static unit not running, not starting it. Setting up dhcpcd-base (1:10.1.0-11+deb13u1) ... Setting up postfix (3.10.5-1~deb13u1) ... Postfix (main.cf) configuration was not modified by debconf. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run 'systemctl reload postfix'. Setting up libwtmpdb0:amd64 (0.73.0-3+deb13u1) ... Setting up openssl (3.5.4-1~deb13u1) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-2.1+deb13u2) ... Setting up systemd-sysv (257.9-1~deb13u1) ... Setting up bind9-libs:amd64 (1:9.20.15-1~deb13u1) ... Setting up libpam-wtmpdb:amd64 (0.73.0-3+deb13u1) ... Setting up libnss-systemd:amd64 (257.9-1~deb13u1) ... Setting up wtmpdb (0.73.0-3+deb13u1) ... Setting up libpam-systemd:amd64 (257.9-1~deb13u1) ... Setting up bind9-host (1:9.20.15-1~deb13u1) ... Setting up bind9-dnsutils (1:9.20.15-1~deb13u1) ... Processing triggers for man-db (2.13.1-1) ... Processing triggers for dbus (1.16.2-2) ... Processing triggers for shared-mime-info (2.4-5+b2) ... Processing triggers for procps (2:4.0.4-9) ... Processing triggers for libc-bin (2.41-12) ... Processing triggers for postfix (3.10.5-1~deb13u1) ... Restarting postfix ✔️ Updated Container OS 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 All packages are up to date. Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://security.debian.org trixie-security InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Get:4 https://packages.adoptium.net/artifactory/deb trixie InRelease [7,503 B] Get:5 https://packages.adoptium.net/artifactory/deb trixie/main amd64 Packages [9,720 B] Fetched 17.2 kB in 0s (35.3 kB/s) All packages are up to date. [ERROR] in line 3249: exit code 0: while executing command JDK_COUNT=$(dpkg -l 2> /dev/null | grep -c "temurin-.*-jdk") [ERROR] in line 1382: exit code 0: while executing command lxc-attach -n "$CTID" -- bash "$INSTALL_SCRIPT_FILE" [10:16:54] ✅ SSH script execution finished with code: 1 ``` ### 🖼️ Additional context (optional). _No response_
kerem closed this issue 2026-02-26 12:40:12 +03:00
Author
Owner

@MickLesk commented on GitHub (Nov 28, 2025):

Working Fine here, Execute as normal Script and try it.

Image

All Issues with PVEScriptsLocal -> in PVEScriptsLocal Repo

<!-- gh-comment-id:3597408367 --> @MickLesk commented on GitHub (Nov 28, 2025): Working Fine here, Execute as normal Script and try it. <img width="981" height="318" alt="Image" src="https://github.com/user-attachments/assets/68200dde-0f02-457c-b413-693d663e3b6c" /> All Issues with PVEScriptsLocal -> in PVEScriptsLocal Repo
Author
Owner

@run2fail commented on GitHub (Nov 28, 2025):

Hi, I can confirm that the installation works when downloading and executing the script via the Proxmox console.

Somehow it fails only in the console of my pve-scripts-local container:

Image
<!-- gh-comment-id:3597408383 --> @run2fail commented on GitHub (Nov 28, 2025): Hi, I can confirm that the installation works when downloading and executing the script via the Proxmox console. Somehow it fails only in the console of my pve-scripts-local container: <img width="2074" height="1264" alt="Image" src="https://github.com/user-attachments/assets/e49dec9a-2e1d-47a6-a339-de8b03c6d1ce" />
Author
Owner

@MickLesk commented on GitHub (Nov 28, 2025):

Actual Version?

<!-- gh-comment-id:3597408395 --> @MickLesk commented on GitHub (Nov 28, 2025): Actual Version?
Author
Owner

@run2fail commented on GitHub (Nov 28, 2025):

Version? There is no version number in keycloak.sh.
I used the current version of keycloak.sh in both cases.
ProxmoxVE-Local was 0.4.13 but the problem also occurs in 0.5.0.

<!-- gh-comment-id:3597408421 --> @run2fail commented on GitHub (Nov 28, 2025): Version? There is no version number in keycloak.sh. I used the current version of keycloak.sh in both cases. ProxmoxVE-Local was 0.4.13 but the problem also occurs in 0.5.0.
Author
Owner

@MickLesk commented on GitHub (Nov 28, 2025):

@michelroegl-brunner

<!-- gh-comment-id:3597408434 --> @MickLesk commented on GitHub (Nov 28, 2025): @michelroegl-brunner
Author
Owner

@michelroegl-brunner commented on GitHub (Nov 28, 2025):

I need to check that. Normally it should not matter if it gets run directly or via the APP.

<!-- gh-comment-id:3597408439 --> @michelroegl-brunner commented on GitHub (Nov 28, 2025): I need to check that. Normally it should not matter if it gets run directly or via the APP.
Author
Owner

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

I can not reproduce.

<!-- gh-comment-id:3818302597 --> @michelroegl-brunner commented on GitHub (Jan 29, 2026): I can not reproduce.
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-Local#107
No description provided.