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 fails to do anything #11961

Open
giosal opened this issue May 3, 2024 · 3 comments
Open

Composer fails to do anything #11961

giosal opened this issue May 3, 2024 · 3 comments

Comments

@giosal
Copy link

giosal commented May 3, 2024

Since yesterday my composer is not able to do anything... It starts the install or update and never finishes it without any error, more precisely, it stop at downloading packages.
Obviously, I've tried clearing the cache with both an integrated command and manual removal, removing vendor directory. And now I'm not even able to work, as the packages are not installed. Will have to create a VM to work with this.
Here's my composer.json

{
  "type": "project",
  "version": "2.0.3",
  "license": "proprietary",
  "require": {
    "php": "^8.3",
    "ext-gd": "*",
    "ext-iconv": "*",
    "ext-openssl": "*",
    "composer/package-versions-deprecated": "^1",
    "doctrine/annotations": "^2.0",
    "doctrine/common": "^3.4",
    "doctrine/dbal": "^3.8",
    "doctrine/doctrine-bundle": "^2.11",
    "doctrine/doctrine-fixtures-bundle": "^3.5",
    "doctrine/doctrine-migrations-bundle": "^3.3",
    "doctrine/orm": "^2.19",
    "endroid/qr-code": "^5.0",
    "endroid/qr-code-bundle": "^5.0",
    "friendsofsymfony/ckeditor-bundle": "^2.5",
    "gregwar/captcha-bundle": "^2.2",
    "knplabs/knp-paginator-bundle": "^v6.3",
    "league/iso3166": "^4.3",
    "phpdocumentor/reflection-docblock": "^5.3",
    "ramsey/uuid-doctrine": "^2.0",
    "symfony/apache-pack": "^1.0",
    "symfony/asset": "^6.4",
    "symfony/console": "^6.4",
    "symfony/dependency-injection": "^6.4",
    "symfony/dotenv": "^6.4",
    "symfony/error-handler": "^6.4",
    "symfony/event-dispatcher": "^6.4",
    "symfony/expression-language": "^6.4",
    "symfony/flex": "^2.4",
    "symfony/finder": "^6.4",
    "symfony/form": "^6.4",
    "symfony/framework-bundle": "^6.4",
    "symfony/http-foundation": "^6.4",
    "symfony/intl": "^6.4",
    "symfony/mailer": "^6.4",
    "symfony/maker-bundle": "^1.55",
    "symfony/monolog-bundle": "^3.10",
    "symfony/process": "^6.4",
    "symfony/property-access": "^6.4",
    "symfony/property-info": "^6.4",
    "symfony/routing": "^6.4",
    "symfony/security-bundle": "^6.4",
    "symfony/serializer": "^6.4",
    "symfony/translation": "^6.4",
    "symfony/twig-bridge": "^6.4",
    "symfony/twig-bundle": "^6.4",
    "symfony/validator": "^6.4",
    "symfony/web-link": "^6.4",
    "symfony/webpack-encore-bundle": "^2.1",
    "symfony/yaml": "^6.4",
    "symfonycasts/reset-password-bundle": "^1.20",
    "vich/uploader-bundle": "^2.3"
  },
  "require-dev": {
    "friendsofphp/php-cs-fixer": "^3.51",
    "phpstan/extension-installer": "^1.3",
    "phpstan/phpstan": "^1.10",
    "phpstan/phpstan-beberlei-assert": "^1.1",
    "phpstan/phpstan-doctrine": "^1.3",
    "phpstan/phpstan-phpunit": "^1.3",
    "phpstan/phpstan-symfony": "^1.3",
    "phpunit/php-code-coverage": "^10.0",
    "phpunit/phpunit": "^10.0",
    "rector/rector": "^1.0",
    "symfony/browser-kit": "^6.4",
    "symfony/css-selector": "^6.4",
    "symfony/debug-bundle": "^6.4",
    "symfony/phpunit-bridge": "^7.0",
    "symfony/stopwatch": "^6.4",
    "symfony/var-dumper": "^6.4",
    "symfony/web-profiler-bundle": "^6.4"
  },
  "config": {
    "platform": {
      "php": "8.3"
    },
    "preferred-install": {
      "*": "dist"
    },
    "sort-packages": true,
    "allow-plugins": {
      "symfony/flex": true,
      "phpstan/extension-installer": true,
      "endroid/installer": true,
      "symfony/runtime": true
    }
  },
  "autoload": {
    "psr-4": {
      "App\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "App\\Tests\\": "tests/"
    }
  },
  "replace": {
    "symfony/polyfill-iconv": "*",
    "symfony/polyfill-php83": "*",
    "symfony/polyfill-php74": "*",
    "symfony/polyfill-php56": "*"
  },
  "scripts": {
    "auto-scripts": {
      "cache:clear": "symfony-cmd",
      "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd",
      "assets:install %PUBLIC_DIR%": "symfony-cmd"
    },
    "post-install-cmd": [
      "@auto-scripts"
    ],
    "post-update-cmd": [
      "@auto-scripts"
    ]
  },
  "conflict": {
    "symfony/symfony": "*"
  },
  "extra": {
    "symfony": {
      "id": "01CANV7K9VTR6EE0Z743HS9FY8",
      "allow-contrib": false,
      "require": "6.4"
    }
  }
}

