Upgrade Fails on Postgres

お困りですか?

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

コミュニティに質問

問題

The following error appears in confluence-atlassian.log

2016-05-03 10:10:05,976 ERROR [localhost-startStop-1] [atlassian.confluence.plugin.PluginFrameworkContextListener]launchUpgrades Upgrade failed, application will not start: Upgrade task com.atlassian.confluence.upgrade.upgradetask.DropSpaceGroupTablesUpgradeTask@7c9e5eb8 failed
during the SCHEMA_UPGRADE phase due to: StatementCallback; uncategorized SQLException for SQL [ALTER TABLE SPACES DROP COLUMN SPACEGROUPID]; SQL state [2BP01]; error code [0]; ERROR: cannot drop table spaces column spacegroupid because other objects depend on it
Detail: view content_with_group_perms depends on table spaces column spacegroupid
Hint: Use DROP ... CASCADE to drop the dependent objects too.; nested exception is org.postgresql.util.PSQLException: ERROR: cannot drop table spaces column spacegroupid because other objects depend on it
Detail: view content_with_group_perms depends on table spaces column spacegroupid
Hint: Use DROP ... CASCADE to drop the dependent objects too.


または 


view is mentioned while DROPPING or UPDATING a table/column

Detail: view content_with_group_perms depends on table spaces column spacegroupid

原因

view was manually created. This view is a shortcut for a query.

回避策

  • Return to the pre-upgrade state(rollback)
  • Drop the view with the following query:
DROP view <view-name>
  • Upgrade Confluence.

 

最終更新日 2017 年 11 月 5 日

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

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