Can't delete group
-
Disregard - found the issue upstream: https://issues.apache.org/jira/browse/GUACAMOLE-2088?jql=project %3D GUACAMOLE AND text ~ "group" ORDER BY created DESC
-
Now I need to figure out whether or not this Groups issue is related to the 2nd user not being able to access their assigned connections.
-
@james are you able to check if you can reproduce this groups issue? The ticket I referenced states that this issue exists on 1.6.0 and that it works fine on 1.5.x , but on Cloudron we are running 1.5.5 .
-
I was not able to reproduce this issue.
But something seems off.@hakunamatata said in Can't delete group:
but on Cloudron we are running 1.5.5
But in your log above
Jun 30 23:21:13 20:21:13.218 [http-nio-8080-exec-2] INFO o.a.g.event.EventLoggingListener - User "USERNAME" (authenticated by "openid") successfully created user group "test" within "mysql"
User "USERNAME" (authenticated by "openid") successfully created user group "test" within "mysql"
This seems off.
Did you add OpenID settings yourself? Since version 1.5.5 does not come with OpenID support. -
Hi @james , I am running the stock Cloudron app which was configured during install to utilize the Cloudron's user management. Fresh logs showing the user "USERNAME" trying to delete the group "Accounting".
ul 02 13:29:38 10:29:38.904 [http-nio-8080-exec-5] INFO o.a.g.event.EventLoggingListener - User "USERNAME" (authenticated by "openid") failed to delete user group "Accounting" within "mysql": Jul 02 13:29:38 ### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'name = 'Accounting'' at line 5 Jul 02 13:29:38 ### The error may exist in org/apache/guacamole/auth/jdbc/usergroup/UserGroupMapper.xml Jul 02 13:29:38 ### The error may involve defaultParameterMap Jul 02 13:29:38 ### The error occurred while setting parameters Jul 02 13:29:38 ### SQL: DELETE FROM guacamole_entity WHERE type = 'USER_GROUP' name = ? Jul 02 13:29:38 ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'name = 'Accounting'' at line 5 Jul 02 13:29:38 10:29:38.904 [http-nio-8080-exec-5] ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error: Jul 02 13:29:38 ### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'name = 'Accounting'' at line 5 Jul 02 13:29:38 ### The error may exist in org/apache/guacamole/auth/jdbc/usergroup/UserGroupMapper.xml Jul 02 13:29:38 ### The error may involve defaultParameterMap Jul 02 13:29:38 ### The error occurred while setting parameters Jul 02 13:29:38 ### SQL: DELETE FROM guacamole_entity WHERE type = 'USER_GROUP' name = ? Jul 02 13:29:38 ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'name = 'Accounting'' at line 5
-
@hakunamatata I think https://issues.apache.org/jira/browse/GUACAMOLE-2088 is the upstream bug
-
@joseph see https://forum.cloudron.io/post/109497
Anyways, @james was unable to reproduce the issue on his end. I will continue to troubleshoot the issue when I have time
Edit: I have confirmed via the Guacamole login page that I am running 1.6.0 which would align with the JIRA issue referenced. Not sure why Cloudron is showing 1.5.5. Might be a bug or something.
-
@joseph see https://forum.cloudron.io/post/109497
Anyways, @james was unable to reproduce the issue on his end. I will continue to troubleshoot the issue when I have time
Edit: I have confirmed via the Guacamole login page that I am running 1.6.0 which would align with the JIRA issue referenced. Not sure why Cloudron is showing 1.5.5. Might be a bug or something.
@hakunamatata good catch, the upstream version is incorrect in the package. fixing - https://git.cloudron.io/packages/guacamole-app/-/merge_requests/9