Here's the output of composer update -vvv:

Running 2.7.4 (2024-04-22 21:17:03) with PHP 8.3.6 on Linux / 6.8.0-31-generic
Reading ./composer.json (/home/giosal/iotlab/europrivacy-symfony4/composer.json)
Loading config file /home/giosal/.config/composer/config.json
Loading config file /home/giosal/.config/composer/auth.json
Loading config file ./composer.json (/home/giosal/iotlab/europrivacy-symfony4/composer.json)
Checked CA file /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a file.
Checked directory /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a directory.
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Reading /home/giosal/.config/composer/composer.json
Loading config file /home/giosal/.config/composer/config.json
Loading config file /home/giosal/.config/composer/auth.json
Loading config file /home/giosal/.config/composer/composer.json (/home/giosal/.config/composer/composer.json)
Loading config file /home/giosal/.config/composer/auth.json
Reading /home/giosal/.config/composer/auth.json
Reading /home/giosal/.config/composer/vendor/composer/installed.json
Loading plugin Symfony\Thanks\Thanks (from symfony/thanks, installed globally)
Reading ./composer.lock (/home/giosal/iotlab/europrivacy-symfony4/composer.lock)
Loading composer repositories with package information
Downloading https://repo.packagist.org/packages.json
[200] https://repo.packagist.org/packages.json

Here's the output of composer install -vvv

Running 2.7.4 (2024-04-22 21:17:03) with PHP 8.3.6 on Linux / 6.8.0-31-generic
Reading ./composer.json (/home/giosal/iotlab/europrivacy-symfony4/composer.json)
Loading config file /home/giosal/.config/composer/config.json
Loading config file /home/giosal/.config/composer/auth.json
Loading config file ./composer.json (/home/giosal/iotlab/europrivacy-symfony4/composer.json)
Checked CA file /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a file.
Checked directory /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a directory.
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Reading /home/giosal/.config/composer/composer.json
Loading config file /home/giosal/.config/composer/config.json
Loading config file /home/giosal/.config/composer/auth.json
Loading config file /home/giosal/.config/composer/composer.json (/home/giosal/.config/composer/composer.json)
Loading config file /home/giosal/.config/composer/auth.json
Reading /home/giosal/.config/composer/auth.json
Reading /home/giosal/.config/composer/vendor/composer/installed.json
Loading plugin Symfony\Thanks\Thanks (from symfony/thanks, installed globally)
Reading ./composer.lock (/home/giosal/iotlab/europrivacy-symfony4/composer.lock)
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Reading ./composer.lock (/home/giosal/iotlab/europrivacy-symfony4/composer.lock)
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
Built pool.
Generating rules
Resolving dependencies through SAT
Looking at all rules.

