Hosted on Cent OS7: I am trying to upgrade from 7.9.2 to 7.9.5 using the built in upgrade wizard. As soon as I go into the wizard, it begins on step 5: Confirm Layouts. I am unable to start at step 1. Is there any way to force the update to start at step 1 as would be expected?
Renaming the upload/upgrades folder to something different. This will eliminate left-overs from previous upgrades and make SuiteCRM recreate it. (later you can delete the renamed folder, when you are sure it’s safe).
Checking suitecrm.log and upgradeWizard.log for errors.
So I tried renaming both the upload, as well as the upgrades folder. Then I clicked on the upgrade wizard once again. Once again, it took me right to step 5. It did however re-create the upgrades folder as you said it would.
Thank you. I renamed upgrades as you said, then did a quick repair and rebuild, as well as other rebuilds that mentioned caching in the name. I also tried another browser completely, and then just for good measure, from another computer/browser altogether. Still goes right to step 5. Does it matter if I have the old SuiteCRM-7.9.2.zip file in the upload folder? Contents of upload below.
It doesn’t hurt to remove the installation zip from there, or rename it so it doesn’t have zip extension anymore. I know the installer scans for zips, though I would expect it to be only under upload/upgrades.
Maybe we can try some more generous permissions, and add the sticky bit.
Try (from your root of SuiteCRM)
chmod 2775 upload
And delete upload/upgrades directory once again, the retry.
If that still doesn’t work, I wonder if the installer “step” might be saved somewhere in the database, and it’s left in an inconsistent state from something that went wrong earlier…
Did all of those steps. Still goes right to step 5. I think you’re on to something…maybe it is stored somewhere in the DB. I do see 1 entry in the upgrade_history table in mysql. It refers to the old upgrade I did. There is a column names “installed” and it is set to 1. I would make a guess that means it was marked as successfully installed, but that’s only a guess.
The strange thing is, I don’t remember having this issue last time. The upgrade appeared to complete successfully last time.
Ok, finally got this figured out. The solutions was similar to your original instruction to delete the upgrade folder. However, the folder was not at the path suggested. The upgrade folder that I deleted this time was /var/www/html/cache/upgrades. Deleting this folder, allowed the upgrade to proceed as normal.
Thank you for your help on this. You definitely led me down the right path.
BTW, I’ve been reading through your blog for the past couple weeks. Nice to talk to the author. Thanks again.
I have a similar situation with upgrade from 7.9.1 --> 7.9.5 I get a blank screen during upgrade with no progress after that and logs show the following. (I have tried posting as a separate posting with no success) Can you help and point me in the right direction?