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
問題
DB アップグレード ツールを実行すると、次のようなエラーが原因でアップグレード プロセスが失敗することがわかります。
Bundle X has invalid content in tables.sql:_create table X ... caused by ... Table 'X' already exists
Environment
Liferay DXP にアップグレード
解決策
このエラーは、管理者が以前にアップグレードされたスキーマにデータベース バックアップを復元し、そのスキーマで DB アップグレード ツールを再度実行する特定の状況で発生する可能性があります。 スキーマが完全に削除されていない場合、最初のアップグレード プロセスで追加されたテーブルがまだ存在し、報告されたエラーが発生する可能性があります。