Hi,
I am unable to delete or deactivate users, I am logged as confluence admin.
When deleting, the process is never finished (0% complete) and there is error under the process bar:
"There was an error during user deletion: java.net.ConnectException: Connection refused: connect. Please check your log files for more details."
When deactivating the user, I get red error:
"User XY could not be disabled. The directory may be read-only."
When I try to remove the user from group confluence-users, I get red error:
"Could not remove user XY as a member of group 'confluence-users'. Check your server logs for more information."
Can you help me? Thank you very much
In atlassian-confluence.log I found:
2019-08-15 14:46:10,603 ERROR [http-nio-8090-exec-35] [bucket.user.DefaultUserAccessor] removeMembership Failed to remove 'username' as a member of 'confluence-users'
-- referer: http://confluenceserver:8090/admin/users/editusergroups-start.action?username=username | url: /admin/users/editusergroups.action | traceId: 8b79a86746b0860f | userName: admin | action: editusergroups
com.atlassian.user.EntityException: com.atlassian.crowd.exception.runtime.OperationFailedException: org.apache.http.conn.HttpHostConnectException: Connect to JIRAseverIP:8080 [/JIRAseverIP] failed: Connection refused: connect
at com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdGroupManager.removeMembership(EmbeddedCrowdGroupManager.java:223)
hundreds more lines
2019-08-15 14:46:11,626 ERROR [http-nio-8090-exec-35] [bucket.user.DefaultUserAccessor] removeMembership Failed to remove 'username' as a member of 'jira-servicedesk-users'
-- referer: http://confluenceserver:8090/admin/users/editusergroups-start.action?username=username | url: /admin/users/editusergroups.action | traceId: 8b79a86746b0860f | userName: admin | action: editusergroups
com.atlassian.user.EntityException: com.atlassian.crowd.exception.runtime.OperationFailedException: org.apache.http.conn.HttpHostConnectException: Connect to JIRAseverIP:8080 [/JIRAseverIP] failed: Connection refused: connect
at com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdGroupManager.removeMembership(EmbeddedCrowdGroupManager.java:223)
hundreds more lines
2019-08-15 14:46:11,633 WARN [http-nio-8090-exec-35] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
->[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #69497813)
-- referer: http://confluenceserver:8090/admin/users/editusergroups-start.action?username=username | url: /admin/users/editusergroups.action | traceId: 8b79a86746b0860f | userName: admin | action: editusergroups
2019-08-15 14:48:45,831 INFO [read-only-transaction:thread-1] [atlassian.confluence.user.DefaultUserAccessor] getUserNamesWithConfluenceAccess Found USE permission with no associated username or group: [USECONFLUENCE,0,null,null,null]
Hello there, Ludek!
Looking at the logs provided, it seems that you are using Jira as your user directory. Is that correct, Ludek? This can be caused by connection problems between Confluence and Jira. Permissions can also trigger this issue.
Looking at the excerpt you gave us, this line here is telling us that there might be some problems with the connection to your Jira server:
com.atlassian.user.EntityException: com.atlassian.crowd.exception.runtime.OperationFailedException: org.apache.http.conn.HttpHostConnectException: Connect to JIRAseverIP:8080 [/JIRAseverIP] failed: Connection refused: connect
I would start by checking the connection between Confluence and Jira. We need to make sure that all connection parameters are correct. You can take a look at the steps here:
The link above is our documentation on how to connect to Jira as a User Directory for Confluence.
After that, you can also check if the connector is correctly set for Jira. If you are using SSL, this documentation should help:
Let us hear from you, Ludek! Looking forward to your reply.
Hello Diego,
thanks for advice. Based on your links, I have found setting of User Directories and syncronized Crowd (it was read only and had bad port number) with Remote JIRA directory.
After synchronization if I set the directory back to Read Only, will it remain unchanged - will it no longer be synchronized (as it hasnt been synchronized earlier) ? Because for JIRA we have 15 users license and for Confluence only 10 users license (supplier says that there is no 15 users license for server version. why ?). I must disable some users for Confluence only.
Thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.