Guacamole LXC - Error when creating new user #1352

Closed
opened 2025-11-20 05:08:40 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @rcegan on GitHub (Jun 26, 2025).

Have you read and understood the above guidelines?

yes

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

Apache Guacamole

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

After setting up the Guacamole LXC container based on the script, everything is working as expected initially. However, after creating a new user (beside the guacadmin account), the application becomes unusable, presenting an error:

Image

This issue can't be bypassed by rebooting the container and will represent itself no matter how many times you restart the container or the guacd, database, and tomcat service.

🔄 Steps to reproduce the issue.

  1. Create the container as per the script using Default Settings.
  2. Once Guacamole is running, login with the provided guacadmin user and go into settings to create a new user. Give the user any permission you like.
  3. Log out, then log in with the new user.

Paste the full error output (if available).

See above screenshot. I couldn't find any logs on the system indicating what might be happening.

🖼️ Additional context (optional).

No response

Originally created by @rcegan on GitHub (Jun 26, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Apache Guacamole ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/apache-guacamole.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. After setting up the Guacamole LXC container based on the script, everything is working as expected initially. However, after creating a new user (beside the guacadmin account), the application becomes unusable, presenting an error: ![Image](https://github.com/user-attachments/assets/c9e28a2f-160f-4720-9f03-e7880d5ffd38) This issue can't be bypassed by rebooting the container and will represent itself no matter how many times you restart the container or the `guacd`, database, and tomcat service. ### 🔄 Steps to reproduce the issue. 1. Create the container as per the script using Default Settings. 2. Once Guacamole is running, login with the provided `guacadmin` user and go into settings to create a new user. Give the user any permission you like. 3. Log out, then log in with the new user. ### ❌ Paste the full error output (if available). See above screenshot. I couldn't find any logs on the system indicating what might be happening. ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:08:40 -05:00
Author
Owner

@michelroegl-brunner commented on GitHub (Jun 26, 2025):

We just provide the installation. Such issues should be posted to the devs off the app in the appropiate place.

@michelroegl-brunner commented on GitHub (Jun 26, 2025): We just provide the installation. Such issues should be posted to the devs off the app in the appropiate place.
Author
Owner

@stolp commented on GitHub (Jun 26, 2025):

I am running into the same problem here and I suspect it is a problem of the installation.

I noticed that there is a hard coded version (1.5.5) in the install script:

guacamole-auth-jdbc-1.5.5.tar.gz

This file does not match the current release version of 1.6.0.

This may or may not be causing this misbehavior but should automatically be matched to the release version nonetheless.

@stolp commented on GitHub (Jun 26, 2025): I am running into the same problem here and I suspect it is a problem of the installation. I noticed that there is a hard coded version (1.5.5) in the install script: guacamole-auth-jdbc-1.5.5.tar.gz This file does not match the current release version of 1.6.0. This may or may not be causing this misbehavior but should automatically be matched to the release version nonetheless.
Author
Owner

@stolp commented on GitHub (Jun 30, 2025):

I tested the fix and it seems to be broken:

___                     __               ______                                       __   

/ | ____ ____ / / ___ / / ______ __________ _____ ___ ____ / /
/ /| | / __ / __ / ___/ __ \/ _ \______/ / __/ / / / __ / / __ / __ / __ / / _
/ ___ |/ /
/ / /
/ / /
/ / / / /
/ // / // / // / /__/ // / / / / / / // / / __/
/
/ |/ ./_,/_// //_/ _/_,/_,/___/_,// // //_//_/
/_/
⚙️ Using Default Settings on node pve
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
💾 Disk Size: 4 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 2048 MiB
🆔 Container ID: 104
🚀 Creating a Apache-Guacamole LXC using the above default settings

✔️ Using local for Template Storage.
✔️ Using local-zfs for Container Storage.
pbs: error fetching datastores - 500 Can't connect to 192.168.1.82:8007 (No route to host)
✔️ LXC Template List Updated
✔️ LXC Template 'debian-12-standard_12.7-1_amd64.tar.zst' is ready to use.
✔️ LXC Container 104 was successfully created.
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.1.162
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ GitHub DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ )
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Setup MariaDB 12.0.1
✔️ Setup Apache Tomcat
⠋ Setup Apache Guacamolemv: cannot stat '/root/mysql-connector-j-9.3.0.tar.gz/mysql-connector-j-9.3.0.tar.gz': Not a directory
⠙ Setup Apache Guacamole
[ERROR] in line 69: exit code 0: while executing command mv ~/mysql-connector-j-9.3.0.tar.gz/mysql-connector-j-9.3.0.tar.gz /etc/guacamole/lib/

[ERROR] in line 1185: 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)" ?

