Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

unable to delete or disable user Edited

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]

1 answer

0 votes
Diego Atlassian Team Aug 19, 2019

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

323 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you