Hello there.
I hope you can help me to solve this issue.
My Mautic version
Mautic 3.2.1 - app/prod (kernel: app, env: prod, debug: false)
I cannot update Mautic from 3.2.1 to 3.2.2
My PHP version is : PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )
My MySQL version is: Ver 8.0.22-0ubuntu0.20.04.3 for Linux on x86_64 ((Ubuntu))
I am Updating via Command Line
php bin/console mautic:update:apply
These errors are showing in the installer :
Step 2 [–>-------------------------] Downloading update package… PHP Notice: Undefined index: message in /var/www/mautic/app/bundles/CoreBundle/Update/Step/InstallNewFilesStep.php on line 131
These are the lines that generates throw the error
if (isset($package[‘error’])) {
throw new UpdateFailedException($this->translator->trans($package[‘message’]));
}
These errors are showing in the Mautic log :
[2020-12-25 18:22:38] mautic.WARNING: Command mautic:update:apply
exited with status code 1
Steps I have tried to fix the problem :
I cleared the cache
php bin/console cache:clear
Regards,
Wilt