pulibrary / pul_library_drupal

Deprecated - Princeton University Library Core Site Drupal Codebase
https://library.princeton.edu/
GNU General Public License v2.0
3 stars 0 forks source link

Update to Panels 7.x-3.11 Fails on Database Update #1978

Closed kevinreiss closed 1 month ago

kevinreiss commented 1 year ago

When deploying the codebase with this panels release https://www.drupal.org/project/panels/releases/7.x-3.11 the deploys due to failure when trying to run a database update included in the release. Run with this branch: https://github.com/pulibrary/pul_library_drupal/pull/1976.

Full Log: https://gist.github.com/pulbot/2383a56d319ad155ac45dfc87aa949c6

Key error

DEBUG [8f481a5f]    Performed update: system_update_7085                                        [ok]

 DEBUG [8f481a5f]   Cannot add primary key to table panels_allowed_types: primary key        [error]
kevinreiss commented 1 year ago

same issue happend with special_collections

kevinreiss commented 1 year ago

Giving this a time box estimate.

kevinreiss commented 8 months ago

This is still an issue when you try to upgrade to latest stable panels (7.x-3.12). The site runs fine locally with this new code but the database is out of sync with the updates. Every time this code is deployed this update will attempt to run and fail. Need to find a way to tell Drupal it's already run or we need to alter the database to the previous state to allow the database update to run.

kevinreiss commented 1 month ago

Site is now deprecated.