Updating to SuiteCRM 8.6.2 in Rocky 9

I was having SuiteCRM 8.6.1 on rocky 9 and it was working:

You can see SELinux labels are enforced, and the cache directory is empty:
image

I did:

sudo ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.6.2

The key word is “permission” need to reapply all the permissions, if i did not apply (I get Error 500):

and now the cache directory is not empty:

After I did:

chown -R apache:apache -R /var/www/html/suitecrm (it is working again)

I think a lot of the suitecrm installation errors has to do with permission, and the usage of cache and its permission is also important

1 Like

I had a duplicated picture. the second picture should be:

So everything is fine now, and that’s mostly a how to?

Yes, it seems like file permission is the biggest issue on the SuiteCRM side of things.
More issues here on the forums seem to be come from ‘creative’ system setups - that add extra layers of complexity and cause issues that have nothing to do with SuiteCRM anymore (Windows, reverse proxy, container / virtualization etc.).
I prefer fairly standard LAMP environments and have very little issues with installations / upgrades: