An issue was found on the implementation of the upgrade command between the versions 8.1.0
→ 8.1.1
.
The issue is that when upgrading SuiteCRM 8 for a second time (i.e if you had upgraded from 8.0.2
→ 8.0.4
→ 8.1.1
),
then you will have come across the following error after having ran:
./bin/console suitecrm:app:upgrade -t "<version>"
CRITICAL [php] Fatal Compile Error: require(): Failed opening required '/<pathtoSuiteCRM8>/cache/prod/ContainerZatgzYy/getConsole_ErrorListenerService.php'
(include_path='/<pathtoSuiteCRM8>/public/legacy/include/..:.:/usr/share/php')
["exception" => Symfony\Component\ErrorHandler\Error\FatalError^ { …}]
This issue is a result of Symfony cache clearing but then being called right after.
This issue can be resolved by re-setting permissions and ./bin/console/ clear:cache
within the SuiteCRM 8 root directory.
You should then be able to navigate to your application.