Issue with Upgrading to 7.7 from 7.2

Hi,

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.

anyone experienced this before?

Thanks

Joelle

can you post the failures you get?

maybe try upgrading to 7.5, then to 7.6 see if that makes a difference

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:

  1. Open 2 windows in your browser for the SuiteCRM instance that you wish to upgrade.
    
  2. Browse to Admin->System->Upgrade Wizard
    
  3. In the second window browse to Admin->System->Repair, and run the Quick Repair and rebuild option. This clears the cache.
    
  4. Now you can return to the Upgrade Wizard, and you should not get any files with bad permissions. Finish the upgrade wizard process.
    
  5. 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.
    

Hopefully this will help a few other people:)

Hi Guys,

There is no update available from 7.4 to 7.6…

Have tried the other solution, without success, it still gives me the failures. Have attached them here (bit too long to paste!)

Any ideas on how to fix this?

Thanks

Joelle

Hello,

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.

Good luck with the upgrades!

Hi,

Have tried upgrading from a completely unmodified version of SuiteCRM and it’s still giving me the same faults, from 7.4 to 7.6.

As for the cron.php, I am not a developer so really unsure as to what I am supposed to do here?

Am really unsure as to how to progress from here at this stage…Any other ideas?

Thanks

Joelle

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.

Good luck.