Dependency resolution completed in 0.002 seconds
Package operations: 156 installs, 0 updates, 0 removals
Installs: composer/package-versions-deprecated:1.11.99.5, endroid/installer:1.4.5, symfony/flex:v2.4.5, phpstan/phpstan:1.10.67, phpstan/extension-installer:1.3.1, dasprid/enum:1.0.5, bacon/bacon-qr-code:v3.0.0, brick/math:0.12.1, composer/pcre:3.1.3, psr/cache:3.0.0, doctrine/lexer:3.0.1, doctrine/annotations:2.0.1, symfony/polyfill-ctype:v1.29.0, symfony/polyfill-mbstring:v1.29.0, symfony/deprecation-contracts:v3.4.0, symfony/http-foundation:v6.4.7, psr/event-dispatcher:1.0.0, symfony/event-dispatcher-contracts:v3.4.2, symfony/event-dispatcher:v6.4.7, symfony/var-dumper:v6.4.7, psr/log:3.0.0, symfony/error-handler:v6.4.7, symfony/http-kernel:v6.4.0, psr/container:2.0.2, symfony/service-contracts:v3.4.2, doctrine/event-manager:2.0.0, doctrine/persistence:3.3.2, symfony/doctrine-bridge:v6.4.0, symfony/var-exporter:v6.4.0, symfony/dependency-injection:v6.4.7, symfony/polyfill-intl-normalizer:v1.29.0, symfony/polyfill-intl-grapheme:v1.29.0, symfony/string:v6.4.0, symfony/console:v6.4.7, symfony/filesystem:v6.4.0, symfony/config:v6.4.0, symfony/polyfill-php80:v1.29.0, symfony/polyfill-php72:v1.29.0, doctrine/instantiator:2.0.0, doctrine/inflector:2.0.10, doctrine/deprecations:1.1.3, doctrine/cache:2.2.0, doctrine/dbal:3.8.4, doctrine/common:3.4.4, doctrine/collections:2.2.2, doctrine/orm:2.19.4, symfony/routing:v6.4.7, symfony/finder:v6.4.0, symfony/cache-contracts:v3.4.2, symfony/cache:v6.4.0, symfony/framework-bundle:v6.4.7, doctrine/sql-formatter:1.2.0, doctrine/doctrine-bundle:2.12.0, doctrine/data-fixtures:1.7.0, doctrine/doctrine-fixtures-bundle:3.5.1, symfony/stopwatch:v6.4.7, doctrine/migrations:3.7.4, doctrine/doctrine-migrations-bundle:3.3.0, symfony/yaml:v6.4.7, twig/twig:v3.9.3, symfony/translation-contracts:v3.4.2, symfony/twig-bridge:v6.4.7, symfony/twig-bundle:v6.4.7, endroid/qr-code:5.0.8, endroid/qr-code-bundle:5.0.1, symfony/process:v6.4.7, symfony/polyfill-php81:v1.29.0, symfony/options-resolver:v6.4.0, sebastian/diff:5.1.1, composer/xdebug-handler:3.0.4, composer/semver:3.4.0, friendsofphp/php-cs-fixer:v3.54.0, symfony/property-info:v6.4.7, symfony/property-access:v6.4.7, symfony/polyfill-intl-icu:v1.29.0, symfony/form:v6.4.7, symfony/expression-language:v6.4.7, symfony/asset:v6.4.3, friendsofsymfony/ckeditor-bundle:2.5.0, symfony/translation:v6.4.7, gregwar/captcha:v1.2.1, gregwar/captcha-bundle:v2.2.0, knplabs/knp-components:v4.4.0, knplabs/knp-paginator-bundle:v6.3.0, league/iso3166:4.3.1, webmozart/assert:1.11.0, phpstan/phpdoc-parser:1.28.0, phpdocumentor/reflection-common:2.2.0, phpdocumentor/type-resolver:1.8.2, phpdocumentor/reflection-docblock:5.4.0, phpstan/phpstan-beberlei-assert:1.1.2, phpstan/phpstan-doctrine:1.3.69, phpstan/phpstan-phpunit:1.3.16, phpstan/phpstan-symfony:1.3.12, sebastian/version:4.0.1, sebastian/type:4.0.0, sebastian/recursion-context:5.0.0, sebastian/object-reflector:3.0.0, sebastian/object-enumerator:5.0.0, sebastian/global-state:6.0.2, sebastian/exporter:5.1.2, sebastian/environment:6.1.0, sebastian/comparator:5.0.1, sebastian/code-unit:2.0.0, sebastian/cli-parser:2.0.1, phpunit/php-timer:6.0.0, phpunit/php-text-template:3.0.1, phpunit/php-invoker:4.0.0, phpunit/php-file-iterator:4.1.0, theseer/tokenizer:1.2.3, nikic/php-parser:v5.0.2, sebastian/lines-of-code:2.0.2, sebastian/complexity:3.2.0, sebastian/code-unit-reverse-lookup:3.0.0, phpunit/php-code-coverage:10.1.14, phar-io/version:3.2.1, phar-io/manifest:2.0.4, myclabs/deep-copy:1.11.1, phpunit/phpunit:10.5.20, psr/clock:1.0.0, ramsey/collection:2.0.0, ramsey/uuid:4.7.6, ramsey/uuid-doctrine:2.0.0, rector/rector:1.0.4, symfony/apache-pack:v1.0.1, masterminds/html5:2.9.0, symfony/dom-crawler:v6.4.0, symfony/browser-kit:v6.4.7, symfony/css-selector:v6.4.7, symfony/debug-bundle:v6.4.7, symfony/dotenv:v6.4.7, symfony/intl:v6.4.7, symfony/polyfill-intl-idn:v1.29.0, symfony/mime:v6.4.0, egulias/email-validator:4.0.2, symfony/mailer:v6.4.7, symfony/maker-bundle:v1.59.0, monolog/monolog:3.6.0, symfony/monolog-bridge:v6.4.0, symfony/monolog-bundle:v3.10.0, symfony/phpunit-bridge:v7.0.7, symfony/password-hasher:v6.4.0, symfony/security-core:v6.4.0, symfony/security-http:v6.4.0, symfony/security-csrf:v6.4.0, symfony/clock:v6.4.0, symfony/security-bundle:v6.4.7, symfony/serializer:v6.4.7, symfony/validator:v6.4.7, psr/link:2.0.1, symfony/web-link:v6.4.7, symfony/web-profiler-bundle:v6.4.7, symfony/webpack-encore-bundle:v2.1.1, symfonycasts/reset-password-bundle:v1.21.0, jms/metadata:2.8.0, vich/uploader-bundle:2.3.3
  - Downloading composer/package-versions-deprecated (1.11.99.5)
