Products | Versions |
---|---|
Spotfire Server | All |
After running the upgrade tool to upgrade Spotfire, the following errors may occur, causing the upgrade to fail.
ERROR 2024-07-11T11:45:39,825 tools.upgrade.UpgradeManager: Unable to upgrade database com.spotfire.server.tools.upgrade.DatabaseUpgradeException: Error while upgrading database: Error while upgrading database: ERROR: syntax error at or near "function" Position: 147
Error while upgrading database: ERROR: cannot drop column content_size of table lib_current_items beca use other objects depend on it Detail: view scheduled_job_view depends on column content_size of table lib_current_items Hint: Use DROP ... CASCADE to drop the dependent objects too. Caused by: org.postgresql.util.PSQLException: ERROR: cannot drop column content_size of table lib_current_items because other objects depend on it Detail: view scheduled_job_view depends on column content_size of table lib_current_items Hint: Use DROP ... CASCADE to drop the dependent objects too.
ERROR 2024-07-11T11:45:39,825 tools.upgrade.UpgradeManager: Unable to upgrade database com.spotfire.server.tools.upgrade.DatabaseUpgradeException: Error while upgrading database: Error while upgrading database: ERROR: syntax error at or near "function" Position: 147
Error while upgrading database: ERROR: cannot drop column content_size of table lib_current_items because other objects depend on it Detail: view scheduled_job_view depends on column content_size of table lib_current_itemsThis error occurs if modifications were made to the Spotfire meta-database in the earlier version, such as adding views or columns. Since these views or columns will be unknown to the Spotfire upgrade tool, it will fail with the above error. To resolve this issue, please remove these added columns or views before upgrading.