I’m currently stuck upgrading SuiteCRM 7.14.x → 7.15.x and I’m hoping someone can clarify the correct and supported upgrade procedure, especially regarding PHP version switching.
I’ve successfully upgraded through many previous versions (7.6 → 7.7 →7.8 → 7.9 → 7.10 → 7.11 → 7.12 → 7.14), so I’m familiar with the Upgrade Wizard and general upgrade process. This particular step consistently fails.
Environment
Current SuiteCRM version: 7.14.x (tested 7.14.5, 7.14.6, 7.14.8)
When running the upgrade. The browser screen will stay on “file copying in progress“. It doesn’t matter which browser I user. I tried Firefox ande Edge.
Eventually, after 5 minutes (max age timer, and upload time are set to 1 hour) I will get an HTTP 500 error. Even when rebooting the server, the suitecrm instance isn’t available anymore. The HTTP error 500 page will always be presented. Even when I try to delete cookies, doesn’t make any difference.
I had problems too on updating 7.14 to 7.15 with apache and php-fpm, the 7.15 update ran into an timout because it took a little bit too long. You may have to wait more than 5 minutes for the update to complete.
Had to increase the timout in /etc/apache2/apache2.conf
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 900
I have the same problem on several servers and I found that the backup of the files in the update process is very, very (did I say: very) slow. The update from 7.14.8 to 7.14.9 always goes without problems.
Update to 7.15.2 on my home server needs 5 minutes and setting timout higher did help.
On a server hosted by a provider (netcup) it was very slow and run for over 3 hours (sic!) now. It works with refreshing the tab every 2 minutes even after the 500 error and I can see in the upgradeWizard.log that it is going forward:
I stopped the wizard, restored the 7.14.9 backup and tried the silent upgrade (CLI) and it works perfect.
I get:
[Exec] Done in 26.268s
➜ Upgrade Complete!
ERROR: Use of “self” in callables is deprecated
in /suitecrm-test.laaw.nrw/suitecrm-test/vendor/consolidation/robo/src/Task/Base/Exec.php:66