Support Forum
After clearing the cache and trying to update/install, I get the following error:
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
Hello there,
What is the package that causes the issue on your project? Please follow some topics below to fix the issue with Composer
https://stackoverflow.com/questions/70285340/composer-package-not-extracting-end-of-central-directory-signature-not-found
https://stackoverflow.com/questions/73948328/error-unzip-end-of-central-directory-signature-not-found
You can also contact your hosting support and ask them for help with this issue.
Hi Peter,
The issue is happening in my local environment
I already tried:
"composer -rf vendor"
"composer clearcache"
"composer install"
The packages causing the issue are:
- mb-admin-columns
- mb-revision
- mb-settings-page
- meta-box-conditional-logic
- meta-box-group
- meta-box-include-exclude
- meta-box-show-hide
As additional info, I'm also getting:
unzip: cannot find zipfile directory in one of /Users/XXX/XXX/site/wp-content/plugins/XXX-options/vendor/composer/tmp-b7082532c873d6432960c80e93da5e51.zip or
/Users/XXX/XXX/wp-content/plugins/XXX-options/vendor/composer/tmp-b7082532c873d6432960c80e93da5e51.zip.zip, and cannot find /Users/XXX/XXX/wp-content/plugins/XXX-options/vendor/composer/tmp-b7082532c873d6432960c80e93da5e51.zip.ZIP, period.
Additional info:
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Can you please share us how do you structure your plugin, and also the content of your composer.json
(without the license key)?
Hi Tran,
Sorry for my late reply; I have had much on my plate lately.
I solved this by removing the composer.lock file, duh!
It seems that clearing the cache is not enough.
My composer.json file looks like this:
{
"repositories":[
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "composer",
"url": "https://packages.metabox.io/XXXXXXXXXXXXXXXXX"
}
],
"require": {
"wpackagist-plugin/meta-box": "^5",
"wpackagist-plugin/mb-relationships": "^1.3",
"wpackagist-plugin/meta-box-text-limiter": "dev-trunk",
"meta-box/mb-admin-columns": "dev-master",
"meta-box/mb-revision": "dev-master",
"meta-box/mb-settings-page": "dev-master",
"meta-box/meta-box-conditional-logic": "dev-master",
"meta-box/meta-box-group": "dev-master",
"meta-box/meta-box-include-exclude": "dev-master",
"meta-box/meta-box-show-hide": "dev-master",
"composer/installers": "^1"
},
"extra": {
"installer-paths": {
"vendor/meta-box/{$name}": ["vendor:wpackagist-plugin", "vendor:meta-box"]
}
},
"autoload": {
"files": [
"vendor/meta-box/meta-box/meta-box.php",
"vendor/meta-box/mb-relationships/mb-relationships.php",
"vendor/meta-box/meta-box-text-limiter/text-limiter.php",
"vendor/meta-box/mb-admin-columns/mb-admin-columns.php",
"vendor/meta-box/mb-revision/mb-revision.php",
"vendor/meta-box/mb-settings-page/mb-settings-page.php",
"vendor/meta-box/meta-box-conditional-logic/meta-box-conditional-logic.php",
"vendor/meta-box/meta-box-group/meta-box-group.php",
"vendor/meta-box/meta-box-include-exclude/meta-box-include-exclude.php",
"vendor/meta-box/meta-box-show-hide/meta-box-show-hide.php"
]
},
"config": {
"allow-plugins": {
"composer/installers": true
}
}
}
You can close this now!