Using GitHub token authentication
Downloading https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d
  - Downloading endroid/installer (1.4.5)
Downloading https://api.github.com/repos/endroid/installer/zipball/308051404c8370b9641cd61d86a464f2c6938265
  - Downloading symfony/flex (v2.4.5)
Downloading https://api.github.com/repos/symfony/flex/zipball/b0a405f40614c9f584b489d54f91091817b0e26e
  - Downloading phpstan/phpstan (1.10.67)
Downloading https://api.github.com/repos/phpstan/phpstan/zipball/16ddbe776f10da6a95ebd25de7c1dbed397dc493
  - Downloading phpstan/extension-installer (1.3.1)
Downloading https://api.github.com/repos/phpstan/extension-installer/zipball/f45734bfb9984c6c56c4486b71230355f066a58a
  - Downloading dasprid/enum (1.0.5)
Downloading https://api.github.com/repos/DASPRiD/Enum/zipball/6faf451159fb8ba4126b925ed2d78acfce0dc016
  - Downloading bacon/bacon-qr-code (v3.0.0)
Downloading https://api.github.com/repos/Bacon/BaconQrCode/zipball/510de6eca6248d77d31b339d62437cc995e2fb41
  - Downloading brick/math (0.12.1)
Downloading https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1
  - Downloading composer/pcre (3.1.3)