@stolp commented on GitHub (Jun 30, 2025): I tested the fix and it seems to be broken: ___ __ ______ __ / | ____ ____ ______/ /_ ___ / ____/_ ______ __________ _____ ___ ____ / /__ / /| | / __ \/ __ `/ ___/ __ \/ _ \______/ / __/ / / / __ `/ ___/ __ `/ __ `__ \/ __ \/ / _ \ / ___ |/ /_/ / /_/ / /__/ / / / __/_____/ /_/ / /_/ / /_/ / /__/ /_/ / / / / / / /_/ / / __/ /_/ |_/ .___/\__,_/\___/_/ /_/\___/ \____/\__,_/\__,_/\___/\__,_/_/ /_/ /_/\____/_/\___/ /_/ ⚙️ Using Default Settings on node pve 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 💾 Disk Size: 4 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 2048 MiB 🆔 Container ID: 104 🚀 Creating a Apache-Guacamole LXC using the above default settings ✔️ Using local for Template Storage. ✔️ Using local-zfs for Container Storage. pbs: error fetching datastores - 500 Can't connect to 192.168.1.82:8007 (No route to host) ✔️ LXC Template List Updated ✔️ LXC Template 'debian-12-standard_12.7-1_amd64.tar.zst' is ready to use. ✔️ LXC Container 104 was successfully created. ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.162 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ GitHub DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Setup MariaDB 12.0.1 ✔️ Setup Apache Tomcat ⠋ Setup Apache Guacamolemv: cannot stat '/root/mysql-connector-j-9.3.0.tar.gz/mysql-connector-j-9.3.0.tar.gz': Not a directory ⠙ Setup Apache Guacamole [ERROR] in line 69: exit code 0: while executing command mv ~/mysql-connector-j-9.3.0.tar.gz/mysql-connector-j-9.3.0.tar.gz /etc/guacamole/lib/ [ERROR] in line 1185: 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

@MickLesk commented on GitHub (Jun 30, 2025):

retry

@MickLesk commented on GitHub (Jun 30, 2025): retry
Author
Owner

@stolp commented on GitHub (Jun 30, 2025):

Another 1.5.5 reference has been overlooked:

___                     __               ______                                       __   

/ | ____ ____ / / ___ / / ______ __________ _____ ___ ____ / /
/ /| | / __ / __ / ___/ __ \/ _ \______/ / __/ / / / __ / / __ / __ / __ / / _
/ ___ |/ /
/ / /
/ / /
/ / / / /
/ // / // / // / /__/ // / / / / / / // / / __/
/
/ |/ ./_,/_// //_/ _/_,/_,/___/_,// // //_//_/
/_/
⚙️ Using Default Settings on node pve
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
💾 Disk Size: 4 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 2048 MiB
🆔 Container ID: 104
🚀 Creating a Apache-Guacamole LXC using the above default settings

✔️ Using local for Template Storage.
✔️ Using local-zfs for Container Storage.
pbs: error fetching datastores - 500 Can't connect to 192.168.1.82:8007 (No route to host)
✔️ LXC Template List Updated
✔️ LXC Template 'debian-12-standard_12.7-1_amd64.tar.zst' is ready to use.
✔️ LXC Container 104 was successfully created.
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.1.163
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ GitHub DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ )
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Setup MariaDB 12.0.1
✔️ Setup Apache Tomcat
✔️ Setup Apache Guacamole
⠙ Setup Database0: line 88: cd: guacamole-auth-jdbc-1.5.5/mysql/schema: No such file or directory
⠹ Setup Database
[ERROR] in line 88: exit code 0: while executing command cd guacamole-auth-jdbc-1.5.5/mysql/schema

[ERROR] in line 1185: 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)" ?

@stolp commented on GitHub (Jun 30, 2025): Another 1.5.5 reference has been overlooked: ___ __ ______ __ / | ____ ____ ______/ /_ ___ / ____/_ ______ __________ _____ ___ ____ / /__ / /| | / __ \/ __ `/ ___/ __ \/ _ \______/ / __/ / / / __ `/ ___/ __ `/ __ `__ \/ __ \/ / _ \ / ___ |/ /_/ / /_/ / /__/ / / / __/_____/ /_/ / /_/ / /_/ / /__/ /_/ / / / / / / /_/ / / __/ /_/ |_/ .___/\__,_/\___/_/ /_/\___/ \____/\__,_/\__,_/\___/\__,_/_/ /_/ /_/\____/_/\___/ /_/ ⚙️ Using Default Settings on node pve 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 💾 Disk Size: 4 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 2048 MiB 🆔 Container ID: 104 🚀 Creating a Apache-Guacamole LXC using the above default settings ✔️ Using local for Template Storage. ✔️ Using local-zfs for Container Storage. pbs: error fetching datastores - 500 Can't connect to 192.168.1.82:8007 (No route to host) ✔️ LXC Template List Updated ✔️ LXC Template 'debian-12-standard_12.7-1_amd64.tar.zst' is ready to use. ✔️ LXC Container 104 was successfully created. ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.163 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ GitHub DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Setup MariaDB 12.0.1 ✔️ Setup Apache Tomcat ✔️ Setup Apache Guacamole ⠙ Setup Database0: line 88: cd: guacamole-auth-jdbc-1.5.5/mysql/schema: No such file or directory ⠹ Setup Database [ERROR] in line 88: exit code 0: while executing command cd guacamole-auth-jdbc-1.5.5/mysql/schema [ERROR] in line 1185: 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)" $?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1352