upload package Sugar 6.4.0

Hello

I've upgraded my version of SugarCRM from 6.3.0 to 6.4.0 without any problems.

However, now, when i try to upload a package to upgrade from 6.4.0 to 6.5.0, I have the answer :

Please specify a file and try again!

It is the first time i've got this issue since i've upgraded to 6.1.7 6.2.6 6.3.0 6.4.0.

file_uploads is on

upload_max_filesize is set to 60M

And I haven't changed the rights in the folder SugarCRM.

Could you help me to upgrade ?

Thank you

  • Hi yohann,

    you may want to try deleting the content of your cache folder. If that does not help, please post the corresponding part of your upgradewizard.log

    Greets,

    Mark

  • Thank you for your quick answer !

    Are there any consequences that can be due to the deletion of the content of this folder?

  • Hi yohann,

    prior to Sugar 6.4, the upload and blowfish (encrypted passwords for external accounts) were stored in cache, but those got moved out, so you can delete the content without a problem. The first page call to SugarCRM will take a long time though, as the cache will be rebuilt then.

    Greets,

    Mark

  • I Did the deletion but the upgrade is still impossible with the same error.

    This is the content of the UpgradeWizard log File :

    Mon, 01 Feb 2016 15:21:17 +0100 [UpgradeWizard] - setting session variables...

    Mon, 01 Feb 2016 15:21:17 +0100 [UpgradeWizard] - -----------------------------------------------------------------------------

    Mon, 01 Feb 2016 15:21:17 +0100 [UpgradeWizard] - Upgrade started. At start.php

    Mon, 01 Feb 2016 15:21:17 +0100 [UpgradeWizard] - at unlinkUWTempFiles()

    Mon, 01 Feb 2016 15:21:17 +0100 [UpgradeWizard] - finished!

    Mon, 01 Feb 2016 15:21:17 +0100 [UpgradeWizard] - resetting $_SESSION

    Mon, 01 Feb 2016 15:21:22 +0100 [UpgradeWizard] - setting session variables...

    Mon, 01 Feb 2016 15:21:22 +0100 [UpgradeWizard] - [At systemCheck.php]

    Mon, 01 Feb 2016 15:21:22 +0100 [UpgradeWizard] - Starting file permission check...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Finished file permission check.

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Starting database permissions check...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking CREATE TABLE permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking INSERT INTO permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking UPDATE TABLE permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking SELECT permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking DELETE FROM permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking ALTER TABLE ADD COLUMN permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking ALTER TABLE CHANGE COLUMN permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking ALTER TABLE DROP COLUMN permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Checking DROP TABLE permissions...

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - No permissions errors found!

    Mon, 01 Feb 2016 15:21:31 +0100 [UpgradeWizard] - Finished database permissions check.

    Mon, 01 Feb 2016 15:21:51 +0100 [UpgradeWizard] - setting session variables...

    Mon, 01 Feb 2016 15:21:51 +0100 [UpgradeWizard] - At upload.php

    Mon, 01 Feb 2016 15:21:51 +0100 [UpgradeWizard] - finding new files for upgrade

    Mon, 01 Feb 2016 15:21:51 +0100 [UpgradeWizard] - *** UW using [  ] as source for patch files.

    Mon, 01 Feb 2016 15:22:23 +0100 [UpgradeWizard] - setting session variables...

    Mon, 01 Feb 2016 15:22:23 +0100 [UpgradeWizard] - At upload.php

    Mon, 01 Feb 2016 15:22:23 +0100 [UpgradeWizard] - running upload

    Mon, 01 Feb 2016 15:22:23 +0100 [UpgradeWizard] - ERROR: no file uploaded!

    Mon, 01 Feb 2016 15:22:23 +0100 [UpgradeWizard] - finding new files for upgrade

    Mon, 01 Feb 2016 15:22:23 +0100 [UpgradeWizard] - *** UW using [  ] as source for patch files.

  • Hi yohann,

    you may want to look in your php log (or apache log when on linux).

    also, check your post_max parameter in your php.ini as this also needs to be increased:

    http://support.sugarcrm.com/Knowledge_Base/Administration/Install/Troubleshooting_Upgrade_File_Upload_Failure/

    Greets,

    Mark

  • Thank you for your advice, I tried those two options, but t didn't solve my problem.

    I rememberd that the website of SugarCRM advises to create a copy of the system we intend to upgrade.

    Then I tried to install a new version of SugarCRM 3.0 with my database. And i upgrade to 4.5 instead of 4.0.Then, I could easily upgrade to 6.5.22. From 6.4.5 this problem curiously doesn't appears or in the new folder, something -but not the permissions- makes the upgrade impossible.

    In the new system, at 6.5.22 : Everything works except the downloading of documents uploaded (ex pdf, docx ...)

    I wonder if it is due to the fact that these documents are kept in the system folder (But I looked for my documents in my initial folder but I didn't find them, so I am not sure that files like .docx are kept on the system folder and not in the database)

    I guess that it is the only problem that prevents me from using the new system I have installed instead of the former.

    There is also another problem, less important, but it still exists : I cand read my mails from the tool inside the website.

    Do you have an idea of where this problem could be from?

    Thank you

  • Hi yohann,

    your uploads are held in the file system, either under <sugar-root>/cache/upload (before 6.4) or in <sugar-root>/upload (6.4 and beyond). The fuiles are not saved with their original name, so you cannot identify them that way.

    It should work if you copy your content from your backup upload folder to the new one after upgrading.

    Greets,

    Mark