lcobucci/jwt 4.1.0 requires ext-sodium * -> the requested PHP extension is missing
Hallo zusammen,
ich versuche gerade eine Installation von Version 4.10 auf Host Europe mit Hilfe des Contao Manager.
Die Systemprüfung meldet dazu "Composer-Abhängikeiten sind nicht installiert."
Es läuft PHP 7.4 auf dem HostEurope Server.
Folgende Fehlermeldung wird im Manager beim Punkt "composer install" angezeigt:
Code:
> Resolving dependencies using Composer Cloud v2.4.11
!!! Current server is sponsored by: Contao Association !!!
[3.3MiB/0.20s] Loading composer repositories with package information
[3.5MiB/0.34s] Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
[3.6MiB/0.34s] Updating dependencies
[555.7MiB/101.32s] Package operations: 176 installs, 0 updates, 0 removals
[555.7MiB/101.33s] - Installing composer/package-versions-deprecated (1.8.2)
[555.7MiB/101.33s] - Installing contao-components/installer (1.4.1)
[555.7MiB/101.33s] - Installing symfony/polyfill-ctype (v1.22.0)
[555.7MiB/101.33s] - Installing symfony/polyfill-php80 (v1.22.0)
[555.7MiB/101.33s] - Installing symfony/polyfill-php73 (v1.22.0)
[555.7MiB/101.34s] - Installing symfony/deprecation-contracts (v2.2.0)
[555.7MiB/101.34s] - Installing psr/log (1.1.3)
[555.7MiB/101.34s] - Installing symfony/polyfill-mbstring (v1.22.0)
[555.7MiB/101.35s] - Installing symfony/polyfill-php72 (v1.22.0)
[555.7MiB/101.35s] - Installing symfony/polyfill-intl-normalizer (v1.22.0)
[555.7MiB/101.36s] - Installing symfony/polyfill-intl-idn (v1.22.0)
[555.7MiB/101.36s] - Installing symfony/mime (v5.2.2)
[555.7MiB/101.36s] - Installing symfony/http-foundation (v4.4.19)
[555.7MiB/101.37s] - Installing symfony/http-client-contracts (v2.3.1)
[555.7MiB/101.37s] - Installing psr/container (1.0.0)
[555.7MiB/101.37s] - Installing symfony/var-dumper (v4.4.19)
[555.7MiB/101.38s] - Installing symfony/debug (v4.4.19)
[555.7MiB/101.38s] - Installing symfony/error-handler (v4.4.19)
[555.7MiB/101.39s] - Installing symfony/event-dispatcher-contracts (v1.1.9)
[555.7MiB/101.39s] - Installing symfony/event-dispatcher (v4.4.19)
[555.7MiB/101.39s] - Installing symfony/http-kernel (v4.4.19)
[555.7MiB/101.40s] - Installing symfony/service-contracts (v2.2.0)
[555.7MiB/101.40s] - Installing symfony/filesystem (v4.4.19)
[555.7MiB/101.40s] - Installing symfony/config (v4.4.19)
[555.7MiB/101.41s] - Installing symfony/routing (v4.4.19)
[555.7MiB/101.41s] - Installing symfony/dependency-injection (v4.4.19)
[555.7MiB/101.42s] - Installing contao/manager-plugin (2.11.0)
[555.7MiB/101.42s] - Installing contao/conflicts (dev-main 3bbcc37)
[555.7MiB/101.42s] - Installing webmozart/assert (1.9.1)
[555.7MiB/101.43s] - Installing webmozart/path-util (2.3.0)
[555.7MiB/101.43s] - Installing symfony/options-resolver (v5.2.2)
[555.7MiB/101.44s] - Installing paragonie/random_compat (v9.99.99)
[555.7MiB/101.44s] - Installing psr/cache (1.0.1)
[555.7MiB/101.44s] - Installing symfony/var-exporter (v5.2.2)
[555.7MiB/101.45s] - Installing symfony/cache-contracts (v2.2.0)
[555.7MiB/101.45s] - Installing symfony/cache (v4.4.19)
[555.7MiB/101.46s] - Installing symfony/lock (v4.4.19)
[555.7MiB/101.46s] - Installing toflar/psr6-symfony-http-cache-store (3.0.1)
[555.7MiB/101.47s] - Installing psr/simple-cache (1.0.1)
[555.7MiB/101.47s] - Installing symfony/yaml (v4.4.19)
[555.7MiB/101.48s] - Installing twig/twig (v2.14.3)
[555.7MiB/101.48s] - Installing symfony/translation-contracts (v2.3.0)
[555.7MiB/101.49s] - Installing symfony/twig-bridge (v4.4.19)
[555.7MiB/101.49s] - Installing symfony/twig-bundle (v4.4.19)
[555.7MiB/101.50s] - Installing symfony/finder (v4.4.19)
[555.7MiB/101.50s] - Installing symfony/framework-bundle (v4.4.19)
[555.7MiB/101.51s] - Installing symfony/web-profiler-bundle (v4.4.19)
[555.7MiB/101.51s] - Installing symfony/stopwatch (v4.4.19)
[555.7MiB/101.52s] - Installing symfony/polyfill-intl-grapheme (v1.22.0)
[555.7MiB/101.52s] - Installing symfony/string (v5.2.2)
[555.7MiB/101.53s] - Installing symfony/property-info (v5.2.2)
[555.7MiB/101.54s] - Installing symfony/property-access (v5.2.2)
[555.7MiB/101.54s] - Installing symfony/security-core (v4.4.19)
[555.7MiB/101.55s] - Installing symfony/security-http (v4.4.19)
[555.7MiB/101.55s] - Installing symfony/security-guard (v4.4.19)
[555.7MiB/101.56s] - Installing symfony/security-csrf (v5.2.2)
[555.7MiB/101.57s] - Installing symfony/security-bundle (v4.4.19)
[555.7MiB/101.57s] - Installing webimpress/safe-writer (2.1.0)
[555.8MiB/101.57s] - Installing laminas/laminas-zendframework-bridge (1.1.1)
[555.8MiB/101.58s] - Installing laminas/laminas-eventmanager (3.3.0)
[555.8MiB/101.59s] - Installing laminas/laminas-code (3.5.1)
[555.8MiB/101.59s] - Installing ocramius/proxy-manager (2.8.1)
[555.8MiB/101.59s] - Installing symfony/proxy-manager-bridge (v4.4.18)
[555.8MiB/101.60s] - Installing symfony/process (v4.4.19)
[555.8MiB/101.61s] - Installing monolog/monolog (1.26.0)
[555.8MiB/101.62s] - Installing symfony/monolog-bridge (v4.4.19)
[555.8MiB/101.62s] - Installing symfony/monolog-bundle (v3.6.0)
[555.8MiB/101.63s] - Installing doctrine/lexer (1.2.1)
[555.8MiB/101.64s] - Installing egulias/email-validator (2.1.25)
[555.8MiB/101.64s] - Installing symfony/mailer (v4.4.19)
[555.8MiB/101.65s] - Installing symfony/http-client (v4.4.19)
[555.8MiB/101.66s] - Installing symfony/expression-language (v4.4.19)
[555.8MiB/101.66s] - Installing doctrine/annotations (1.11.1)
[555.8MiB/101.67s] - Installing doctrine/event-manager (1.1.1)
[555.8MiB/101.68s] - Installing doctrine/collections (1.6.7)
[555.8MiB/101.68s] - Installing doctrine/cache (1.10.2)
[555.8MiB/101.69s] - Installing doctrine/persistence (2.1.0)
[555.8MiB/101.69s] - Installing symfony/doctrine-bridge (v4.4.19)
[555.8MiB/101.70s] - Installing symfony/dotenv (v4.4.19)
[555.8MiB/101.71s] - Installing symfony/debug-bundle (v4.4.19)
[555.8MiB/101.71s] - Installing symfony/console (v4.4.19)
[555.8MiB/101.72s] - Installing composer/ca-bundle (1.2.9)
[555.8MiB/101.73s] - Installing ua-parser/uap-php (v3.9.14)
[555.8MiB/101.73s] - Installing nelmio/security-bundle (v2.10.1)
[555.8MiB/101.74s] - Installing nelmio/cors-bundle (2.1.0)
[555.8MiB/101.75s] - Installing php-http/discovery (1.13.0)
[555.8MiB/101.75s] - Installing clue/stream-filter (v1.5.0)
[555.8MiB/101.76s] - Installing psr/http-message (1.0.1)
[555.8MiB/101.77s] - Installing php-http/message-factory (v1.0.2)
[555.8MiB/101.77s] - Installing php-http/message (1.10.0)
[555.8MiB/101.78s] - Installing php-http/promise (1.1.0)
[555.8MiB/101.79s] - Installing psr/http-factory (1.0.1)
[555.8MiB/101.79s] - Installing psr/http-client (1.0.1)
[555.8MiB/101.80s] - Installing php-http/httplug (2.2.0)
[555.8MiB/101.81s] - Installing php-http/client-common (2.3.0)
[555.8MiB/101.81s] - Installing friendsofsymfony/http-cache (2.10.0)
[555.8MiB/101.82s] - Installing friendsofsymfony/http-cache-bundle (2.10.2)
[555.8MiB/101.83s] - Installing doctrine/sql-formatter (1.1.1)
[555.8MiB/101.84s] - Installing doctrine/dbal (2.12.1)
[555.8MiB/101.84s] - Installing doctrine/doctrine-bundle (2.2.3)
[555.8MiB/101.85s] - Installing symfony/translation (v4.4.19)
[555.8MiB/101.86s] - Installing contao/maintenance-bundle-deprecated (v2.1.8)
[555.8MiB/101.86s] - Installing patchwork/utf8 (v1.3.3)
[555.8MiB/101.87s] - Installing wikimedia/less.php (1.8.2)
[555.8MiB/101.87s] - Installing webignition/disallowed-character-terminated-string (2.0)
[555.8MiB/101.88s] - Installing webignition/robots-txt-file (3.0)
[555.8MiB/101.89s] - Installing true/punycode (v2.1.1)
[555.8MiB/101.89s] - Installing terminal42/service-annotation-bundle (1.1.3)
[555.8MiB/101.90s] - Installing symfony/dom-crawler (v4.4.19)
[555.8MiB/101.91s] - Installing nyholm/psr7 (1.3.2)
[555.8MiB/101.92s] - Installing terminal42/escargot (1.0.1)
[555.8MiB/101.92s] - Installing symfony/asset (v4.4.19)
[555.8MiB/101.93s] - Installing symfony-cmf/routing (2.3.3)
[555.8MiB/101.94s] - Installing symfony-cmf/routing-bundle (2.4.2)
[555.8MiB/101.94s] - Installing beberlei/assert (v3.3.0)
[555.8MiB/101.95s] - Installing paragonie/constant_time_encoding (v2.4.0)
[555.8MiB/101.95s] - Installing thecodingmachine/safe (v1.3.3)
[555.8MiB/101.96s] - Installing spomky-labs/otphp (v10.0.1)
[555.8MiB/101.97s] - Installing simplepie/simplepie (1.5.6)
[555.8MiB/101.97s] - Installing scssphp/scssphp (v1.4.1)
[555.8MiB/101.98s] - Installing lcobucci/clock (2.0.0)
[555.8MiB/101.99s] - Installing lcobucci/jwt (4.1.0)
[555.8MiB/101.99s] - Installing scheb/2fa-bundle (v5.4.1)
[555.8MiB/102.00s] - Installing scheb/2fa-trusted-device (v5.4.1)
[555.8MiB/102.00s] - Installing scheb/2fa-backup-code (v5.4.1)
[555.9MiB/102.01s] - Installing ramsey/uuid (3.9.3)
[555.9MiB/102.03s] - Installing phpunit/php-token-stream (4.0.4)
[555.9MiB/102.03s] - Installing phpspec/php-diff (v1.1.3)
[555.9MiB/102.04s] - Installing michelf/php-markdown (1.9.0)
[555.9MiB/102.05s] - Installing matthiasmullie/path-converter (1.1.3)
[555.9MiB/102.05s] - Installing matthiasmullie/minify (1.3.66)
[555.9MiB/102.06s] - Installing league/uri-parser (1.4.1)
[555.9MiB/102.07s] - Installing league/uri-interfaces (1.1.1)
[555.9MiB/102.07s] - Installing league/uri-schemes (1.2.1)
[555.9MiB/102.08s] - Installing league/uri-hostname-parser (1.1.1)
[555.9MiB/102.09s] - Installing league/uri-components (1.8.2)
[555.9MiB/102.10s] - Installing knplabs/knp-time-bundle (v1.15.0)
[555.9MiB/102.10s] - Installing knplabs/knp-menu (v3.1.2)
[555.9MiB/102.11s] - Installing knplabs/knp-menu-bundle (v3.1.0)
[555.9MiB/102.11s] - Installing imagine/imagine (1.2.4)
[555.9MiB/102.12s] - Installing dragonmantank/cron-expression (v2.3.1)
[555.9MiB/102.13s] - Installing doctrine/instantiator (1.4.0)
[555.9MiB/102.13s] - Installing doctrine/common (3.1.1)
[555.9MiB/102.14s] - Installing doctrine/inflector (2.0.3)
[555.9MiB/102.15s] - Installing doctrine/orm (2.8.1)
[555.9MiB/102.16s] - Installing contao/imagine-svg (1.0.2)
[555.9MiB/102.17s] - Installing contao/image (1.0.3)
[555.9MiB/102.17s] - Installing contao-components/tinymce4 (5.6.2)
[555.9MiB/102.18s] - Installing contao-components/tablesorter (2.31.3)
[555.9MiB/102.18s] - Installing contao-components/tablesort (4.0.1)
[555.9MiB/102.19s] - Installing contao-components/swipe (2.2.0)
[555.9MiB/102.20s] - Installing contao-components/simplemodal (2.1.1)
[555.9MiB/102.21s] - Installing contao-components/mootools (1.6.0.6)
[555.9MiB/102.22s] - Installing contao-components/mediabox (1.5.5)
[555.9MiB/102.22s] - Installing contao-components/jquery-ui (1.12.1.1)
[555.9MiB/102.23s] - Installing contao-components/jquery (3.5.1)
[555.9MiB/102.25s] - Installing contao-components/highlight (10.4.1)
[555.9MiB/102.26s] - Installing contao-components/dropzone (5.7.2)
[555.9MiB/102.27s] - Installing contao-components/datepicker (2.3.1)
[555.9MiB/102.28s] - Installing contao-components/contao (9.1.1)
[555.9MiB/102.28s] - Installing contao-components/colorpicker (1.5.1)
[555.9MiB/102.29s] - Installing contao-components/colorbox (1.6.6)
[555.9MiB/102.30s] - Installing contao-components/chosen (1.2.4)
[555.9MiB/102.31s] - Installing contao-components/ace (1.4.12)
[555.9MiB/102.32s] - Installing dasprid/enum (1.0.3)
[555.9MiB/102.33s] - Installing bacon/bacon-qr-code (2.0.3)
[555.9MiB/102.35s] - Installing ausi/slug-generator (v1.1.1)
[555.9MiB/102.36s] - Installing contao/core-bundle (4.10.6)
[555.9MiB/102.36s] - Installing contao/installation-bundle (4.10.6)
[555.9MiB/102.37s] - Installing contao/manager-bundle (4.10.6)
[555.9MiB/102.39s] - Installing contao/newsletter-bundle (4.10.6)
[555.9MiB/102.40s] - Installing contao/news-bundle (4.10.6)
[555.9MiB/102.41s] - Installing contao/listing-bundle (4.10.6)
[555.9MiB/102.42s] - Installing contao/faq-bundle (4.10.6)
[555.9MiB/102.43s] - Installing contao/comments-bundle (4.10.6)
[555.9MiB/102.44s] - Installing contao/calendar-bundle (4.10.6)
[548.4MiB/102.45s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
[548.4MiB/102.45s] Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
[549.8MiB/102.47s] Writing lock file
[549.8MiB/102.47s] 86 packages you are using are looking for funding.
[549.8MiB/102.47s] Use the `composer fund` command to find out more!
[550.2MiB/102.47s] Memory usage: 550.22MB (peak: 2461.58MB), time: 102.48s.
[550.2MiB/102.47s] Finished Composer Cloud resolving.
# Job ID LuzTd3Bojd5QlqqLfn3MupMXPYUN3rGLZ5JttLkLG7cWMWVS3iEfuIkLlcOs7l5lbWMHEh6KjTreRDEZZsWMC completed in 103 seconds
# Memory usage: 550.22MB (peak: 2461.58MB), time: 102.48s.
$ /usr/bin/php7.4 -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /is/htdocs/wp10593870_NW1FKMPIFV/contao/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
Loading composer repositories with package information
Installing dependencies from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for lcobucci/jwt 4.1.0 -> satisfiable by lcobucci/jwt[4.1.0].
- lcobucci/jwt 4.1.0 requires ext-sodium * -> the requested PHP extension sodium is missing from your system.
Problem 2
- lcobucci/jwt 4.1.0 requires ext-sodium * -> the requested PHP extension sodium is missing from your system.
- scheb/2fa-trusted-device v5.4.1 requires lcobucci/jwt ^3.4|^4.0 -> satisfiable by lcobucci/jwt[4.1.0].
- Installation request for scheb/2fa-trusted-device v5.4.1 -> satisfiable by scheb/2fa-trusted-device[v5.4.1].
To enable extensions, verify that they are enabled in your .ini files:
-
- /etc/php7.4/conf.d/10-extensions-vwp.ini
- /etc/php7.4/conf.d/10-extensions.ini
- /etc/php7.4/conf.d/20-generic.ini
- /etc/php7.4/conf.d/20-mysql.ini
- /etc/php7.4/conf.d/20-paths.ini
- /etc/php7.4/conf.d/20-session.ini
- /etc/php7.4/conf.d/25-fopen_cli-vwp.ini
- /etc/php7.4/conf.d/25-opcache-vwp.ini
- /etc/php7.4/conf.d/30-limits-vwp.ini
- /etc/php7.4/conf.d/99-server-specific.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Kann mir bitte jemand weiterhelfen und erklären warum diese Fehlermeldung entsteht?
Für Euer Feedback bedanke ich mich im Voraus.
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
tab
Komische Geschichte, mir hat er vor ein paar Stunden beim Update auf 4.11 4.9.11 freiwillig lcobucci/jwt 4.0.1 installiert, ohne dass ich da irgendwelche Konflikte eingetragen hätte.
Hast Du evtl. eine Idee was ich noch versuchen könnte? Bei den Pakete steht auch überall "Manuell hinzugefügt" dabei.
Was hat das zu bedeuten?
Anhang 24277
ERROR 403 - HTTP-Anfrage für "DELETE api/task" fehlgeschlagen
Wegen der vielen Nachfragen im Forum zu "ERROR 403 - HTTP-Anfrage für "DELETE api/task" fehlgeschlagen" auch noch meine Erfahrung dazu: Ich hing ebenfalls in der 403-Schleife und hatte mal eine weiße Seite bei Aufruf des Installtools/Backends, mal konnte ich im CM gar kein Composer-Update durchführen, da es nicht angezeigt wurde. Ich bin von Contao 4.4 auf 4.9.
Der Ursprungsfehler war offenbar ein schluderig eingegebenes Datenbank-Passwort, das durch den Firefox-Cache nicht mehr verschwunden ist. Erst über Safari bin ich weitergekommen. Letztlich hat nur eine komplette Neuinstallation geholfen. Und auch bei der ellenlangen Liste bzgl. Datenbank-Update (viele drop index und create) half ein beherztes schrittweises Zustimmen.