Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer installation fails at 96/98 #48

Open
aaxc opened this issue Jan 28, 2022 · 3 comments
Open

Composer installation fails at 96/98 #48

aaxc opened this issue Jan 28, 2022 · 3 comments

Comments

@aaxc
Copy link

aaxc commented Jan 28, 2022

Hello, I'm trying to install a fresh version of TYPO3 v11 via the composer, but I keep getting fails all the time:

$ composer create-project typo3/cms-base-distribution typo3project
Creating a "typo3/cms-base-distribution" project at "./typo3project"
Installing typo3/cms-base-distribution (v11.5.0)
  - Installing typo3/cms-base-distribution (v11.5.0): Extracting archive
Created project in /mnt/d/Work/LU/TYPO3_V11/typo3project
Loading composer repositories with package information
Updating dependencies
Lock file operations: 100 installs, 0 updates, 0 removals
  - Locking bacon/bacon-qr-code (2.0.4)
  - Locking christian-riesen/base32 (1.6.0)
  - Locking dasprid/enum (1.0.3)
  - Locking doctrine/annotations (1.13.2)
  - Locking doctrine/cache (2.1.1)
  - Locking doctrine/dbal (2.13.7)
  - Locking doctrine/deprecations (v0.5.3)
  - Locking doctrine/event-manager (1.1.1)
  - Locking doctrine/instantiator (1.4.0)
  - Locking doctrine/lexer (1.2.2)
  - Locking egulias/email-validator (3.1.2)
  - Locking enshrined/svg-sanitize (0.14.1)
  - Locking guzzlehttp/guzzle (7.4.1)
  - Locking guzzlehttp/promises (1.5.1)
  - Locking guzzlehttp/psr7 (2.1.0)
  - Locking helhum/config-loader (v0.12.4)
  - Locking helhum/typo3-console (v7.0.5)
  - Locking lolli42/finediff (1.0.0)
  - Locking masterminds/html5 (2.7.5)
  - Locking nikic/php-parser (v4.13.2)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.3.0)
  - Locking phpdocumentor/type-resolver (1.6.0)
  - Locking psr/cache (1.0.1)
  - Locking psr/container (1.1.2)
  - Locking psr/event-dispatcher (1.0.0)
  - Locking psr/http-client (1.0.1)
  - Locking psr/http-factory (1.0.1)
  - Locking psr/http-message (1.0.1)
  - Locking psr/http-server-handler (1.0.1)
  - Locking psr/http-server-middleware (1.0.1)
  - Locking psr/log (1.1.4)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking symfony/cache (v5.4.2)
  - Locking symfony/cache-contracts (v2.5.0)
  - Locking symfony/config (v5.4.2)
  - Locking symfony/console (v5.4.2)
  - Locking symfony/dependency-injection (v5.4.2)
  - Locking symfony/deprecation-contracts (v2.5.0)
  - Locking symfony/event-dispatcher (v5.4.0)
  - Locking symfony/event-dispatcher-contracts (v2.5.0)
  - Locking symfony/expression-language (v5.4.0)
  - Locking symfony/filesystem (v5.4.0)
  - Locking symfony/finder (v5.4.2)
  - Locking symfony/http-foundation (v5.4.2)
  - Locking symfony/lock (v5.4.2)
  - Locking symfony/mailer (v5.4.2)
  - Locking symfony/mime (v5.4.2)
  - Locking symfony/options-resolver (v5.4.0)
  - Locking symfony/polyfill-ctype (v1.24.0)
  - Locking symfony/polyfill-intl-grapheme (v1.24.0)
  - Locking symfony/polyfill-intl-icu (v1.24.0)
  - Locking symfony/polyfill-intl-idn (v1.24.0)
  - Locking symfony/polyfill-intl-normalizer (v1.24.0)
  - Locking symfony/polyfill-mbstring (v1.24.0)
  - Locking symfony/polyfill-php72 (v1.24.0)
  - Locking symfony/polyfill-php73 (v1.24.0)
  - Locking symfony/polyfill-php80 (v1.24.0)
  - Locking symfony/polyfill-php81 (v1.24.0)
  - Locking symfony/process (v5.4.2)
  - Locking symfony/property-access (v5.4.2)
  - Locking symfony/property-info (v5.4.2)
  - Locking symfony/rate-limiter (v5.4.2)
  - Locking symfony/routing (v5.4.0)
  - Locking symfony/service-contracts (v2.5.0)
  - Locking symfony/string (v5.4.2)
  - Locking symfony/var-exporter (v5.4.2)
  - Locking symfony/yaml (v5.4.2)
  - Locking typo3/class-alias-loader (v1.1.3)
  - Locking typo3/cms-backend (v11.5.5)
  - Locking typo3/cms-belog (v11.5.5)
  - Locking typo3/cms-beuser (v11.5.5)
  - Locking typo3/cms-cli (3.1.0)
  - Locking typo3/cms-composer-installers (v3.1.2)
  - Locking typo3/cms-core (v11.5.5)
  - Locking typo3/cms-dashboard (v11.5.5)
  - Locking typo3/cms-extbase (v11.5.5)
  - Locking typo3/cms-extensionmanager (v11.5.5)
  - Locking typo3/cms-felogin (v11.5.5)
  - Locking typo3/cms-filelist (v11.5.5)
  - Locking typo3/cms-fluid (v11.5.5)
  - Locking typo3/cms-fluid-styled-content (v11.5.5)
  - Locking typo3/cms-form (v11.5.5)
  - Locking typo3/cms-frontend (v11.5.5)
  - Locking typo3/cms-impexp (v11.5.5)
  - Locking typo3/cms-info (v11.5.5)
  - Locking typo3/cms-install (v11.5.5)
  - Locking typo3/cms-recordlist (v11.5.5)
  - Locking typo3/cms-rte-ckeditor (v11.5.5)
  - Locking typo3/cms-seo (v11.5.5)
  - Locking typo3/cms-setup (v11.5.5)
  - Locking typo3/cms-sys-note (v11.5.5)
  - Locking typo3/cms-t3editor (v11.5.5)
  - Locking typo3/cms-tstemplate (v11.5.5)
  - Locking typo3/cms-viewpage (v11.5.5)
  - Locking typo3/html-sanitizer (v2.0.13)
  - Locking typo3/phar-stream-wrapper (v3.1.7)
  - Locking typo3/symfony-psr-event-dispatcher-adapter (v2.1.0)
  - Locking typo3fluid/fluid (2.7.1)
  - Locking webmozart/assert (1.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 100 installs, 0 updates, 0 removals
  - Downloading typo3/cms-composer-installers (v3.1.2)
  - Downloading typo3/class-alias-loader (v1.1.3)
  - Downloading dasprid/enum (1.0.3)
  - Downloading bacon/bacon-qr-code (2.0.4)
  - Downloading christian-riesen/base32 (1.6.0)
  - Downloading psr/cache (1.0.1)
  - Downloading doctrine/lexer (1.2.2)
  - Downloading doctrine/annotations (1.13.2)
  - Downloading doctrine/cache (2.1.1)
  - Downloading doctrine/deprecations (v0.5.3)
  - Downloading doctrine/event-manager (1.1.1)
  - Downloading doctrine/instantiator (1.4.0)
  - Downloading enshrined/svg-sanitize (0.14.1)
  - Downloading symfony/deprecation-contracts (v2.5.0)
  - Downloading psr/http-message (1.0.1)
  - Downloading psr/http-client (1.0.1)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading psr/http-factory (1.0.1)
  - Downloading guzzlehttp/psr7 (2.1.0)
  - Downloading guzzlehttp/promises (1.5.1)
  - Downloading guzzlehttp/guzzle (7.4.1)
  - Downloading typo3fluid/fluid (2.7.1)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading symfony/event-dispatcher-contracts (v2.5.0)
  - Downloading typo3/symfony-psr-event-dispatcher-adapter (v2.1.0)
  - Downloading typo3/phar-stream-wrapper (v3.1.7)
  - Downloading psr/log (1.1.4)
  - Downloading symfony/polyfill-ctype (v1.24.0)
  - Downloading masterminds/html5 (2.7.5)
  - Downloading typo3/html-sanitizer (v2.0.13)
  - Downloading typo3/cms-cli (3.1.0)
  - Downloading symfony/yaml (v5.4.2)
  - Downloading symfony/polyfill-php80 (v1.24.0)
  - Downloading symfony/routing (v5.4.0)
  - Downloading symfony/polyfill-php73 (v1.24.0)
  - Downloading symfony/options-resolver (v5.4.0)
  - Downloading symfony/lock (v5.4.2)
  - Downloading symfony/rate-limiter (v5.4.2)
  - Downloading symfony/polyfill-php81 (v1.24.0)
  - Downloading symfony/polyfill-mbstring (v1.24.0)
  - Downloading symfony/polyfill-intl-normalizer (v1.24.0)
  - Downloading symfony/polyfill-php72 (v1.24.0)
  - Downloading symfony/polyfill-intl-idn (v1.24.0)
  - Downloading symfony/polyfill-intl-icu (v1.24.0)
  - Downloading symfony/mime (v5.4.2)
  - Downloading psr/container (1.1.2)
  - Downloading symfony/service-contracts (v2.5.0)
  - Downloading symfony/event-dispatcher (v5.4.0)
  - Downloading egulias/email-validator (3.1.2)
  - Downloading symfony/mailer (v5.4.2)
  - Downloading symfony/http-foundation (v5.4.2)
  - Downloading symfony/finder (v5.4.2)
  - Downloading symfony/filesystem (v5.4.0)
  - Downloading symfony/var-exporter (v5.4.2)
  - Downloading symfony/cache-contracts (v2.5.0)
  - Downloading symfony/cache (v5.4.2)
  - Downloading symfony/expression-language (v5.4.0)
  - Downloading symfony/dependency-injection (v5.4.2)
  - Downloading symfony/polyfill-intl-grapheme (v1.24.0)
  - Downloading symfony/string (v5.4.2)
  - Downloading symfony/console (v5.4.2)
  - Downloading symfony/config (v5.4.2)
  - Downloading psr/http-server-handler (1.0.1)
  - Downloading psr/http-server-middleware (1.0.1)
  - Downloading nikic/php-parser (v4.13.2)
  - Downloading lolli42/finediff (1.0.0)
  - Downloading doctrine/dbal (2.13.7)
  - Downloading typo3/cms-core (v11.5.5)
  - Downloading symfony/property-info (v5.4.2)
  - Downloading symfony/property-access (v5.4.2)
  - Downloading phpdocumentor/reflection-common (2.2.0)
  - Downloading phpdocumentor/type-resolver (1.6.0)
  - Downloading webmozart/assert (1.10.0)
  - Downloading phpdocumentor/reflection-docblock (5.3.0)
  - Downloading typo3/cms-extbase (v11.5.5)
  - Downloading typo3/cms-fluid (v11.5.5)
  - Downloading typo3/cms-install (v11.5.5)
  - Downloading typo3/cms-frontend (v11.5.5)
  - Downloading typo3/cms-extensionmanager (v11.5.5)
  - Downloading typo3/cms-recordlist (v11.5.5)
  - Downloading typo3/cms-backend (v11.5.5)
  - Downloading symfony/process (v5.4.2)
  - Downloading helhum/config-loader (v0.12.4)
  - Downloading helhum/typo3-console (v7.0.5)
  - Downloading typo3/cms-belog (v11.5.5)
  - Downloading typo3/cms-beuser (v11.5.5)
  - Downloading typo3/cms-dashboard (v11.5.5)
  - Downloading typo3/cms-felogin (v11.5.5)
  - Downloading typo3/cms-filelist (v11.5.5)
  - Downloading typo3/cms-fluid-styled-content (v11.5.5)
  - Downloading typo3/cms-form (v11.5.5)
  - Downloading typo3/cms-impexp (v11.5.5)
  - Downloading typo3/cms-info (v11.5.5)
  - Downloading typo3/cms-rte-ckeditor (v11.5.5)
  - Downloading typo3/cms-seo (v11.5.5)
  - Downloading typo3/cms-setup (v11.5.5)
  - Downloading typo3/cms-sys-note (v11.5.5)
  - Downloading typo3/cms-t3editor (v11.5.5)
  - Downloading typo3/cms-tstemplate (v11.5.5)
  - Downloading typo3/cms-viewpage (v11.5.5)
  - Installing typo3/cms-composer-installers (v3.1.2): Extracting archive
typo3/cms-composer-installers contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "typo3/cms-composer-installers" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing typo3/class-alias-loader (v1.1.3): Extracting archive
typo3/class-alias-loader contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "typo3/class-alias-loader" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing dasprid/enum (1.0.3): Extracting archive
  - Installing bacon/bacon-qr-code (2.0.4): Extracting archive
  - Installing christian-riesen/base32 (1.6.0): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Installing doctrine/lexer (1.2.2): Extracting archive
  - Installing doctrine/annotations (1.13.2): Extracting archive
  - Installing doctrine/cache (2.1.1): Extracting archive
  - Installing doctrine/deprecations (v0.5.3): Extracting archive
  - Installing doctrine/event-manager (1.1.1): Extracting archive
  - Installing doctrine/instantiator (1.4.0): Extracting archive
  - Installing enshrined/svg-sanitize (0.14.1): Extracting archive
  - Installing symfony/deprecation-contracts (v2.5.0): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing psr/http-client (1.0.1): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-factory (1.0.1): Extracting archive
  - Installing guzzlehttp/psr7 (2.1.0): Extracting archive
  - Installing guzzlehttp/promises (1.5.1): Extracting archive
  - Installing guzzlehttp/guzzle (7.4.1): Extracting archive
  - Installing typo3fluid/fluid (2.7.1): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v2.5.0): Extracting archive
  - Installing typo3/symfony-psr-event-dispatcher-adapter (v2.1.0): Extracting archive
  - Installing typo3/phar-stream-wrapper (v3.1.7): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing symfony/polyfill-ctype (v1.24.0): Extracting archive
  - Installing masterminds/html5 (2.7.5): Extracting archive
  - Installing typo3/html-sanitizer (v2.0.13): Extracting archive
  - Installing typo3/cms-cli (3.1.0): Extracting archive
  - Installing symfony/yaml (v5.4.2): Extracting archive
  - Installing symfony/polyfill-php80 (v1.24.0): Extracting archive
  - Installing symfony/routing (v5.4.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.24.0): Extracting archive
  - Installing symfony/options-resolver (v5.4.0): Extracting archive
  - Installing symfony/lock (v5.4.2): Extracting archive
  - Installing symfony/rate-limiter (v5.4.2): Extracting archive
  - Installing symfony/polyfill-php81 (v1.24.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.24.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.24.0): Extracting archive
  - Installing symfony/polyfill-php72 (v1.24.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.24.0): Extracting archive
  - Installing symfony/polyfill-intl-icu (v1.24.0): Extracting archive
  - Installing symfony/mime (v5.4.2): Extracting archive
  - Installing psr/container (1.1.2): Extracting archive
  - Installing symfony/service-contracts (v2.5.0): Extracting archive
  - Installing symfony/event-dispatcher (v5.4.0): Extracting archive
  - Installing egulias/email-validator (3.1.2): Extracting archive
  - Installing symfony/mailer (v5.4.2): Extracting archive
  - Installing symfony/http-foundation (v5.4.2): Extracting archive
  - Installing symfony/finder (v5.4.2): Extracting archive
  - Installing symfony/filesystem (v5.4.0): Extracting archive
  - Installing symfony/var-exporter (v5.4.2): Extracting archive
  - Installing symfony/cache-contracts (v2.5.0): Extracting archive
  - Installing symfony/cache (v5.4.2): Extracting archive
  - Installing symfony/expression-language (v5.4.0): Extracting archive
  - Installing symfony/dependency-injection (v5.4.2): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.24.0): Extracting archive
  - Installing symfony/string (v5.4.2): Extracting archive
  - Installing symfony/console (v5.4.2): Extracting archive
  - Installing symfony/config (v5.4.2): Extracting archive
  - Installing psr/http-server-handler (1.0.1): Extracting archive
  - Installing psr/http-server-middleware (1.0.1): Extracting archive
  - Installing nikic/php-parser (v4.13.2): Extracting archive
  - Installing lolli42/finediff (1.0.0): Extracting archive
  - Installing doctrine/dbal (2.13.7): Extracting archive
  - Installing typo3/cms-core (v11.5.5): Extracting archive
  - Installing symfony/property-info (v5.4.2): Extracting archive
  - Installing symfony/property-access (v5.4.2): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing phpdocumentor/type-resolver (1.6.0): Extracting archive
  - Installing webmozart/assert (1.10.0): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
  - Installing typo3/cms-extbase (v11.5.5): Extracting archive
  - Installing typo3/cms-fluid (v11.5.5): Extracting archive
  - Installing typo3/cms-install (v11.5.5): Extracting archive
  - Installing typo3/cms-frontend (v11.5.5): Extracting archive
  - Installing typo3/cms-extensionmanager (v11.5.5): Extracting archive
  - Installing typo3/cms-recordlist (v11.5.5): Extracting archive
  - Installing typo3/cms-backend (v11.5.5): Extracting archive
  - Installing symfony/process (v5.4.2): Extracting archive
  - Installing helhum/config-loader (v0.12.4): Extracting archive
  - Installing helhum/typo3-console (v7.0.5): Extracting archive
  - Installing typo3/cms-belog (v11.5.5): Extracting archive
  - Installing typo3/cms-beuser (v11.5.5): Extracting archive
  - Installing typo3/cms-dashboard (v11.5.5): Extracting archive
  - Installing typo3/cms-felogin (v11.5.5): Extracting archive
  - Installing typo3/cms-filelist (v11.5.5): Extracting archive
  - Installing typo3/cms-fluid-styled-content (v11.5.5): Extracting archive
  - Installing typo3/cms-form (v11.5.5): Extracting archive
  - Installing typo3/cms-impexp (v11.5.5): Extracting archive
  - Installing typo3/cms-info (v11.5.5): Extracting archive
  - Installing typo3/cms-rte-ckeditor (v11.5.5): Extracting archive
  - Installing typo3/cms-seo (v11.5.5): Extracting archive
  - Installing typo3/cms-setup (v11.5.5): Extracting archive
  - Installing typo3/cms-sys-note (v11.5.5): Extracting archive
  - Installing typo3/cms-t3editor (v11.5.5): Extracting archive
  - Installing typo3/cms-tstemplate (v11.5.5): Extracting archive
  - Installing typo3/cms-viewpage (v11.5.5): Extracting archive
 96/98 [===========================>]  97%    Install of typo3/cms-core failed
    Install of typo3/cms-rte-ckeditor failed
