Greetings!
I decided to jump and try to upgrade my local piwigo from 2.10.0 to 12.2.0. The Dynamic Recent Period plugin was called out as being incompatible. I had it inactive, so I removed it. Hit the update button, and after half a minute or so I got a page with just this text (I added new lines for readability):
Fatal error: Uncaught Error: Call to undefined method Smarty_Internal_Runtime_UpdateScope::updateScope() in /var/www/html/photolib/_data/templates_c/p6jhns^878e82f582efb2e6720b51d20c62263c6dfd47a2_0.file.header.tpl.php:43 Stack trace: #0 /var/www/html/photolib/include/smarty/libs/sysplugins/smarty_template_resource_base.php(122): content_624a4671f3b281_54205786() #1 /var/www/html/photolib/include/smarty/libs/sysplugins/smarty_template_compiled.php(199): Smarty_Template_Resource_Base->getRenderedTemplateCode() #2 /var/www/html/photolib/include/smarty/libs/sysplugins/smarty_internal_template.php(159): Smarty_Template_Compiled->render() #3 /var/www/html/photolib/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(191): Smarty_Internal_Template->render() #4 /var/www/html/photolib/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(94): Smarty_Internal_TemplateBase->_execute() #5 /var/www/html/photolib/include/template.class.php(469): Smarty_Internal_TemplateBase->fetch() #6 /var/www/html/photolib/inclu in /var/www/html/photolib/_data/templates_c/p6jhns^878e82f582efb2e6720b51d20c62263c6dfd47a2_0.file.header.tpl.php on line 43
Not expected... Regardless I went to the home page, and got a page saying this:
Piwigo Version 12.2.0 - Upgrade Language English [GB] This page proposes to upgrade the database from your old Piwigo version to the new version. The upgrade assistant thinks you are currently running release 2.10.0 (or equivalent). [Upgrade from version 2.10.0 to 12.2.0] Need help? Ask your question on the Piwigo message board.
Yes, I do need help. So here I am...
How do I successfully complete the upgrade? Do I click the "Upgrade from" button? Is the site code in a broken or inconsistent state?
Cheers!
tjk :)
Last edited by tjk (2022-04-10 18:06:10)
Offline
(1) Does the upgrade process write a log? Where? So I can see how far into the upgrade it has gone.
(2) I am considering going through the manual update steps. Are those steps idempotent? The "Database Upgrade" one in particular?
tjk :)
Offline
I didn't investigate what was the cause of my initial error. I followed the manual upgrade steps, and it all completed fine.
tjk :)
Offline