I’ve installed version 7.2 through Installatron (latest version they offer), and am now trying to upgrade to 7.7.8, but am experiencing issues. I’ve been doing this via the upgrade wizard in the admin panel, please let me know if there’s a better way to do it.
Is there a straight upgrade available or am I right in thinking I need to do this gradually? I tried doing this, but all goes wrong when I try to go from 7.4 to 7.6, basically gives me a whole page of failures.
Having carried out a few upgrades, an annoying ‘gotcha’ that I’ve found appears to apply to numerous upgrades all the way up to and beyond 7.7
The problem is that if anyone is accessing the instance then caching occurs…this includes trying to upgrade via the web interface! However, the repair functionality can be used to clear all of the cache. Therefore the solution is:
Open 2 windows in your browser for the SuiteCRM instance that you wish to upgrade.
Browse to Admin->System->Upgrade Wizard
In the second window browse to Admin->System->Repair, and run the Quick Repair and rebuild option. This clears the cache.
Now you can return to the Upgrade Wizard, and you should not get any files with bad permissions. Finish the upgrade wizard process.
Return to the repair window and repeat the Quick repair and rebuild process. You do not want any of the cached information causing corruption in your new upgraded instance.
Did you by any chance make any customization in the files u r trying to upgrade? It is just a guess but if you did then they might be creating a conflict.
If you have your cron jobs (Schedulers) set up as root they will provoke this kind of thing during installations and upgrades. They should be set up to run as your web server user, also.
It’s also better to disable them completely during any servicing operation. SuiteCRM needs to be improved to do this for you, but until it does, I recommend stopping cron or commenting out the call to cron.php in crontab during servicing.
To check which user your cron.php is running under, use
sudo crontab -l -u root
to see the crontab for user root, then
sudo crontab -l -u www-data
for that other user (or whatever your web server uses).
Please come back here and tell me where you have your cron.php line, please - I’m investigating this issue and I appreciate the feedback.
I’m sorry, the kind of advice I was giving really requires that you are able to open a command-line (like SSH) into your server and issue some commands. If you can’t do that, maybe you can try to contact Installatron and get them to have a look at my post above.
Anyway, if you don’t have somebody to help you technically, it’s unlikely you can have a good experience running SuiteCRM.