Your software
My Mautic version is: 2.15.3
My PHP version is: 7.0.33
Your problem
My problem is: I’ve tried to upgrade to Mautic 2.15.3 (via web interface and then via command line) without success.
Following https://www.mautic.org/docs/en/tips/update-failed.html?_ga=2.95035164.1471250511.1571699534-1885548884.1571699534 I cannot
Now when I access mautic in the browser I got the error:
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.
These errors are showing in the log:
[2019-10-22 02:51:47] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Compile Error: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’)” at /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) at /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"}
[2019-10-22 02:52:44] mautic.WARNING: PHP Warning - require(/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {“className”:“Mautic\PluginBundle\Entity\Plugin”,“classMetadata”:"[object] (Doctrine\ORM\Mapping\ClassMetadata: Doctrine\ORM\Mapping\ClassMetadataInfo@000000005ade103400007fc0d799b856)",“proxyClassName”:“Proxies\CG\Mautic\PluginBundle\Entity\Plugin”,“fileName”:"/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php"}
[2019-10-22 02:52:44] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2019-10-22 02:52:44] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2019-10-22 02:52:44] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Compile Error: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’)” at /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) at /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"}
[2019-10-22 02:53:04] mautic.WARNING: PHP Warning - require(/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {“className”:“Mautic\PluginBundle\Entity\Plugin”,“classMetadata”:"[object] (Doctrine\ORM\Mapping\ClassMetadata: Doctrine\ORM\Mapping\ClassMetadataInfo@000000003e31526500007fc0c30122d4)",“proxyClassName”:“Proxies\CG\Mautic\PluginBundle\Entity\Plugin”,“fileName”:"/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php"}
[2019-10-22 02:53:04] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2019-10-22 02:53:04] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2019-10-22 02:53:04] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Compile Error: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’)” at /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) at /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"}
[2019-10-22 02:53:33] mautic.WARNING: PHP Warning - require(/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {“className”:“Mautic\PluginBundle\Entity\Plugin”,“classMetadata”:"[object] (Doctrine\ORM\Mapping\ClassMetadata: Doctrine\ORM\Mapping\ClassMetadataInfo@0000000006d5106c00007fc0bde13dec)",“proxyClassName”:“Proxies\CG\Mautic\PluginBundle\Entity\Plugin”,“fileName”:"/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php"}
[2019-10-22 02:53:33] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2019-10-22 02:53:33] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) - in file /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2019-10-22 02:53:33] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Compile Error: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’)” at /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: require(): Failed opening required ‘/var/www/mautic.services.byclosure.com/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php’ (include_path=’.:/usr/share/php:/usr/share/pear:’) at /var/www/mautic.services.byclosure.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"}
Steps I have tried to fix the problem:
$ sudo php app/console cache:clear
// Clearing the cache for the prod environment with debug false
[OK] Cache for the “prod” environment (debug=false) was successfully cleared.
$ sudo php app/console mautic:update:find
Great! You are running the current version of Mautic.
$ sudo php app/console mautic:update:apply
Are you sure you wish to update Mautic to the latest version? y
Step 1 [->--------------------------] Loading update information…
Could not read the cached update data to apply the update.