Keywords: Mautic - AWS - How to - Upgrade
I am using the official AMI bitnami-mautic-2.16.0-0-linux-ubuntu-16.04 from AWS marketplace. Now my Mautic is running the version 2.16.3. I just tried to upgrade to the lastest version (3.0.1), but I getting the error below:
bitnami@ip-172-31-32-198:~$ sudo su daemon -s /bin/sh -c "/opt/bitnami/php/bin/php /opt/bitnami/apps/mautic/htdocs/upgrade_v3.php"
Welcome to the Mautic 3 upgrade script! Before we start, we'll run some pre-upgrade checks to make sure your system is compatible.
IMPORTANT: you will need to update your cron jobs from app/console/* to bin/console/* after the upgrade. You can already change them now if you want.
Please type 'yes' if you're ready to start: yes
Thank you, continuing...
===== STARTING MAUTIC 3 UPGRADE AT 2020-07-29 23:05:54... =====
Installed Mautic version: 2.16.3
PHP version: 7.2.29
Upgrade type: CLI
Doing pre-upgrade checks...
mysqldump: [Warning] Using a password on the command line interface can be insecure.
One or more warnings occurred during pre-upgrade checks, please run this script with the --ignore-warnings flag to continue:
- You seem to have installed Mautic by cloning from GitHub. We don't support upgrading with the upgrade script in this scenario. Proceed at your own risk or reinstall with the official package at https://github.com/mautic/mautic/releases/tag/2.16.3
How can I upgrade my Mautic to the version 3, please? It's possible to create a backup from my current version 2.16.3, install a new AWS instance running 3.0.2-0 on Debian 10 and restore the backup?