Just used the newest upgrade scripts for 4.16.2 and am getting some errors. Not sure if it has to do with the package that I am skipping:
Now upgrading from 4.14.1 to 4.14.2 [ Starting... ]
Checking for differences between 4.14.1 and existing code ################################################################################
*ERROR*8* Undefined property: Matrix_Upgrade::$package_list . /home/websites/automatic_upgrades/steps/step_checkout_code.php:62
################################################################################
################################################################################
*ERROR*2* array_merge(): Argument #1 is not an array . /home/websites/automatic_upgrades/steps/step_checkout_code.php:62
################################################################################
################################################################################
*ERROR*2* array_unique() expects parameter 1 to be array, null given . /home/websites/automatic_upgrades/steps/step_checkout_code.php:62
################################################################################
Then after continuing with the upgrade I get:
Check out new code, using tag "mysource_4-14-2" ################################################################################
*ERROR*2* array_merge(): Argument #1 is not an array . /home/websites/automatic_upgrades/steps/step_checkout_code.php:62
################################################################################
################################################################################
*ERROR*2* array_unique() expects parameter 1 to be array, null given . /home/websites/automatic_upgrades/steps/step_checkout_code.php:62
################################################################################
Things seem to be ok with the upgrade, so not sure if those are just errors that can be ignored...
I'm also looking to upgrade my Matrix version. Would you be able to let me know where you got the upgrade script. I will give it a run through and let you know the outcome, whether I get the same error messages.
Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/websites/squiz_matrix/cache)
Any ideas on this?
Many thanks,
Ellis
Hmm, no, never seen those before. Are you running the script as root?
Sorry I should have had a tinker before I rained on your post.
It was an apache permissions issue, the upgrade script must have reset/changed the permissions.
I ran the update script right up to 4.16.2 and it all seems to work as expected. I did receive the same errors that you posted initially however everything seems to work as before so maybe we're okay.
Maybe we should disregard these errors? I wonder if Squiz Staff could clarify.
I ran the update script right up to 4.16.2 and it all seems to work as expected. I did receive the same errors that you posted initially however everything seems to work as before so maybe we're okay.
Yeah, must just be an issue with the script. Glad it worked for you.