Project

General

Profile

Actions

Bug #79386

closed

composer install fails on windows when basedir has more than 32 chars

Added by Markus Opahle about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
composer
Target version:
-
Start date:
2017-01-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #81968: Filename too long / Installation via Composer broken on Azure Web App ServicesClosed2017-07-26

Actions
Actions #1

Updated by Riny van Tiggelen about 7 years ago

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
Actions #2

Updated by Riccardo De Contardi over 6 years ago

  • Related to Bug #81968: Filename too long / Installation via Composer broken on Azure Web App Services added
Actions #3

Updated by Riccardo De Contardi over 6 years ago

  • 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!

Actions

Also available in: Atom PDF