The following exception is caused by a process timeout
Check https://getcomposer.org/doc/06-config.md#process-timeout for details

Sometimes I get a timeout error sometimes I don't, but it always stops at cms-rte-ckeditor

Running it on Win10 via the Ubuntu console.

@gilbertsoft
Copy link
Contributor

Thanks for your report. That's something related to your local environment, maybe a network issues. I'd suggest to run the command with the -vvv option to get a more verbose output.

@bmack
Copy link
Member

bmack commented Dec 6, 2022

Can you give us more feedback?

@vitd
Copy link

vitd commented Dec 12, 2022

This also happens to me on a regular basis. Environment: Win11 /WSL2 with Ubuntu 22.04 / PHP7.4. This has something to do with the underlying file system. Relevant output from the composer call is below. the thing is - it tries to delete files and can not do so. But: even if the vendor folder is not exstant before (a clean composer install) this happens.

  • Installing typo3/cms-core (v10.4.32): Extracting archive
    Executing async command (CWD): '/usr/bin/unzip' -qq '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/tmp-4e9bf0feabb2e96af01c854453e3d499' -d '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/e7881b65' - Installing typo3/cms-form (v10.4.32): Extracting archive
    Executing async command (CWD): '/usr/bin/unzip' -qq '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/tmp-5d0083ec771bbfa1866536f464313146' -d '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/a3aa2e91' - Installing typo3/cms-rte-ckeditor (v10.4.32): Extracting archive
    Executing async command (CWD): '/usr/bin/unzip' -qq '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/tmp-64d8d2e4ecfdee6cdd5a8faa5a7adf6c' -d '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/cbf5c1a0'
    Executing async command (CWD): rm -rf '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/a3aa2e91'
    Executing command (CWD): rm -rf '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/e7881b65'
    Install of typo3/cms-core failed
    Executing command (CWD): rm -rf '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/cbf5c1a0'
    Install of typo3/cms-rte-ckeditor failed
    Executing command (CWD): rm -rf '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/e7881b65'
    Executing command (CWD): rm -rf '/mnt/c/Users/chris/Websites/mysite/httpdocs/public/typo3/sysext/core'
    Executing command (CWD): rm -rf '/mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/cbf5c1a0'
    Downloading https://packagist.org/downloads/
    [201] https://packagist.org/downloads/

In Filesystem.php line 314:

[RuntimeException]
Could not delete /mnt/c/Users/chris/Websites/mysite/httpdocs/vendor/composer/cbf5c1a0/TYPO3-CMS-rte_ckedito
r-705b7bc/Resources/Public/JavaScript/Contrib/plugins/sourcedialog/lang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants