Thanks dennisameling. curl https://github.com/mautic… etc. worked.
I had one other warning the first time I tried the upgrade:
The following warnings occurred while checking system compatibility:
We can’t make a database backup for you due to restrictions on your system. Only continue if you have your own database backup available!
I did have my own backup, so moved on.
Version 3.0.1 of Mautic is available for download. Please visit this announcement for more information. [update now]
Clicked [update now] with the mautic-3-update-package.zip for 3.0.2 in the folder - will the mismatch cause more problems?
Same database backup warning as last time; moving on again.
The upgrade script now passes ‘Downloading Mautic 3 upgrade package…’, but fails on ‘Extracting Mautic 3 files…’:
ERR_EXTRACT_UPGRADE_PACKAGE_FAILED: Error while extracting Mautic 3 files: Could not open or read update package…
No additional info in upgrade_log.txt
Is the fact that I’m on CentOS a problem? Is the upgrade for Ubuntu only?
Or permission issues? Does the script assume a particular user name?
Where are the manual upgrade / command line instructions?
I have tried to manually upgrade with the following command:
php app/console mautic:update:apply --update-package=mautic-3-update-package.zip
This produces the following error:
The Mautic update could not complete successfully because of the following error: The ZIP archive does not seem to be valid. Please check your cache directory and delete the package then try again.
I see the file mautic-3-update-package.zip is only 1 Kb and only contains the following:
<html><body>You are being <a href="https://github-production-release-asset-2e65be.s3.amazonaws.com/12204147/8f3bf180-cffc-11ea-855a-4a646bb3a0f2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200814%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200814T131300Z&X-Amz-Expires=300&X-Amz-Signature=974620a1049a6015222996fdd4e324b25c1a0386b0140651d3b8938a195c8716&X-Amz-SignedHeaders=host&actor_id=0&repo_id=12204147&response-content-disposition=attachment%3B%20filename%3D3.0.2.zip&response-content-type=application%2Foctet-stream">redirected</a>.</body></html>
I downloaded the package using this instead:
Then manually renamed it to mautic-3-update-package.zip and ran the [update now] button again. The upgrade process now successfully moved beyond ‘Extracting Mautic 3 files’, entered new parameters in config/local.php and then failed on Applying Mautic 3 database migrations…:
ERR_MAUTIC_3_MIGRATIONS_IDENTIFICATION_FAILED: We couldn’t reliably detect the amount of available database migrations. Please try again by refreshing this page…
Luckily the process resumed after refreshing the page and actually made it to the end.
Now checking the installation, fixing cron jobs, etc. … Everything seems OK so far.