From 56c2e6cf1cd3bb26e987e02e3adad2cd90788570 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:46:35 +0100 Subject: [PATCH] fix(apache-guacamole): move jdbc cleanup after schema upgrade (#10942) (#10974) - Temp files were deleted before schema upgrade could access them - Fixes update script failing on MySQL schema upgrade step --- ct/apache-guacamole.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/apache-guacamole.sh b/ct/apache-guacamole.sh index 1accdd450..e679774c1 100644 --- a/ct/apache-guacamole.sh +++ b/ct/apache-guacamole.sh @@ -92,7 +92,6 @@ function update_script() { curl -fsSL "https://downloads.apache.org/guacamole/${LATEST_SERVER}/binary/guacamole-auth-jdbc-${LATEST_SERVER}.tar.gz" -o "/tmp/guacamole-auth-jdbc.tar.gz" $STD tar -xf /tmp/guacamole-auth-jdbc.tar.gz -C /tmp mv /tmp/guacamole-auth-jdbc-"${LATEST_SERVER}"/mysql/guacamole-auth-jdbc-mysql-"${LATEST_SERVER}".jar /etc/guacamole/extensions/ - rm -rf /tmp/guacamole-auth-jdbc* echo "${LATEST_SERVER}" >~/.guacamole_auth_jdbc msg_ok "Updated Guacamole Auth JDBC" else @@ -140,6 +139,7 @@ function update_script() { fi done fi + rm -rf /tmp/guacamole-auth-jdbc* msg_ok "MySQL Schema updated" fi