Upload of package SuiteCRM-8.2.2-7.12-migration.zip never completes 📦

Pretty much as the subject title says. It just “hangs” there with the indicator. But it just takes forever and never completes.

I did test and deleted the older upgrade package (v.7.13) and then downloaded that. It just took a few seconds and then it was uploaded and applied ready for upgrade.
But however for the SuiteCRM-8.2.2-7.12-migration.zip not much so.

So we can confirm that uploading in itself seems to be working, right?

I did increase the PHP settings values also to 300 seconds and 150 mb allowed upload as it will take a bit longer to upload the 133 MB zip package.
image
But no cigar… :smoking:

Any ideas? :thinking:

Thanks in advance!

Web server needs to be restarted after those changes. You can check if your values are effective in Admin / Diagnostics / phpinfo.

Your php_errors.log is also probably telling you what it’s choking on.

I did restart the server but with no real effect. It is also strange that it does upload and accept the 7.12 → 7.13 upgrade file. I mean that worked fine.

Hmm the diagnostic tool doesn’t complete either. Found this error:

[Wed Feb 15 16:17:27.065423 2023] [proxy_fcgi:error] [pid 1461:tid 140090189788736] [client 162.158.95.25:0] AH01071: Got error 'PHP message: PHP Warning:  filesize(): stat failed for cache/diagnostic/d6c209cf-cf6f-31be-8d56-63ecf78b44ee/diagnostic20230215-161720.zip in /var/www/vhosts/public_html/modules/Administration/DiagnosticDownload.php on line 61PHP message: PHP Warning:  readfile(cache/diagnostic/d6c209cf-cf6f-31be-8d56-63ecf78b44ee/diagnostic20230215-161720.zip): failed to open stream: No such file or directory in /var/www/vhosts/public_html/modules/Administration/DiagnosticDownload.php on line 71', referer: https://crm-domain-example.com/index.php
[Wed Feb 15 16:18:19.176678 2023] [proxy_fcgi:error] [pid 1461:tid 140090332399168] [client 162.158.95.25:0] AH01071: Got error 'PHP message: PHP Warning:  opendir(cache/diagnostic/2a110da1-19ae-3a66-444a-63ecf7e176de/diagnostic20230215-161819/): failed to open dir: No such file or directory in /var/www/vhosts/public_html/modules/Administration/DiagnosticRun.php on line 254', referer: https://crm-domain-example.com/index.php?module=Administration&action=Diagnostic

Not sure why it does that.

I figured out what was blocking the upload though:

So Cloudflare was the culprit of that.

image

1 Like

Hmm well…
“Please specify file and try again!”

Wed, 15 Feb 2023 18:05:15 +0100 [UpgradeWizard] - No permissions errors found!
Wed, 15 Feb 2023 18:05:15 +0100 [UpgradeWizard] - Finished database permissions check.
Wed, 15 Feb 2023 18:05:17 +0100 [UpgradeWizard] - setting session variables...
Wed, 15 Feb 2023 18:05:17 +0100 [UpgradeWizard] - At upload.php
Wed, 15 Feb 2023 18:05:17 +0100 [UpgradeWizard] - finding new files for upgrade
Wed, 15 Feb 2023 18:05:21 +0100 [UpgradeWizard] - *** UW using [  ] as source for patch files.
Wed, 15 Feb 2023 18:07:43 +0100 [UpgradeWizard] - setting session variables...
Wed, 15 Feb 2023 18:07:43 +0100 [UpgradeWizard] - At upload.php
Wed, 15 Feb 2023 18:07:43 +0100 [UpgradeWizard] - running upload
Wed, 15 Feb 2023 18:07:43 +0100 [UpgradeWizard] - ERROR: no file uploaded!
Wed, 15 Feb 2023 18:07:43 +0100 [UpgradeWizard] - finding new files for upgrade
Wed, 15 Feb 2023 18:07:48 +0100 [UpgradeWizard] - *** UW using [  ] as source for patch files.

I don’t think you’re following the instructions

You’re not supposed to upload that zip through the upgrade wizard, it’s something you upload to Linux and unzip in the command-prompt, and then copy into the appropriate place in the installation.

This is the last manual upgrade needed, I think. From this version onwards, SuiteCRM v8 has a proper (and improved) installer/upgrader.

2 Likes

Suddenly I think I am in-love with you @pgr :heart: , (no homo :joy: )
I spent countless hours so far trying to find the cause case on our servers.

That clear it all and explains it!
You just saved me a bunch of time. Thank you so much mate!

Kind regards

Hi, @pgr: do you know if there is specific documentation for the 7.13.x migration to 8.2.3? or the manual install you provided above is the same steps? thank you.

I would recommend using the procedure above, it says it’s for “8.x” versions, so that should include all the new ones.

1 Like

Thank you. After a few attempts it worked. I am still battling with an odd error in the inbound emails OAuth but that is a separate issue.
I have been reading Script-level failure in SuiteCRM 8 - inbound emails admin page is blank but no luck yet.