legacy-knowledge-base
公開されました Jun. 30, 2025

匿名ユーザーの重複を解決する方法

written-by

Madeleine Clay

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • アップグレードは以下のエラーで失敗しました:
failed upgrade process for module com.liferay.user.associated.data.web
com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.configuration.persistence.listener.ConfigurationModelListenerException: The listener com.liferay.user.associated.data.web.internal.configuration.persistence.listener.AnonymousUserConfigurationModelListener was unable to save configuration com.liferay.user.associated.data.web.internal.configuration.AnonymousUserConfiguration: An anonymous user is already defined for the company: [number]

環境

  • すべてのDXPバージョン

解像度

  • このエラーは、同じ会社に複数の匿名ユーザーが設定されている場合に発生する可能性があります。
  • ユーザーデータを失うことなく匿名ユーザーを削除するには、以下の手順に従ってください:
    1. 以前のバージョンを復元する必要がある場合に備えて、データベースのバックアップを取る。
    2. 2つのコンフィギュレーションのどちらかを削除する(残りのコンフィギュレーションに関連付けられているユーザーは、将来の匿名データが保存される場所となる)。
    3. アプリケーションサーバーを再起動する(コンフィギュレーションがメモリーに保存されているので、それをクリアする必要があるため)。
    4. ユーザーに移動し、どの匿名ユーザーが省略記号メニューに "Delete personal data"(個人データの削除)を持っていないか確認する(このアクションを持っているのは、コンフィギュレーションがない方です)。
    5. このユーザーの個人データを削除し、彼に関連するすべてのデータを他の匿名ユーザー(まだ利用可能な設定を持つユーザー)に移動させる。
    6. 設定なしで匿名ユーザーを削除する(利用可能なアクションを持つものを楕円メニューの中で再度チェックする)

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base