Downloading https://api.github.com/repos/composer/pcre/zipball/5b16e25a5355f1f3afdfc2f954a0a80aec4826a8
  - Downloading psr/cache (3.0.0)
Downloading https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf
  - Downloading doctrine/lexer (3.0.1)
Downloading https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd
  - Downloading doctrine/annotations (2.0.1)
Downloading https://api.github.com/repos/doctrine/annotations/zipball/e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f
  - Downloading symfony/polyfill-ctype (v1.29.0)
  - Downloading symfony/polyfill-mbstring (v1.29.0)
  - Downloading symfony/deprecation-contracts (v3.4.0)
  - Downloading symfony/http-foundation (v6.4.7)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading symfony/event-dispatcher-contracts (v3.4.2)
  - Downloading symfony/event-dispatcher (v6.4.7)
  - Downloading symfony/var-dumper (v6.4.7)
  - Downloading psr/log (3.0.0)
  - Downloading symfony/error-handler (v6.4.7)
  - Downloading symfony/http-kernel (v6.4.0)
  - Downloading psr/container (2.0.2)
  - Downloading symfony/service-contracts (v3.4.2)
  - Downloading doctrine/event-manager (2.0.0)
  - Downloading doctrine/persistence (3.3.2)
  - Downloading symfony/doctrine-bridge (v6.4.0)
  - Downloading symfony/var-exporter (v6.4.0)
  - Downloading symfony/dependency-injection (v6.4.7)
  - Downloading symfony/polyfill-intl-normalizer (v1.29.0)
  - Downloading symfony/polyfill-intl-grapheme (v1.29.0)
  - Downloading symfony/string (v6.4.0)
  - Downloading symfony/console (v6.4.7)
  - Downloading symfony/filesystem (v6.4.0)
  - Downloading symfony/config (v6.4.0)
  - Downloading symfony/polyfill-php80 (v1.29.0)
  - Downloading symfony/polyfill-php72 (v1.29.0)
  - Downloading doctrine/instantiator (2.0.0)
  - Downloading doctrine/inflector (2.0.10)
  - Downloading doctrine/deprecations (1.1.3)
  - Downloading doctrine/cache (2.2.0)
  - Downloading doctrine/dbal (3.8.4)
  - Downloading doctrine/common (3.4.4)
  - Downloading doctrine/collections (2.2.2)
  - Downloading doctrine/orm (2.19.4)
  - Downloading symfony/routing (v6.4.7)
  - Downloading symfony/finder (v6.4.0)
  - Downloading symfony/cache-contracts (v3.4.2)
  - Downloading symfony/cache (v6.4.0)
  - Downloading symfony/framework-bundle (v6.4.7)
  - Downloading doctrine/sql-formatter (1.2.0)
  - Downloading doctrine/doctrine-bundle (2.12.0)
  - Downloading doctrine/data-fixtures (1.7.0)
  - Downloading doctrine/doctrine-fixtures-bundle (3.5.1)
  - Downloading symfony/stopwatch (v6.4.7)
  - Downloading doctrine/migrations (3.7.4)
  - Downloading doctrine/doctrine-migrations-bundle (3.3.0)
  - Downloading symfony/yaml (v6.4.7)
  - Downloading twig/twig (v3.9.3)
  - Downloading symfony/translation-contracts (v3.4.2)
  - Downloading symfony/twig-bridge (v6.4.7)
  - Downloading symfony/twig-bundle (v6.4.7)
  - Downloading endroid/qr-code (5.0.8)
  - Downloading endroid/qr-code-bundle (5.0.1)
  - Downloading symfony/process (v6.4.7)
  - Downloading symfony/polyfill-php81 (v1.29.0)
  - Downloading symfony/options-resolver (v6.4.0)
  - Downloading sebastian/diff (5.1.1)
  - Downloading composer/xdebug-handler (3.0.4)
  - Downloading composer/semver (3.4.0)
  - Downloading friendsofphp/php-cs-fixer (v3.54.0)
  - Downloading symfony/property-info (v6.4.7)
  - Downloading symfony/property-access (v6.4.7)
  - Downloading symfony/polyfill-intl-icu (v1.29.0)
  - Downloading symfony/form (v6.4.7)
  - Downloading symfony/expression-language (v6.4.7)
  - Downloading symfony/asset (v6.4.3)
  - Downloading friendsofsymfony/ckeditor-bundle (2.5.0)
  - Downloading symfony/translation (v6.4.7)
  - Downloading gregwar/captcha (v1.2.1)
  - Downloading gregwar/captcha-bundle (v2.2.0)
  - Downloading knplabs/knp-components (v4.4.0)
  - Downloading knplabs/knp-paginator-bundle (v6.3.0)
  - Downloading league/iso3166 (4.3.1)
  - Downloading webmozart/assert (1.11.0)
  - Downloading phpstan/phpdoc-parser (1.28.0)
  - Downloading phpdocumentor/reflection-common (2.2.0)
  - Downloading phpdocumentor/type-resolver (1.8.2)
  - Downloading phpdocumentor/reflection-docblock (5.4.0)
  - Downloading phpstan/phpstan-beberlei-assert (1.1.2)
  - Downloading phpstan/phpstan-doctrine (1.3.69)
  - Downloading phpstan/phpstan-phpunit (1.3.16)
  - Downloading phpstan/phpstan-symfony (1.3.12)
  - Downloading sebastian/version (4.0.1)
  - Downloading sebastian/type (4.0.0)
  - Downloading sebastian/recursion-context (5.0.0)
  - Downloading sebastian/object-reflector (3.0.0)
  - Downloading sebastian/object-enumerator (5.0.0)
  - Downloading sebastian/global-state (6.0.2)
  - Downloading sebastian/exporter (5.1.2)
  - Downloading sebastian/environment (6.1.0)
  - Downloading sebastian/comparator (5.0.1)
  - Downloading sebastian/code-unit (2.0.0)
  - Downloading sebastian/cli-parser (2.0.1)
  - Downloading phpunit/php-timer (6.0.0)
  - Downloading phpunit/php-text-template (3.0.1)
  - Downloading phpunit/php-invoker (4.0.0)
  - Downloading phpunit/php-file-iterator (4.1.0)
  - Downloading theseer/tokenizer (1.2.3)
  - Downloading nikic/php-parser (v5.0.2)
  - Downloading sebastian/lines-of-code (2.0.2)
  - Downloading sebastian/complexity (3.2.0)
  - Downloading sebastian/code-unit-reverse-lookup (3.0.0)
  - Downloading phpunit/php-code-coverage (10.1.14)
  - Downloading phar-io/version (3.2.1)
  - Downloading phar-io/manifest (2.0.4)
  - Downloading myclabs/deep-copy (1.11.1)
  - Downloading phpunit/phpunit (10.5.20)
  - Downloading psr/clock (1.0.0)
  - Downloading ramsey/collection (2.0.0)
  - Downloading ramsey/uuid (4.7.6)
  - Downloading ramsey/uuid-doctrine (2.0.0)
  - Downloading rector/rector (1.0.4)
  - Downloading symfony/apache-pack (v1.0.1)
  - Downloading masterminds/html5 (2.9.0)
  - Downloading symfony/dom-crawler (v6.4.0)
  - Downloading symfony/browser-kit (v6.4.7)
  - Downloading symfony/css-selector (v6.4.7)
  - Downloading symfony/debug-bundle (v6.4.7)
  - Downloading symfony/dotenv (v6.4.7)
  - Downloading symfony/intl (v6.4.7)
  - Downloading symfony/polyfill-intl-idn (v1.29.0)
  - Downloading symfony/mime (v6.4.0)
  - Downloading egulias/email-validator (4.0.2)
  - Downloading symfony/mailer (v6.4.7)
  - Downloading symfony/maker-bundle (v1.59.0)
  - Downloading monolog/monolog (3.6.0)
  - Downloading symfony/monolog-bridge (v6.4.0)
  - Downloading symfony/monolog-bundle (v3.10.0)
  - Downloading symfony/phpunit-bridge (v7.0.7)
  - Downloading symfony/password-hasher (v6.4.0)
  - Downloading symfony/security-core (v6.4.0)
  - Downloading symfony/security-http (v6.4.0)
  - Downloading symfony/security-csrf (v6.4.0)
  - Downloading symfony/clock (v6.4.0)
  - Downloading symfony/security-bundle (v6.4.7)
  - Downloading symfony/serializer (v6.4.7)
  - Downloading symfony/validator (v6.4.7)
  - Downloading psr/link (2.0.1)
  - Downloading symfony/web-link (v6.4.7)
  - Downloading symfony/web-profiler-bundle (v6.4.7)
  - Downloading symfony/webpack-encore-bundle (v2.1.1)
  - Downloading symfonycasts/reset-password-bundle (v1.21.0)
  - Downloading jms/metadata (2.8.0)
  - Downloading vich/uploader-bundle (2.3.3)
