Hallo zusammen,
ich bin "Newbie" und hatte am Wochenende versucht, Contao auf meinem Webspace zu installieren. Das hat soweit geklappt - nur läßt sich der Composer nicht installieren :-(
Hier in paar Details:
- Installierte Contao Version ist 5.3
- Contao ist auf meinem Hostingepaket bei dogado installiert (Pakekt Web S 3.0), Systemvoraussetzungen habe ich keine entdeckt, die nicht vom Hostingkpaket erfüllt werden
- Installation erfolgte über Contao Manager
- Gibt es Zugang zur Contao Installation mittels Konsole / SSH? Ja
- Welche Erweiterungen sind installiert? Keine - da der Composer nicht installiert wurde
Bei folgendem Task komme ich nicht weiter:
Contao_Firefox 2025-05-26 02.30.58.png
- composer create-project contao/managed-edition5.3 - läuft erfolgreich durch
- composer updare --no-installl - läuft erfolgreich durch
- composer install - wird nach 5 erfolglosen Versuchen abgebrochen.
Hier der Log-Eintrag dazu mit der Fehlermeldung:
> Resolving dependencies using Composer Cloud v3.8.1
[3.4MiB/0.26s] Loading composer repositories with package information
[62.3MiB/11.09s] Updating dependencies
[21.2MiB/11.95s] Lock file operations: 191 installs, 0 updates, 0 removals
[21.2MiB/11.95s] - Locking ausi/slug-generator (v1.1.1)
[21.2MiB/11.95s] - Locking bacon/bacon-qr-code (2.0.8)
[21.2MiB/11.96s] - Locking beberlei/assert (v3.3.3)
[21.2MiB/11.96s] - Locking clue/stream-filter (v1.7.0)
[21.2MiB/11.96s] - Locking composer/ca-bundle (1.5.6)
[21.2MiB/11.96s] - Locking contao-components/ace (1.41.0)
[21.2MiB/11.96s] - Locking contao-components/chosen (2.0.2)
[21.2MiB/11.96s] - Locking contao-components/colorbox (1.6.4.2)
[21.2MiB/11.96s] - Locking contao-components/colorpicker (1.5.3)
[21.2MiB/11.96s] - Locking contao-components/contao (9.4.0)
[21.2MiB/11.96s] - Locking contao-components/datepicker (3.0.1)
[21.2MiB/11.96s] - Locking contao-components/dropzone (5.9.3)
[21.2MiB/11.96s] - Locking contao-components/handorgel (1.0.0.1)
[21.2MiB/11.96s] - Locking contao-components/installer (1.4.1)
[21.2MiB/11.96s] - Locking contao-components/jquery (3.7.1)
[21.2MiB/11.96s] - Locking contao-components/jquery-ui (1.13.2)
[21.2MiB/11.96s] - Locking contao-components/mediabox (1.5.4.3)
[21.2MiB/11.96s] - Locking contao-components/mootools (1.6.0.9)
[21.2MiB/11.96s] - Locking contao-components/simplemodal (3.0.3)
[21.2MiB/11.96s] - Locking contao-components/swipe (2.2.2)
[21.2MiB/11.96s] - Locking contao-components/swiper (11.2.7)
[21.2MiB/11.96s] - Locking contao-components/tablesort (4.0.2)
[21.2MiB/11.96s] - Locking contao-components/tablesorter (2.31.3.1)
[21.2MiB/11.96s] - Locking contao-components/tinymce4 (6.8.5.1)
[21.2MiB/11.96s] - Locking contao-components/tristen-tablesort (5.6.0)
[21.2MiB/11.96s] - Locking contao/calendar-bundle (5.3.33)
[21.2MiB/11.96s] - Locking contao/comments-bundle (5.3.33)
[21.2MiB/11.96s] - Locking contao/conflicts (dev-main 7e1dacc)
[21.2MiB/11.96s] - Locking contao/core-bundle (5.3.33)
[21.2MiB/11.96s] - Locking contao/faq-bundle (5.3.33)
[21.2MiB/11.96s] - Locking contao/image (1.2.3)
[21.2MiB/11.96s] - Locking contao/imagine-svg (1.0.4)
[21.2MiB/11.96s] - Locking contao/listing-bundle (5.3.33)
[21.2MiB/11.96s] - Locking contao/manager-bundle (5.3.33)
[21.2MiB/11.97s] - Locking contao/manager-plugin (2.13.4)
[21.2MiB/11.97s] - Locking contao/news-bundle (5.3.33)
[21.2MiB/11.97s] - Locking contao/newsletter-bundle (5.3.33)
[21.2MiB/11.97s] - Locking dasprid/enum (1.0.6)
[21.2MiB/11.97s] - Locking debril/feed-io (v6.0.3)
[21.2MiB/11.97s] - Locking dflydev/dot-access-data (v3.0.3)
[21.2MiB/11.97s] - Locking doctrine/annotations (2.0.2)
[21.2MiB/11.97s] - Locking doctrine/cache (2.2.0)
[21.2MiB/11.97s] - Locking doctrine/collections (2.3.0)
[21.2MiB/11.97s] - Locking doctrine/common (3.5.0)
[21.2MiB/11.97s] - Locking doctrine/dbal (3.9.4)
[21.2MiB/11.97s] - Locking doctrine/deprecations (1.1.5)
[21.2MiB/11.97s] - Locking doctrine/doctrine-bundle (2.14.0)
[21.2MiB/11.97s] - Locking doctrine/event-manager (2.0.1)
[21.2MiB/11.97s] - Locking doctrine/inflector (2.0.10)
[21.2MiB/11.97s] - Locking doctrine/instantiator (2.0.0)
[21.2MiB/11.97s] - Locking doctrine/lexer (3.0.1)
[21.3MiB/11.97s] - Locking doctrine/orm (2.20.3)
[21.3MiB/11.97s] - Locking doctrine/persistence (3.4.0)
[21.3MiB/11.97s] - Locking doctrine/sql-formatter (1.5.2)
[21.3MiB/11.97s] - Locking dragonmantank/cron-expression (v2.3.1)
[21.3MiB/11.97s] - Locking egulias/email-validator (4.0.4)
[21.3MiB/11.97s] - Locking enshrined/svg-sanitize (0.21.0)
[21.3MiB/11.97s] - Locking friendsofsymfony/http-cache (2.16.2)
[21.3MiB/11.97s] - Locking friendsofsymfony/http-cache-bundle (2.17.1)
[21.3MiB/11.97s] - Locking guzzlehttp/promises (1.5.3)
[21.3MiB/11.97s] - Locking imagine/imagine (1.5.0)
[21.3MiB/11.97s] - Locking knplabs/knp-menu (v3.7.0)
[21.3MiB/11.97s] - Locking knplabs/knp-menu-bundle (v3.5.0)
[21.3MiB/11.97s] - Locking knplabs/knp-time-bundle (v2.4.0)
[21.3MiB/11.97s] - Locking lcobucci/clock (3.3.1)
[21.3MiB/11.97s] - Locking lcobucci/jwt (5.5.0)
[21.3MiB/11.97s] - Locking league/commonmark (2.7.0)
[21.3MiB/11.97s] - Locking league/config (v1.2.0)
[21.3MiB/11.97s] - Locking league/flysystem (3.29.1)
[21.3MiB/11.97s] - Locking league/flysystem-bundle (3.4.0)
[21.3MiB/11.97s] - Locking league/flysystem-local (3.29.0)
[21.3MiB/11.97s] - Locking league/mime-type-detection (1.16.0)
[21.3MiB/11.98s] - Locking league/uri (7.5.1)
[21.3MiB/11.98s] - Locking league/uri-interfaces (7.5.0)
[21.3MiB/11.98s] - Locking masterminds/html5 (2.9.0)
[21.3MiB/11.98s] - Locking matthiasmullie/minify (1.3.73)
[21.3MiB/11.98s] - Locking matthiasmullie/path-converter (1.1.3)
[21.3MiB/11.98s] - Locking monolog/monolog (2.10.0)
[21.3MiB/11.98s] - Locking nelmio/cors-bundle (2.5.0)
[21.3MiB/11.98s] - Locking nelmio/security-bundle (v3.5.1)
[21.3MiB/11.98s] - Locking nette/schema (v1.3.2)
[21.3MiB/11.98s] - Locking nette/utils (v4.0.6)
[21.3MiB/11.98s] - Locking nikic/php-parser (v4.19.4)
[21.3MiB/11.98s] - Locking nyholm/psr7 (1.8.2)
[21.3MiB/11.98s] - Locking paragonie/constant_time_encoding (v2.7.0)
[21.3MiB/11.98s] - Locking php-http/client-common (2.7.2)
[21.3MiB/11.98s] - Locking php-http/discovery (1.20.0)
[21.3MiB/11.98s] - Locking php-http/httplug (2.4.1)
[21.3MiB/11.98s] - Locking php-http/message (1.16.2)
[21.3MiB/11.98s] - Locking php-http/message-factory (1.1.0)
[21.3MiB/11.98s] - Locking php-http/promise (1.3.1)
[21.3MiB/11.98s] - Locking phpspec/php-diff (v1.1.3)
[21.3MiB/11.98s] - Locking psr/cache (3.0.0)
[21.3MiB/11.98s] - Locking psr/clock (1.0.0)
[21.3MiB/11.98s] - Locking psr/container (2.0.2)
[21.3MiB/11.98s] - Locking psr/event-dispatcher (1.0.0)
[21.3MiB/11.98s] - Locking psr/http-client (1.0.3)
[21.3MiB/11.98s] - Locking psr/http-factory (1.1.0)
[21.3MiB/11.98s] - Locking psr/http-message (2.0)
[21.3MiB/11.98s] - Locking psr/log (3.0.2)
[21.3MiB/11.98s] - Locking scheb/2fa-backup-code (v7.10.0)
[21.3MiB/11.98s] - Locking scheb/2fa-bundle (v7.10.0)
[21.3MiB/11.98s] - Locking scheb/2fa-trusted-device (v7.10.0)
[21.3MiB/11.98s] - Locking scrivo/highlight.php (v9.18.1.10)
[21.3MiB/11.98s] - Locking scssphp/scssphp (v1.13.0)
[21.3MiB/11.98s] - Locking simplepie/simplepie (1.8.1)
[21.3MiB/11.98s] - Locking spatie/schema-org (3.23.1)
[21.3MiB/11.98s] - Locking spomky-labs/otphp (v10.0.3)
[21.3MiB/11.99s] - Locking symfony-cmf/routing (3.0.4)
[21.3MiB/11.99s] - Locking symfony-cmf/routing-bundle (3.1.1)
[21.3MiB/11.99s] - Locking symfony/asset (v6.4.13)
[21.3MiB/11.99s] - Locking symfony/cache (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/cache-contracts (v3.6.0)
[21.3MiB/11.99s] - Locking symfony/clock (v7.2.0)
[21.3MiB/11.99s] - Locking symfony/config (v6.4.14)
[21.3MiB/11.99s] - Locking symfony/console (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/css-selector (v7.2.0)
[21.3MiB/11.99s] - Locking symfony/debug-bundle (v6.4.13)
[21.3MiB/11.99s] - Locking symfony/dependency-injection (v6.4.20)
[21.3MiB/11.99s] - Locking symfony/deprecation-contracts (v3.6.0)
[21.3MiB/11.99s] - Locking symfony/doctrine-bridge (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/doctrine-messenger (v6.4.18)
[21.3MiB/11.99s] - Locking symfony/dom-crawler (v6.4.19)
[21.3MiB/11.99s] - Locking symfony/dotenv (v6.4.16)
[21.3MiB/11.99s] - Locking symfony/error-handler (v6.4.20)
[21.3MiB/11.99s] - Locking symfony/event-dispatcher (v6.4.13)
[21.3MiB/11.99s] - Locking symfony/event-dispatcher-contracts (v3.6.0)
[21.3MiB/11.99s] - Locking symfony/expression-language (v6.4.13)
[21.3MiB/11.99s] - Locking symfony/filesystem (v6.4.13)
[21.3MiB/11.99s] - Locking symfony/finder (v6.4.17)
[21.3MiB/11.99s] - Locking symfony/framework-bundle (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/html-sanitizer (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/http-client (v6.4.19)
[21.3MiB/11.99s] - Locking symfony/http-client-contracts (v3.6.0)
[21.3MiB/11.99s] - Locking symfony/http-foundation (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/http-kernel (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/intl (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/lock (v7.2.6)
[21.3MiB/11.99s] - Locking symfony/mailer (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/messenger (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/mime (v6.4.21)
[21.3MiB/11.99s] - Locking symfony/monolog-bridge (v6.4.13)
[21.3MiB/11.99s] - Locking symfony/monolog-bundle (v3.10.0)
[21.3MiB/11.99s] - Locking symfony/options-resolver (v6.4.16)
[21.3MiB/11.99s] - Locking symfony/password-hasher (v6.4.13)
[21.3MiB/11.99s] - Locking symfony/polyfill-ctype (v1.32.0)
[21.3MiB/11.99s] - Locking symfony/polyfill-intl-grapheme (v1.32.0)
[21.3MiB/11.99s] - Locking symfony/polyfill-intl-idn (v1.32.0)
[21.3MiB/11.99s] - Locking symfony/polyfill-intl-normalizer (v1.32.0)
[21.3MiB/11.99s] - Locking symfony/polyfill-mbstring (v1.32.0)
[21.3MiB/11.99s] - Locking symfony/polyfill-php72 (v1.31.0)
[21.3MiB/11.99s] - Locking symfony/polyfill-php73 (v1.32.0)
[21.3MiB/12.00s] - Locking symfony/polyfill-php80 (v1.32.0)
[21.3MiB/12.00s] - Locking symfony/polyfill-php83 (v1.32.0)
[21.3MiB/12.00s] - Locking symfony/polyfill-php84 (v1.32.0)
[21.3MiB/12.00s] - Locking symfony/polyfill-uuid (v1.32.0)
[21.3MiB/12.00s] - Locking symfony/process (v6.4.20)
[21.3MiB/12.00s] - Locking symfony/property-access (v6.4.18)
[21.3MiB/12.00s] - Locking symfony/property-info (v7.2.5)
[21.3MiB/12.00s] - Locking symfony/rate-limiter (v6.4.15)
[21.3MiB/12.00s] - Locking symfony/routing (v6.4.18)
[21.3MiB/12.00s] - Locking symfony/security-bundle (v6.4.21)
[21.3MiB/12.00s] - Locking symfony/security-core (v6.4.21)
[21.3MiB/12.00s] - Locking symfony/security-csrf (v6.4.13)
[21.3MiB/12.00s] - Locking symfony/security-http (v6.4.21)
[21.3MiB/12.00s] - Locking symfony/service-contracts (v3.6.0)
[21.3MiB/12.00s] - Locking symfony/stopwatch (v6.4.19)
[21.3MiB/12.00s] - Locking symfony/string (v6.4.21)
[21.3MiB/12.00s] - Locking symfony/translation (v6.4.21)
[21.3MiB/12.00s] - Locking symfony/translation-contracts (v3.6.0)
[21.3MiB/12.00s] - Locking symfony/twig-bridge (v6.4.21)
[21.3MiB/12.00s] - Locking symfony/twig-bundle (v6.4.13)
[21.3MiB/12.00s] - Locking symfony/type-info (v7.2.5)
[21.3MiB/12.00s] - Locking symfony/uid (v6.4.13)
[21.3MiB/12.00s] - Locking symfony/var-dumper (v6.4.21)
[21.3MiB/12.00s] - Locking symfony/var-exporter (v7.2.6)
[21.3MiB/12.00s] - Locking symfony/web-profiler-bundle (v6.4.19)
[21.3MiB/12.00s] - Locking symfony/yaml (v6.4.21)
[21.3MiB/12.00s] - Locking terminal42/escargot (1.6.2)
[21.3MiB/12.00s] - Locking terminal42/service-annotation-bundle (1.2.1)
[21.3MiB/12.00s] - Locking thecodingmachine/safe (v2.5.0)
[21.3MiB/12.00s] - Locking tijsverkoyen/css-to-inline-styles (v2.3.0)
[21.3MiB/12.00s] - Locking toflar/cronjob-supervisor (2.0.1)
[21.3MiB/12.00s] - Locking toflar/psr6-symfony-http-cache-store (4.2.0)
[21.3MiB/12.00s] - Locking twig/extra-bundle (v3.21.0)
[21.3MiB/12.00s] - Locking twig/string-extra (v3.21.0)
[21.3MiB/12.00s] - Locking twig/twig (v3.21.1)
[21.3MiB/12.00s] - Locking ua-parser/uap-php (v3.9.14)
[21.3MiB/12.00s] - Locking webignition/disallowed-character-terminated-string (2.0)
[21.3MiB/12.00s] - Locking webignition/robots-txt-file (3.0)
[21.3MiB/12.00s] - Locking wikimedia/less.php (1.8.2)
[21.3MiB/12.02s] Writing lock file
[10.5MiB/12.05s] 28 package suggestions were added by new dependencies, use `composer suggest` to see details.
[11.2MiB/12.06s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
[11.5MiB/12.38s] No security vulnerability advisories found.
[12.0MiB/12.38s] Memory usage: 11.97MB (peak: 153.31MB), time: 12.4s.
[12.0MiB/12.39s] Finished Composer Cloud resolving.
# Job ID cwQg4iuOyXKVjqlHV6P92UUvq8Y3J3TDDA5xja55LaBr6Kr07G sgOaF4bIKdr4af3dPiZxBgRvGEubM0EK1P4nCWrOUrw completed in 12 seconds
# Memory usage: 11.97MB (peak: 153.31MB), time: 12.4s.
$ /opt/plesk/php/8.3/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/web109.server5.configcenter.info/httpdocs/schata/contao-schata/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
113 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
Added the bin/console file.
Added the web/index.php file.
Added the web/preview.php file.
Trying to install assets as relative symbolic links.
--- ------------------------ ------------------
Bundle Method / Error
--- ------------------------ ------------------
? ContaoCoreBundle relative symlink
? ContaoFaqBundle relative symlink
? ContaoNewsBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoNewsletterBundle relative symlink
? ContaoCommentsBundle relative symlink
--- ------------------------ ------------------
[OK] All assets were successfully installed.
--- ---------------------------------------- ----------------------------------------------------
Symlink Target / Error
--- ---------------------------------------- ----------------------------------------------------
? system/themes/flexible vendor/contao/core-bundle/contao/themes/flexible
? web/assets The path "web/assets" exists and is not a symlink.
? web/system/themes system/themes
? system/logs var/logs
? web/vendor/scrivo/highlight_php/styles vendor/scrivo/highlight.php/styles
--- ---------------------------------------- ----------------------------------------------------
02:31:21 CRITICAL [console] An error occurred while using the console. Message: "An error occurred while executing the "/opt/plesk/php/8.3/bin/php -dmemory_limit=-1 /var/www/vhosts/web109.server5.configcenter.info/httpdocs/schata/contao-schata/vendor/contao/manager-bundle/bin/contao-console contao:symlinks web --env=prod --no-ansi" command: " ["exception" => RuntimeException { …},"message" => "An error occurred while executing the "/opt/plesk/php/8.3/bin/php -dmemory_limit=-1 /var/www/vhosts/web109.server5.configcenter.info/httpdocs/schata/contao-schata/vendor/contao/manager-bundle/bin/contao-console contao:symlinks web --env=prod --no-ansi" command: "]
In ContaoSetupCommand.php line 142:
An error occurred while executing the "/opt/plesk/php/8.3/bin/php -dmemory_
limit=-1 /var/www/vhosts/web109.server5.configcenter.info/httpdocs/schata/c
ontao-schata/vendor/contao/manager-bundle/bin/contao-console contao:symlink
s web --env=prod --no-ansi" command:
contao:setup
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
# Process terminated with exit code 1
# Result: General error
Eine ähnliche Fehlermeldung spuckt mir der PHP Composer von dogado aus:
———————————————
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating autoload files
116 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
03:50:34 CRITICAL [console] An error occurred while using the console. Message: "An error occurred while executing the "/opt/plesk/php/8.3/bin/php -dmemory_limit=1536M /var/www/vhosts/web109.server5.configcenter.info/httpdocs/schata/contao-schata/vendor/contao/manager-bundle/bin/contao-console contao:symlinks web --env=prod --no-ansi" command: " ["exception" => RuntimeException { …},"message" => "An error occurred while executing the "/opt/plesk/php/8.3/bin/php -dmemory_limit=1536M /var/www/vhosts/web109.server5.configcenter.info/httpdocs/schata/contao-schata/vendor/contao/manager-bundle/bin/contao-console contao:symlinks web --env=prod --no-ansi" command: "]
In ContaoSetupCommand.php line 142:
An error occurred while executing the "/opt/plesk/php/8.3/bin/php -dmemory_
limit=1536M /var/www/vhosts/web109.server5.configcenter.info/httpdocs/schat
a/contao-schata/vendor/contao/manager-bundle/bin/contao-console contao:syml
inks web --env=prod --no-ansi" command:
contao:setup
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
Added the bin/console file.
Added the web/index.php file.
Added the web/preview.php file.
Trying to install assets as relative symbolic links.
--- ------------------------ ------------------
Bundle Method / Error
--- ------------------------ ------------------
? ContaoCoreBundle relative symlink
? ContaoFaqBundle relative symlink
? ContaoNewsBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoNewsletterBundle relative symlink
? ContaoCommentsBundle relative symlink
--- ------------------------ ------------------
[OK] All assets were successfully installed.
--- ---------------------------------------- ----------------------------------------------------
Symlink Target / Error
--- ---------------------------------------- ----------------------------------------------------
? system/themes/flexible vendor/contao/core-bundle/contao/themes/flexible
? web/assets The path "web/assets" exists and is not a symlink.
? web/system/themes system/themes
? system/logs var/logs
? web/vendor/scrivo/highlight_php/styles vendor/scrivo/highlight.php/styles
--- ---------------------------------------- ----------------------------------------------------
Ich sehe nur beim "-dmemory_limit" einen Unterschied: Bei der Fehlermeldung in Contao steht dort: "-dmemory_limit=-1" - bei der Fehlermeldung im PHP Composer im Cloudpit steht dagegen -dmemory_limit=1536M
Ich hatte Contao auch einmal komplett gelöscht und nochmals eine frische Installation gemacht - er bleibt aber immer an der Stelle hängen, an der der Composer installiert werden soll :-(
Wäre super, wenn mir jemand einen Tipp hat.
Vielen Dank schon mal für Eure Antworten.
Grüße, Holgi