Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Upgrade wizard fails on second phase after validating all file permissions and tables

Upgrade wizard fails on second phase after validating all file permissions and tables 4 months 1 day ago #69274

  • dlogiudice
  • dlogiudice's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
Hello All, i am on suite CRM 7.6.8 and I am trying to upgrade with with file SuiteCRM-Upgrade-7.6.x-to-7.8.20.zip.
After passing the validations for file permissions and tables, which passes ok, I click on "next" and the page becomes blank/empty.
I have already triple-checked that all directories are on 755 (except the ones like upload, cache, etc that goes with 775 permission ) and all required files with 644, so it is not a permissions issue.
When I check the upgradeWizard.log log I don't see no errors with the below lines:
- No Permissions errors found!
- Finished database permissions check.
- setting session variables...
- At upload.php
- finding new files for upgrade

I gave up reading all and every post related to the upgrade.

Any suggestion please?????
many thanks!
The administrator has disabled public write access.

Upgrade wizard fails on second phase after validating all file permissions and tables 4 months 1 day ago #69275

  • amariussi
  • amariussi's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Posts: 1112
  • Thank you received: 256
  • Karma: 60
"No permissions errors found" has a different meaning (please don't ask!)

The reality is that, BEFORE you install, you have to set OS files/folders permissins correctly as well as OS owner/group correctly.

If you dont' do it correctly the installation may fail or, even worse, the whole system will be faulty, and yo may not even notice until it's too late!!!

Have you really checked correctly?

You mention only folders/files..

How about owner/group?

Do you have a crontab entry? Which are the owner/group that run your cron jobs? Are they the same as the ones you have set for all your SuiteCRM folder/files? (they must be the same!)

To reset permissions (not owner/group) you may try this:
github.com/amariussi/chperms
The administrator has disabled public write access.

Upgrade wizard fails on second phase after validating all file permissions and tables 4 months 1 day ago #69276

  • dlogiudice
  • dlogiudice's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
Many thanks for your quick response; I think permissions and owner/group are ok, altough I don't lose anything bu running the script for resetting permissions.
I will let you know how it ogoes.
thanks again!
The administrator has disabled public write access.

Upgrade wizard fails on second phase after validating all file permissions and tables 3 months 4 weeks ago #69431

  • dlogiudice
  • dlogiudice's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
Hello Amariussi, I did run the script altought it did not have any effects and I still have the same issue (upgrade wizzard doesnt pass the 2nd step after checking permissions.)
the user/gropup for the Suitecrm are the someones as apache uses and all files permissions are ok.
I feel pretty frustrated as I stuck without the change of upgrading the CRM...

Any and all help is much appreciated, many thanks for your continued support!.
amariussi wrote:
"No permissions errors found" has a different meaning (please don't ask!)

The reality is that, BEFORE you install, you have to set OS files/folders permissins correctly as well as OS owner/group correctly.

If you dont' do it correctly the installation may fail or, even worse, the whole system will be faulty, and yo may not even notice until it's too late!!!

Have you really checked correctly?

You mention only folders/files..

How about owner/group?

Do you have a crontab entry? Which are the owner/group that run your cron jobs? Are they the same as the ones you have set for all your SuiteCRM folder/files? (they must be the same!)

To reset permissions (not owner/group) you may try this:
github.com/amariussi/chperms
The administrator has disabled public write access.

Upgrade wizard fails on second phase after validating all file permissions and tables 3 months 2 weeks ago #69852

  • dlogiudice
  • dlogiudice's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
I continued to test that every permission, file/folder ownership is but still, cannot move past the 2nd screen of the upgrade wizard, so i am sutck without being able to keep SuiteCRm updated..., anyone might help with this??
any suggestion is much appreciated.
The administrator has disabled public write access.

Upgrade wizard fails on second phase after validating all file permissions and tables 3 months 2 weeks ago #69853

  • dlogiudice
  • dlogiudice's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
Just in case it helps troubleshoot, this is what I get at upgradeWizard.log each time I try to upgrade:

ue, 24 Jul 2018 13:32:32 -0700 [UpgradeWizard] - Upgrade started. At start.php
Tue, 24 Jul 2018 13:32:32 -0700 [UpgradeWizard] - at unlinkUWTempFiles()
Tue, 24 Jul 2018 13:32:32 -0700 [UpgradeWizard] - finished!
Tue, 24 Jul 2018 13:32:32 -0700 [UpgradeWizard] - resetting $_SESSION
Tue, 24 Jul 2018 13:32:40 -0700 [UpgradeWizard] - setting session variables...
Tue, 24 Jul 2018 13:32:40 -0700 [UpgradeWizard] - [At systemCheck.php]
Tue, 24 Jul 2018 13:32:40 -0700 [UpgradeWizard] - Starting file permission check...
Tue, 24 Jul 2018 13:40:52 -0700 [UpgradeWizard] - Finished file permission check.
Tue, 24 Jul 2018 13:40:52 -0700 [UpgradeWizard] - Starting database permissions check...
Tue, 24 Jul 2018 13:40:52 -0700 [UpgradeWizard] - Checking CREATE TABLE permissions...
Tue, 24 Jul 2018 13:40:52 -0700 [UpgradeWizard] - Checking INSERT INTO permissions...
Tue, 24 Jul 2018 13:40:52 -0700 [UpgradeWizard] - Checking UPDATE TABLE permissions...
Tue, 24 Jul 2018 13:40:52 -0700 [UpgradeWizard] - Checking SELECT permissions...
Tue, 24 Jul 2018 13:40:52 -0700 [UpgradeWizard] - Checking DELETE FROM permissions...
Tue, 24 Jul 2018 13:40:53 -0700 [UpgradeWizard] - Checking ALTER TABLE ADD COLUMN permissions...
Tue, 24 Jul 2018 13:40:53 -0700 [UpgradeWizard] - Checking ALTER TABLE CHANGE COLUMN permissions...
Tue, 24 Jul 2018 13:40:53 -0700 [UpgradeWizard] - Checking ALTER TABLE DROP COLUMN permissions...
Tue, 24 Jul 2018 13:40:53 -0700 [UpgradeWizard] - Checking DROP TABLE permissions...
Tue, 24 Jul 2018 13:40:53 -0700 [UpgradeWizard] - No permissions errors found!
Tue, 24 Jul 2018 13:40:53 -0700 [UpgradeWizard] - Finished database permissions check.
Tue, 24 Jul 2018 13:41:22 -0700 [UpgradeWizard] - setting session variables...
Tue, 24 Jul 2018 13:41:22 -0700 [UpgradeWizard] - At upload.php
Tue, 24 Jul 2018 13:41:22 -0700 [UpgradeWizard] - finding new files for upgrade
The administrator has disabled public write access.

Upgrade wizard fails on second phase after validating all file permissions and tables 3 months 2 weeks ago #69880

  • dlogiudice
  • dlogiudice's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
I was finally able to find the issue in be able to upgrade my instance.
I am posting the solution for the benefit of the community.
It turns out that not only permissions in ownership needed to be ok.
Also, each time that the operation failed you had to go and delete the dir /cache/upgrades in order to start over for an installation.
The culprit of not being able to go pass the second phase turned out to be the contents of the dir /upload/upgrades, which I renamed (in caser I needed to go back), anna soon as they made that I was able to get the menus to upload the upgrade file and proceed up to the ending , Voilá!
The administrator has disabled public write access.
The following user(s) said Thank You: pgr
Moderators: disytel
Time to create page: 0.078 seconds
Powered by Kunena Forum