sudo -u www-data ./bin/console suitecrm:app:upgrade-finalize -m override
Please enter the version to move to: SuiteCRM-8.6.1
SuiteCRM Finalize Upgrade
============
Running: legacy-post-upgrade
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
step: legacy-post-upgrade | status: done
Post Upgrade process complete
Running: add-new-config-entries
step: add-new-config-entries | status: done
No new entries to add to the config file
Running: metadata-merge
step: metadata-merge | status: done
Metadata successfully merged
Running: run-migrations
step: run-migrations | status: done
No new migrations. Skipping
Running: finalize-clear-symfony-cache
step: finalize-clear-symfony-cache | status: done
Successfully cleared cache
Warning! Please re-set permissions after this upgrade step has completed
It made no difference.
Now I’ll try your other suggestions.
Okay so I copied both vendor directories to my installation. Now I’m unable to log-in. After entering the username and password, I get the SuiteCRM logo spinning in the middle of the page.
I do get some errors in the logs:
[2024-08-08 15:57:13] php.WARNING: Warning: include_once(/var/www/suitecrm8/vendor/doctrine/orm/src/Mapping/EntityListenerResolver.php): failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): Warning: include_once(/var/www/suitecrm8/vendor/doctrine/orm/src/Mapping/EntityListenerResolver.php): failed to open stream: No such file or directory at /var/www/suitecrm8/cache/prod/ContainerOx7y1xL/App_KernelProdContainer.php:703)"} []
[2024-08-08 15:57:13] php.WARNING: Warning: include_once(): Failed opening '/var/www/suitecrm8/vendor/doctrine/orm/src/Mapping/EntityListenerResolver.php' for inclusion (include_path='/var/www/suitecrm8/public/legacy/include/..:.:/usr/share/php') {"exception":"[object] (ErrorException(code: 0): Warning: include_once(): Failed opening '/var/www/suitecrm8/vendor/doctrine/orm/src/Mapping/EntityListenerResolver.php' for inclusion (include_path='/var/www/suitecrm8/public/legacy/include/..:.:/usr/share/php') at /var/www/suitecrm8/cache/prod/ContainerOx7y1xL/App_KernelProdContainer.php:703)"} []
[2024-08-08 15:57:13] php.WARNING: Warning: include_once(/var/www/suitecrm8/vendor/doctrine/orm/src/Repository/RepositoryFactory.php): failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): Warning: include_once(/var/www/suitecrm8/vendor/doctrine/orm/src/Repository/RepositoryFactory.php): failed to open stream: No such file or directory at /var/www/suitecrm8/cache/prod/ContainerOx7y1xL/App_KernelProdContainer.php:706)"} []
[2024-08-08 15:57:13] php.WARNING: Warning: include_once(): Failed opening '/var/www/suitecrm8/vendor/doctrine/orm/src/Repository/RepositoryFactory.php' for inclusion (include_path='/var/www/suitecrm8/public/legacy/include/..:.:/usr/share/php') {"exception":"[object] (ErrorException(code: 0): Warning: include_once(): Failed opening '/var/www/suitecrm8/vendor/doctrine/orm/src/Repository/RepositoryFactory.php' for inclusion (include_path='/var/www/suitecrm8/public/legacy/include/..:.:/usr/share/php') at /var/www/suitecrm8/cache/prod/ContainerOx7y1xL/App_KernelProdContainer.php:706)"} []
[2024-08-08 15:57:13] php.CRITICAL: Uncaught Error: Call to undefined method Doctrine\ORM\Configuration::setSchemaIgnoreClasses() {"exception":"[object] (Error(code: 0): Call to undefined method Doctrine\\ORM\\Configuration::setSchemaIgnoreClasses() at /var/www/suitecrm8/cache/prod/ContainerOx7y1xL/App_KernelProdContainer.php:728)"} []
[2024-08-08 15:57:13] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "setSchemaIgnoreClasses" of class "Doctrine\ORM\Configuration"." at /var/www/suitecrm8/cache/prod/ContainerOx7y1xL/App_KernelProdContainer.php line 728 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"setSchemaIgnoreClasses\" of class \"Doctrine\\ORM\\Configuration\". at /var/www/suitecrm8/cache/prod/ContainerOx7y1xL/App_KernelProdContainer.php:728)"} []
[2024-08-08 15:57:13] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/suitecrm8/vendor/api-platform/core/src/Action/ExceptionAction.php:58)"} []
I ran that but it did NOT solve the page not displaying properly
sudo -u www-data ./bin/console cache:clear
// Clearing the cache for the prod environment with debug false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.