Mautic Community Forums

Updating from 2.15.3 to 2.16.3

I just went through a nightmare of an upgrade from an old mautic instance 2.15.3 to 2.16.3 and came accross a number of problems along the way that maybe helpful to someone some day.

So as follows:

  1. Started upgrade via GUI - it just hung

  2. Went for command line upgrade and received this error:
    [Symfony\Component\Debug\Exception\FatalErrorException]
    Compile Error: require_once(): Failed opening required ‘PHPEXCEL_ROOTPHPExcel/Shared/PCLZip/pclzip.lib.php’ (include_path=’.:/usr/share/php’)

  3. Found this article to fix the error: https://kirelos.com/install-mautic-self-hosted-email-marketing-platform-on-ubuntu-18-04-server/

  4. Re ran upgrade and ran into this error
    [Symfony\Component\Debug\Exception\ClassNotFoundException]
    Attempted to load class “ZipArchive” from the global namespace.
    Did you forget a “use” statement for “PHPExcel_Shared_ZipArchive”?

  5. Followed this tutorial: https://mauteam.org/mautic/mautic-admins/mautic-update-how-to-dont-click-that-button/

Alas - still did not help, and the dreaded site offline was still there.

Then found that I needed to install php-zip which I did and then everything ran well!!

Hope this helps.