UpG 7.10 to 7.10.1 Error: Specified Directory for zip file ... does not exist

When I upgrade through the upgrade wizard:
Specified directory ‘’ for zip file ‘upload://SuiteCRM-Upgrade-7.10-to-7.10.1.zip’ extraction does not exist.

Currently: Version 7.10
Sugar Version 6.5.25 (Build 344)

php 7.0
max_execution_time 90
max_input_time 90
memory_limit 512M
post_max_size 64M

  • If you also upgraded PHP, you might be missing enabling zip modules in php.ini

  • check permissions on upload directory

  • clear any leftovers from previous failed upgrades in upload/upgrades and try again

Thank you. No help.

Permissions for upload dir is 775
deleted all old upgrade files from upload directory and upgrades/patch folders
I believe zip is installed properly

php.ini


zip
Zip enabled
Zip version 1.13.5
Libzip version 1.1.2

Phar: PHP Archive support enabled
Phar EXT version 2.0.2
Phar API version 1.1.1
SVN revision $Id: 9d91fd26ae99260111b934cc25174387d4bd7059 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression enabled
bzip2 compression disabled (install pecl/bz2)
OpenSSL support enabled

That error you mention in the first post, is it showing on screen, or in a log? Which one?

Please check

suitecrm.log
php_errors.log
upgradeWizard.log

for any errors at the time of failure. Thanks

Specified directory ‘’ for zip file ‘upload://SuiteCRM-Upgrade-7.10-to-7.10.1.zip’ extraction does not exist.

Shows up on the screen. The file uploads properly to the upload directly with 644 permissions, but doesn’t unzip. I thought the // in the filename Upluad:// might be the problem so I tool out the / after upload in the config.php file – no change.

No entry in suitecrm.log related to this error

Don’t forget looking in all the logs.

But meanwhile, you can also try testing the zip from the command-line (integrity test) - look it up, but I think it’s “unzip -t”

Or go ahead and re-download it, this time from another site:

wget https://sourceforge.net/projects/suitecrm/files/upgrades/SuiteCRM-Upgrade-7.10-to-7.10.1.zip/download

This shows up in the logs when I try to run the upgrade

06-Mar-2018 17:16:35 UTC] PHP Warning: Declaration of ListViewPackages::setup($data, $file, $where, $params = Array, $offset = 0, $limit = -1, $filter_fields = Array, $id_field = ‘id’) should be compatible with ListViewDisplay::setup($seed, $file, $where, $params = Array, $offset = 0, $limit = -1, $filter_fields = Array, $id_field = ‘id’, $id = NULL) in /home/ctobvaluecrm/public_html/crm77/ModuleInstall/PackageManager/ListViewPackages.php on line 42
[06-Mar-2018 17:16:35 UTC] PHP Warning: chown(): Unable to find uid for ctobvalue in /home/ctobvaluecrm/public_html/crm77/include/utils/sugar_file_utils.php on line 330

Check what you have in your config.php, array default_permissions. The user name there doesn’t seem to match your current install. I belive this will solve your zip issue.

And you can also apply this fix for the other warning: https://github.com/salesagility/SuiteCRM/pull/5341/files

Funny, because you need to able to upgrade, and that upgrade is the one that fixes that issue! :evil:

SOLVED:
There were some problems in config.php - when we migrated from a different server,
I found some issues in teh config.php file. It still has Plesk user and group names in it
‘default_permissions’ =>
array (
‘dir_mode’ => 1517,
‘file_mode’ => 420,
‘user’ => ‘ctobvalue’,
‘group’ => ‘psacln’,
),

… it was a loose nut behind the wheel.
Thanks for all your help.