[302] https://api.github.com/repos/endroid/installer/zipball/308051404c8370b9641cd61d86a464f2c6938265
Following redirect (1) https://codeload.github.com/endroid/installer/legacy.zip/308051404c8370b9641cd61d86a464f2c6938265

Here's the output of composer diagnose -vvv:

Running 2.7.4 (2024-04-22 21:17:03) with PHP 8.3.6 on Linux / 6.8.0-31-generic
Reading ./composer.json (/home/giosal/iotlab/europrivacy-symfony4/composer.json)
Loading config file /home/giosal/.config/composer/config.json
Loading config file /home/giosal/.config/composer/auth.json
Loading config file ./composer.json (/home/giosal/iotlab/europrivacy-symfony4/composer.json)
Checked CA file /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a file.
Checked directory /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a directory.
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Reading /home/giosal/.config/composer/composer.json
Loading config file /home/giosal/.config/composer/config.json
Loading config file /home/giosal/.config/composer/auth.json
Loading config file /home/giosal/.config/composer/composer.json (/home/giosal/.config/composer/composer.json)
Loading config file /home/giosal/.config/composer/auth.json
Reading /home/giosal/.config/composer/auth.json
Reading /home/giosal/.config/composer/vendor/composer/installed.json
Loading plugin Symfony\Thanks\Thanks (from symfony/thanks, installed globally)
Checking composer.json: Reading ./composer.json (/home/giosal/iotlab/europrivacy-symfony4/composer.json)
WARNING
The version field is present, it is recommended to leave it out if the package is published on Packagist.
Checking platform settings: OK
Checking git settings: Executing command (CWD): git config color.ui
Executing command (CWD): git --version
OK git version 2.43.0
Checking http connectivity to packagist: Downloading http://repo.packagist.org/packages.json
[200] http://repo.packagist.org/packages.json
@giosal
Copy link
Author

giosal commented May 3, 2024

I have also dockerized the project and I am able to run composer from within the docker container.
So it seems that something in my main Ubuntu environment is causing this. Something that changed.
Any idea on where I should start looking?

@SBordier44
Copy link

SBordier44 commented May 8, 2024

Hello, same issue for me :(

image

image

My OS is Ubuntu 24.04 with PHP 8.3.6 (error_log actived)

@SBordier44
Copy link

@giosal I resolved issue! 👯

I ran these commands:

sudo apt remove curl php8.3-curl --purge
sudo apt install -y curl php8.3-curl

And issue resolved ^^ 😃
image

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

2 participants