After doing the upgrade from 7.14.4 to 8.6.1, I am getting a page with no formatting. The Admin pages seems okay but all the rest or not displaying properly.
Iāve run composer install in the folder ā¦/suitecrm8/public and in ā¦/suitecrm8/public/legacy
Iāve run the āQuick Repair and Rebuildā but nothing has helped.
Before randomly resetting ownerships and permissions try to look for files where the ownership and permissions are actually wrong. This would be a sign that that is actually your problem, and if it is, it can be solved. Ownerships and permissions shouldnāt degrade on a correctly configured server.
After trying rebuild everything, I did get this error in the public/legacy/suitecrm.log
Tue Aug 6 18:18:44 2024 [93147][1][FATAL] Exception handling in /var/www/suitecrm8/public/legacy/include/MVC/Controller/SugarController.php:397
Tue Aug 6 18:18:44 2024 [93147][1][FATAL] Exception in Controller:
Tue Aug 6 18:18:45 2024 [93149][1][FATAL] Exception handling in /var/www/suitecrm8/public/legacy/include/MVC/Controller/SugarController.php:397
Tue Aug 6 18:18:45 2024 [93149][1][FATAL] Exception in Controller:
By ārandomlyā I meant that you are giving a command that changes thousands of files without first diagnosing whether there was actually a problem there, and in which file that problem was, and why.
The guide tells you to reset them initially, it doesnāt tell you that you need to keep doing it over and over. Degrading ownerships and permissions are always a sign of a badly configured server or badly executed maintenance. But it is not easy to get right, so itās a very common problem.
About your logs, did you also check php_errors.log?
Sorry for the basic question, but I need to make sure - did you remember to run the upgrade-finalize step?
Other than that, if your installation is very broken, and you mention that you ran composer install, thereās a simple thing you can do to eliminate that as a potential cause of trouble. Download the full installer for your version, and use the vendor directory inside that zip.
So:
rename your current vendor directory to something like vendor.BAK
unzip the full installer
copy the vendor directory in its entirety to your installation
Also do these steps for public/legacy/vendor
Reset ownerships and permissions if you broke them by running these commands as the wrong user. And now try the system again, see if it works, or at least, if you now have errors in logs. Good luck