Upgrade button in admin has never worked anyway, so I followed the command line steps that worked on previous upgrades, using wget to get 3.3.1-update.zip, then applying with this:
php bin/console mautic:update:apply --update-package=3.3.1-update.zip
My installation is now all f***ed up again with the following errors showing up in SSH:
Failed to remove file “/home/myusername/public_html/mautic/var/cache/prod/ContainerBxexpyi/getMautic_Transport_Momentum_Service_SwiftMessageService.php”: unlink(/home/myusername/public_html/mautic/var/cache/prod/ContainerBxexpyi/getMautic_Transport_Momentum_Service_SwiftMessageService.php): Permission denied.
After that on any other php bin/console command I try, I get this error:
In ListModel.php line 78:
Type error: Argument 1 passed to Mautic\LeadBundle\Model\ListModel::__construct() must be an instance of Mautic\CategoryBundle\Model\CategoryModel, instance of Mautic\CoreBundle\Helper\CoreParametersHelper given, called in /home/myusername/public_html/mautic/var/cache/prod/ContainerBxexpyi/appProdProjectContainer.php on line 9592
What can I try next to fix this mess?