Unable To Delete User with com.atlassian.confluence.spaces.Space.pageTemplates Exception

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Unable to remove specific user even though all content related to this user has already been removed.

The following appears in the atlassian-confluence.log: (PostgreSQL database)

2014-03-14 09:06:42,802 ERROR [http-8090-4] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
 -- referer: http://localhost:8090/admin/users/removeuser.action?username=test| url: /admin/users/removeuser-confirm.action | userName: test
com.atlassian.core.exception.InfrastructureException: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection
...
Caused by: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection
...
Caused by: net.sf.hibernate.exception.GenericJDBCException: could not initialize collection: [com.atlassian.confluence.spaces.Space.pageTemplates#1933313]
...
Caused by: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block

診断

Try to do the instruction following articles before attempting the removal:

原因

The personal space of the user is not properly removed from the database.

ソリューション

  • Run the following query to find the problematic row:

     select * from spaces where substr(spacekey,2) = 'username';
  • Follow the instruction from the article 'How to Manually Delete a Space' to remove the problematic personal space

  • Restart Confluence and click on 'Flush All' in Confluence Admin >> Cache Statistics screen
  • Remove the user from Confluence Administration panel

最終更新日 2018 年 11 月 15 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.