Bug #79386
closed
composer install fails on windows when basedir has more than 32 chars
Added by Markus Opahle almost 8 years ago.
Updated almost 7 years ago.
Description
composer install fails with the following exception:
[ErrorException]
ZipArchive::extractTo(C:\abcdefghijklmnopqrstuvwxyzabc/vendor/composer/3596509a/TYPO3-TYPO3.CMS-37ad006\typo3\sysex
t\core\Documentation\Changelog\8.0/Feature-74319-CheckDefaultDatabaseCharacterSetDuringInstallationAndProvideUpdate
WizardForFixingDefaultCharacterSetOtherThanUtf-8.rst): failed to open stream: No such file or directory
It seems that the full path is to long. If I rename the basedir to C:\abcdefghijklmnopqrstuvwxyzab (removing the last char) the composer install command works.
TYPO3 Version ist 8.5.1
Same issue is still present with 8.6.1:
error: unable to create file typo3/sysext/core/Documentation/Changelog/8.0/Feature-74319-CheckDefaultDatabaseCharacterSetDuringInstallationAndProvideUpdateWizardForFixingDefaultCharacterSetOtherThanUtf-8.rst: Filename too long
error: unable to create file typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-but-images-not-included.xml.files/c3511df85d21bc578faf71c6a19eeb3ff44af370: Filename too long
error: unable to create file typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/importPagesAndRelatedTtContentWithImagesButWithoutStorageOnCaseInsensitiveFilesystems.csv: Filename too long
- Related to Bug #81968: Filename too long / Installation via Composer broken on Azure Web App Services added
- Status changed from New to Closed
This should have been solved with https://review.typo3.org/53599 that adds a script that checks the path length; I close this issue for now.
If you think that this is the wrong decision or experience the issue again, then please reopen it or open a new issue with a reference to this one; please add also a step-by-step guide about how to reproduce the issue. Thank you!
Also available in: Atom
PDF