Mautic is not working after trying to upgrade from 2.15 to 2.16

Your software
My Mautic version is: 2.15
My PHP version is: 7.2
My Database type and version is: MySQL5.7

Your problem
My problem is:

I attempted to upgrade Mautic from v2.15 to 2.16 through the dashboard but that broke.
I have done a fresh installation of 4.4.5 but I need to bring my data from the old version.

These errors are showing in the log:

The file containing the list of deleted files was not found, could not process the deleted file list.

Steps I have tried to fix the problem:
Cleared Cache from app directory
Result: No change. Mautic is not working.
The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.

System administrators, check server logs for errors.

Hi, there is no general solution to this, but the good news is, it’s easier then an open heart surgery.

Steps I would do:

  1. load back your backup
  • check migrations manually
  1. if you run this on a shared hosting, then copy the data and db over to appropriate hosting, I recommend LXC for easy snashot and restore.
  2. create environment where 2.16 runs: php 7.1/7.2, mysql 5.7
  3. do upgrade from command line to Mautic 3
  4. upgrade environment to php 7.4 mariadb 10.5
  5. command line upgrade to 4.+ β†’ 4.4.5
  6. transfer back to appropriate environment

In each upgrade you might have errors, those need to be fixed on the fly.
For example:
Mautic 2 β†’ Mautic 3 possible error due to foregn keys
Mautic 3 β†’ Mautic 4. possible missing columns
Mautic 4 moving possible error due to auto generated columns cannot be loaded from dump.

It’s totally possible:
image

OR Halloween Edition: the Scary Mautic Upgrade 2.16 to 4.01 (Marketing Automation Show 2x03) - YouTube

1 Like

Thank you for your reply. I am running on VPS. To add to the fun, while I had exported the mautic db earlier, now I am unable to import the database back using phpmyadmin.

I am not too technical, I have access to the WHM terminal but not SSH.

Help!

Oh that is fun.
Still not a lost cause, just need time. I PMd you.