Ergebnis 1 bis 15 von 15

Thema: Update von 4.4.55 auf 4.9.11: Testlauf erzeugt Warnmeldungen

  1. #1
    Gesperrt
    Registriert seit
    05.01.2015.
    Beiträge
    24

    Standard Update von 4.4.55 auf 4.9.11: Testlauf erzeugt Warnmeldungen

    Ahoi zusammen,
    ich bin gerade dabei eine Contao Installation 4.4.29 auf einen neuen Server umzuziehen. Der Umzug lief super und die Aktualisierung auf 4.4.55 hat einwandfrei funktioniert.
    Der Testlauf für 4.9.11 hat folgendes als Warnung ausgegeben:
    Code:
    $ /opt/RZphp73/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=CET /mnt/web507/d3/83/59762583/htdocs/xyz-zyx-de/web/contao-manager.phar.php composer require contao/manager-bundle=4.9.11 contao/news-bundle=4.9.11 contao/calendar-bundle=4.9.11 contao/faq-bundle=4.9.11 contao/comments-bundle=4.9.11 contao/newsletter-bundle=4.9.11 contao/listing-bundle=4.9.11 --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    /mnt/web507/d3/83/59762583/htdocs/xyz-zyx-de/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.0.0
    !!! Current server is sponsored by: Contao Association !!!
    
    
    [5.9MiB/0.25s] Loading composer repositories with package information
    [55.3MiB/1.49s] Updating dependencies
    [1113.8MiB/8.15s] Your requirements could not be resolved to an installable set of packages.
    [1113.8MiB/8.15s] 
      Problem 1
        - contao/managed-edition is present at version 1.0.0+no-version-set and cannot be modified by Composer
        - ausi/contao-slug-backport is locked to version v1.0.6 and an update of this package was not requested.
        - ausi/contao-slug-backport v1.0.6 requires contao/core-bundle 4.4.* -> satisfiable by contao/core-bundle[4.4.0, ..., 4.4.55].
        - You can only install one version of a package, so only one of these can be installed: contao/core-bundle[4.3.0, ..., 4.10.6].
        - contao/calendar-bundle 4.9.11 requires contao/core-bundle 4.9.11 -> satisfiable by contao/core-bundle[4.9.11].
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.7.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.6.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.5.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.4.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.3.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.2.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.1.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.0.
        - Root composer.json requires contao/calendar-bundle 4.9.11 -> satisfiable by contao/calendar-bundle[4.9.11].
    
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
    [1113.8MiB/8.15s] Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
    [43.5MiB/8.96s] Memory usage: 43.46MB (peak: 1114.38MB), time: 8.97s.
    [43.5MiB/8.96s] Finished Composer Cloud resolving.
    
    
    # Cloud Job ID w1lEuCDlMUCtNxGDz9PB2dsKR9J4jjGdGvv8KOUmf46FkA6gcMonx0Vuc3dKsYUbiMkgvqg3tqn9i failed
    Wie ist das zu deuten? Wird das Update komplett in die Hose gehen oder was muss ich tun, damit der Testlauf erfolgreich wird?
    Geändert von herold (10.02.2021 um 21:27 Uhr)

  2. #2
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.753
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Du hast mehrere Probleme.
    Zum einen hattest Du für den Testlauf wahrscheinlich nicht alle Pakete zum Update ausgewählt. Das sollte man eigentlich immer machen - es sei denn es gibt einen triftigen Grund der dagegen spricht, ist im Moment aber ganz besonders wichtig, da gerade heute auf composer 2 umgestellt worden ist und damit einmal alle Abhängigkeiten mit composer 2 aufgelöst werden sollten, damit es keine Fehler gibt.
    Zum anderen hast Du anscheinend die Erweiterung ausi/contao-slug-backport installiert. Die ist inzwischen im Core von Contao enthalten und damit sollte die Erweiterung beim Update auf Contao 4.9 auch deinstalliert werden.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  3. #3
    Gesperrt
    Registriert seit
    05.01.2015.
    Beiträge
    24

    Standard

    Zitat Zitat von mlweb Beitrag anzeigen
    Du hast mehrere Probleme.
    Zum einen hattest Du für den Testlauf wahrscheinlich nicht alle Pakete zum Update ausgewählt. Das sollte man eigentlich immer machen - es sei denn es gibt einen triftigen Grund der dagegen spricht, ist im Moment aber ganz besonders wichtig, da gerade heute auf composer 2 umgestellt worden ist und damit einmal alle Abhängigkeiten mit composer 2 aufgelöst werden sollten, damit es keine Fehler gibt.
    Zum anderen hast Du anscheinend die Erweiterung ausi/contao-slug-backport installiert. Die ist inzwischen im Core von Contao enthalten und damit sollte die Erweiterung beim Update auf Contao 4.9 auch deinstalliert werden.
    Danke für die schnelle Rückmeldung!
    Ah, stimmt: Ich hatte die Pakete alle bei dem 4.4.55 Update aktiviert. Soll ich ausi/contao-slug-backport vor dem Update einfach rausschmeißen oder danach?

    Den zweiten Testlauf mit aktivieren AddOns habe ich auch schon gemacht, aber der ist noch länger :-(
    Vielleicht ist es trotzdem besser… was denkst du?

    Code:
    $ /opt/RZphp73/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=CET /mnt/web507/d3/83/59762583/htdocs/xyz-zxy-de/web/contao-manager.phar.php composer require contao/manager-bundle=4.9.* contao/news-bundle=4.9.* contao/calendar-bundle=4.9.* contao/faq-bundle=4.9.* contao/comments-bundle=4.9.* contao/newsletter-bundle=4.9.* contao/listing-bundle=4.9.* --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    /mnt/web507/d3/83/59762583/htdocs/xyz-zxy-de/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.0.0
    !!! Current server is sponsored by: Contao Association !!!
    
    
    [5.9MiB/0.29s] Loading composer repositories with package information
    [55.9MiB/1.97s] Updating dependencies
    [1118.1MiB/8.29s] Your requirements could not be resolved to an installable set of packages.
    [1118.1MiB/8.29s] 
      Problem 1
        - Conclusion: don't install ausi/contao-slug-backport v1.0.1 (conflict analysis result)
        - Conclusion: don't install ausi/contao-slug-backport v1.0.2 (conflict analysis result)
        - Conclusion: don't install ausi/contao-slug-backport v1.0.3 (conflict analysis result)
        - Conclusion: don't install ausi/contao-slug-backport v1.0.4 (conflict analysis result)
        - Conclusion: don't install ausi/contao-slug-backport v1.0.5 (conflict analysis result)
        - Conclusion: don't install ausi/contao-slug-backport v1.0.6 (conflict analysis result)
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.7.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.6.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.5.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.4.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.3.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.2.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.1.
        - contao/managed-edition 1.0.0+no-version-set conflicts with contao/core-bundle 4.4.0.
        - contao/managed-edition is present at version 1.0.0+no-version-set and cannot be modified by Composer
        - contao/newsletter-bundle 4.9.2 requires contao/core-bundle 4.9.2 -> satisfiable by contao/core-bundle[4.9.2].
        - Conclusion: don't install contao/core-bundle 4.9.2 (conflict analysis result)
        - contao/newsletter-bundle 4.9.3 requires contao/core-bundle 4.9.3 -> satisfiable by contao/core-bundle[4.9.3].
        - Conclusion: don't install contao/core-bundle 4.9.3 (conflict analysis result)
        - contao/newsletter-bundle 4.9.4 requires contao/core-bundle 4.9.4 -> satisfiable by contao/core-bundle[4.9.4].
        - Conclusion: don't install contao/core-bundle 4.9.4 (conflict analysis result)
        - contao/newsletter-bundle 4.9.5 requires contao/core-bundle 4.9.5 -> satisfiable by contao/core-bundle[4.9.5].
        - Conclusion: don't install contao/core-bundle 4.9.5 (conflict analysis result)
        - contao/newsletter-bundle 4.9.6 requires contao/core-bundle 4.9.6 -> satisfiable by contao/core-bundle[4.9.6].
        - Conclusion: don't install contao/core-bundle 4.9.6 (conflict analysis result)
        - contao/newsletter-bundle 4.9.7 requires contao/core-bundle 4.9.7 -> satisfiable by contao/core-bundle[4.9.7].
        - Conclusion: don't install contao/core-bundle 4.9.7 (conflict analysis result)
        - contao/newsletter-bundle 4.9.8 requires contao/core-bundle 4.9.8 -> satisfiable by contao/core-bundle[4.9.8].
        - Conclusion: don't install contao/core-bundle 4.9.8 (conflict analysis result)
        - contao/newsletter-bundle 4.9.9 requires contao/core-bundle 4.9.9 -> satisfiable by contao/core-bundle[4.9.9].
        - Conclusion: don't install contao/core-bundle 4.9.9 (conflict analysis result)
        - contao/newsletter-bundle 4.9.10 requires contao/core-bundle 4.9.10 -> satisfiable by contao/core-bundle[4.9.10].
        - Conclusion: don't install contao/core-bundle 4.9.10 (conflict analysis result)
        - contao/newsletter-bundle 4.9.11 requires contao/core-bundle 4.9.11 -> satisfiable by contao/core-bundle[4.9.11].
        - Conclusion: don't install contao/core-bundle 4.9.11 (conflict analysis result)
        - Root composer.json requires ausi/contao-slug-backport ^1.0 -> satisfiable by ausi/contao-slug-backport[v1.0.0, ..., v1.0.6].
        - contao/newsletter-bundle 4.9.1 requires contao/core-bundle 4.9.1 -> satisfiable by contao/core-bundle[4.9.1].
        - Conclusion: don't install contao/core-bundle 4.9.1 (conflict analysis result)
        - ausi/contao-slug-backport v1.0.0 requires contao/core-bundle 4.4.* -> satisfiable by contao/core-bundle[4.4.0, ..., 4.4.55].
        - You can only install one version of a package, so only one of these can be installed: contao/core-bundle[4.3.0, ..., 4.10.6].
        - contao/newsletter-bundle 4.9.0 requires contao/core-bundle 4.9.0 -> satisfiable by contao/core-bundle[4.9.0].
        - Root composer.json requires contao/newsletter-bundle 4.9.* -> satisfiable by contao/newsletter-bundle[4.9.0, ..., 4.9.11].
    
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
    [1118.1MiB/8.29s] Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
    [43.5MiB/9.15s] Memory usage: 43.52MB (peak: 1118.77MB), time: 9.16s.
    [43.5MiB/9.15s] Finished Composer Cloud resolving.
    
    
    # Cloud Job ID LpCk4ANbLbfKZfWphzbFct1aWJdhlzp3pVcgLqCzWBmeuLpGWxTHUAHEMxf8TSGnt06WMl4oubKpLz failed
    Geändert von herold (10.02.2021 um 21:29 Uhr)

  4. #4
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.753
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Ich habe den glaube ich immer beim Update auf Conto 4.9 mit rausgeschmissen. Vorher geht sicher auch.
    Kann sein das behebt dann schon alle aufgeführten Probleme.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  5. #5
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    ausi/contao-slug-backport musst du entfernen, um auf Contao 4.9 aktualisieren zu können.

  6. #6
    Gesperrt
    Registriert seit
    05.01.2015.
    Beiträge
    24

    Standard Testlauf erfolgreich, aber Installation mit Fehlern

    Danke ihr zwei für die Hilfe. Gerade habe ich den contao-slug-backport entfernt, einen erfolgreichen Testlauf durchgeführt und dann die Installation angeschubst.
    Diese ergab dann beim letzten Punkt „composer install“ aber mehrere Fehler:

    Code:
    $ /opt/RZphp73/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=CET /mnt/web507/d3/83/59762583/htdocs/xyz-zyx/web/contao-manager.phar.php composer install --prefer-dist --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.
    Package operations: 81 installs, 32 updates, 27 removals
      - Downloading composer/package-versions-deprecated (1.11.99.1)
      - Downloading dasprid/enum (1.0.3)
      - Downloading bacon/bacon-qr-code (2.0.3)
      - Downloading contao-components/contao (9.1.1)
      - Downloading contao-components/dropzone (5.7.2)
      - Downloading contao-components/highlight (9.18.1)
      - Downloading contao-components/jquery (3.5.1)
      - Downloading contao-components/tinymce4 (4.9.12)
      - Downloading symfony/yaml (v4.4.19)
      - Downloading symfony/http-foundation (v4.4.19)
      - Downloading symfony/event-dispatcher-contracts (v1.1.9)
      - Downloading symfony/event-dispatcher (v4.4.19)
      - Downloading symfony/var-dumper (v4.4.19)
      - Downloading symfony/debug (v4.4.19)
      - Downloading symfony/error-handler (v4.4.19)
      - Downloading symfony/http-kernel (v4.4.19)
      - Downloading symfony/dependency-injection (v4.4.19)
      - Downloading symfony/filesystem (v4.4.19)
      - Downloading symfony/config (v4.4.19)
      - Downloading symfony/options-resolver (v5.2.3)
      - Downloading symfony/http-client (v4.4.19)
      - Downloading psr/http-factory (1.0.1)
      - Downloading psr/http-client (1.0.1)
      - Downloading php-http/httplug (2.2.0)
      - Downloading php-http/client-common (2.3.0)
      - Downloading wikimedia/less.php (1.8.2)
      - Downloading webignition/disallowed-character-terminated-string (2.0)
      - Downloading webignition/robots-txt-file (3.0)
      - Downloading twig/twig (v2.14.3)
      - Downloading terminal42/service-annotation-bundle (1.1.3)
      - Downloading symfony/dom-crawler (v4.4.19)
      - Downloading nyholm/psr7 (1.3.2)
      - Downloading terminal42/escargot (1.0.1)
      - Downloading symfony/translation-contracts (v2.3.0)
      - Downloading symfony/twig-bridge (v4.4.19)
      - Downloading symfony/twig-bundle (v4.4.19)
      - Downloading symfony/translation (v4.4.19)
      - Downloading symfony/polyfill-iconv (v1.22.0)
      - Downloading egulias/email-validator (2.1.25)
      - Downloading swiftmailer/swiftmailer (v6.2.5)
      - Downloading symfony/swiftmailer-bundle (v3.5.2)
      - Downloading symfony/security-core (v4.4.19)
      - Downloading symfony/polyfill-intl-grapheme (v1.22.0)
      - Downloading symfony/string (v5.2.3)
      - Downloading symfony/property-info (v5.2.3)
      - Downloading symfony/property-access (v5.2.3)
      - Downloading symfony/security-http (v4.4.19)
      - Downloading symfony/security-guard (v4.4.19)
      - Downloading symfony/security-csrf (v5.2.3)
      - Downloading symfony/security-bundle (v4.4.19)
      - Downloading symfony/routing (v4.4.19)
      - Downloading symfony/process (v4.4.19)
      - Downloading symfony/monolog-bridge (v4.4.19)
      - Downloading symfony/lock (v4.4.19)
      - Downloading symfony/finder (v4.4.19)
      - Downloading symfony/var-exporter (v5.2.3)
      - Downloading symfony/cache-contracts (v2.2.0)
      - Downloading symfony/cache (v4.4.19)
      - Downloading symfony/framework-bundle (v4.4.19)
      - Downloading symfony/expression-language (v4.4.19)
      - Downloading symfony/console (v4.4.19)
      - Downloading symfony/asset (v4.4.19)
      - Downloading symfony-cmf/routing (2.3.3)
      - Downloading symfony-cmf/routing-bundle (2.4.2)
      - Downloading thecodingmachine/safe (v1.3.3)
      - Downloading paragonie/constant_time_encoding (v2.4.0)
      - Downloading beberlei/assert (v3.3.0)
      - Downloading spomky-labs/otphp (v10.0.1)
      - Downloading scheb/2fa-bundle (v5.4.2)
      - Downloading lcobucci/jwt (3.4.4)
      - Downloading scheb/2fa-trusted-device (v5.4.2)
      - Downloading scheb/2fa-backup-code (v5.4.2)
      - Downloading ramsey/uuid (3.9.3)
      - Downloading phpunit/php-token-stream (4.0.4)
      - Downloading nelmio/cors-bundle (2.1.0)
      - Downloading league/uri-parser (1.4.1)
      - Downloading league/uri-interfaces (1.1.1)
      - Downloading league/uri-schemes (1.2.1)
      - Downloading league/uri-hostname-parser (1.1.1)
      - Downloading league/uri-components (1.8.2)
      - Downloading knplabs/knp-time-bundle (v1.15.0)
      - Downloading knplabs/knp-menu (v3.1.2)
      - Downloading knplabs/knp-menu-bundle (v3.1.0)
      - Downloading dragonmantank/cron-expression (v2.3.1)
      - Downloading doctrine/persistence (2.1.0)
      - Downloading doctrine/instantiator (1.4.0)
      - Downloading doctrine/inflector (2.0.3)
      - Downloading doctrine/common (3.1.1)
      - Downloading doctrine/orm (2.8.1)
      - Downloading symfony/doctrine-bridge (v4.4.19)
      - Downloading doctrine/sql-formatter (1.1.1)
      - Downloading doctrine/doctrine-bundle (2.2.3)
      - Downloading contao/imagine-svg (1.0.2)
      - Downloading contao/image (1.0.3)
      - Downloading contao/core-bundle (4.9.11)
      - Downloading contao/calendar-bundle (4.9.11)
      - Downloading contao/comments-bundle (4.9.11)
      - Downloading contao/faq-bundle (4.9.11)
      - Downloading contao/listing-bundle (4.9.11)
      - Downloading toflar/psr6-symfony-http-cache-store (3.0.1)
      - Downloading symfony/web-profiler-bundle (v4.4.19)
      - Downloading symfony/stopwatch (v4.4.19)
      - Downloading zendframework/zend-eventmanager (3.2.1)
      - Downloading zendframework/zend-code (3.4.1)
      - Downloading ocramius/proxy-manager (2.2.3)
      - Downloading symfony/proxy-manager-bridge (v4.4.18)
      - Downloading symfony/dotenv (v4.4.19)
      - Downloading symfony/debug-bundle (v4.4.19)
      - Downloading contao/installation-bundle (4.9.11)
      - Downloading contao/manager-bundle (4.9.11)
      - Downloading contao/news-bundle (4.9.11)
      - Downloading contao/newsletter-bundle (4.9.11)
      - Removing terminal42/header-replay-bundle (1.5.3)
      - Removing tecnickcom/tcpdf (6.3.5)
      - Removing symfony/symfony (v3.4.47)
      - Removing symfony/polyfill-php70 (v1.20.0)
      - Removing symfony/polyfill-php56 (v1.20.0)
      - Removing symfony/polyfill-intl-icu (v1.22.0)
      - Removing symfony/polyfill-apcu (v1.22.0)
      - Removing sensiolabs/security-checker (v6.0.3)
      - Removing sensiolabs/ansi-to-html (v1.1.3)
      - Removing sensio/distribution-bundle (v5.0.25)
      - Removing ralouphie/getallheaders (3.0.3)
      - Removing psr/link (1.0.0)
      - Removing php-http/guzzle6-adapter (v1.1.1)
      - Removing oyejorge/less.php (v1.7.0.14)
      - Removing league/uri (4.2.2)
      - Removing jeremykendall/php-domain-parser (3.0.0)
      - Removing jdorn/sql-formatter (v1.2.17)
      - Removing guzzlehttp/psr7 (1.7.0)
      - Removing guzzlehttp/promises (1.4.0)
      - Removing guzzlehttp/guzzle (6.5.5)
      - Removing fig/link-util (1.1.2)
      - Removing doctrine/reflection (1.2.2)
      - Removing doctrine/doctrine-cache-bundle (1.4.0)
      - Removing contao-components/respimage (1.4.2)
      - Removing contao-components/mediaelement (4.2.14)
      - Removing contao-components/html5shiv (3.7.3)
      - Removing contao-components/compass (0.12.2.1)
      - Installing composer/package-versions-deprecated (1.11.99.1): Extracting archive
      - Installing ausi/slug-generator (v1.1.1): Extracting archive
      - Installing dasprid/enum (1.0.3): Extracting archive
      - Installing bacon/bacon-qr-code (2.0.3): Extracting archive
      - Upgrading contao-components/contao (7.1.6 => 9.1.1): Extracting archive
      - Upgrading contao-components/dropzone (4.3.0 => 5.7.2): Extracting archive
      - Upgrading contao-components/highlight (8.9.1 => 9.18.1): Extracting archive
      - Upgrading contao-components/jquery (1.12.4 => 3.5.1): Extracting archive
      - Upgrading contao-components/tinymce4 (4.6.7.3 => 4.9.12): Extracting archive
      - Installing symfony/yaml (v4.4.19): Extracting archive
      - Installing symfony/http-foundation (v4.4.19): Extracting archive
      - Installing symfony/event-dispatcher-contracts (v1.1.9): Extracting archive
      - Installing symfony/event-dispatcher (v4.4.19): Extracting archive
      - Installing symfony/var-dumper (v4.4.19): Extracting archive
      - Installing symfony/debug (v4.4.19): Extracting archive
      - Installing symfony/error-handler (v4.4.19): Extracting archive
      - Installing symfony/http-kernel (v4.4.19): Extracting archive
      - Installing symfony/dependency-injection (v4.4.19): Extracting archive
      - Installing symfony/filesystem (v4.4.19): Extracting archive
      - Installing symfony/config (v4.4.19): Extracting archive
      - Installing symfony/options-resolver (v5.2.3): Extracting archive
      - Downgrading symfony/http-client (v5.2.3 => v4.4.19): Extracting archive
      - Installing psr/http-factory (1.0.1): Extracting archive
      - Installing psr/http-client (1.0.1): Extracting archive
      - Upgrading php-http/httplug (v1.1.0 => 2.2.0): Extracting archive
      - Upgrading php-http/client-common (1.10.0 => 2.3.0): Extracting archive
      - Installing wikimedia/less.php (1.8.2): Extracting archive
      - Installing webignition/disallowed-character-terminated-string (2.0): Extracting archive
      - Installing webignition/robots-txt-file (3.0): Extracting archive
      - Upgrading twig/twig (v1.44.2 => v2.14.3): Extracting archive
      - Installing terminal42/service-annotation-bundle (1.1.3): Extracting archive
      - Installing symfony/dom-crawler (v4.4.19): Extracting archive
      - Installing nyholm/psr7 (1.3.2): Extracting archive
      - Installing terminal42/escargot (1.0.1): Extracting archive
      - Installing symfony/translation-contracts (v2.3.0): Extracting archive
      - Installing symfony/twig-bridge (v4.4.19): Extracting archive
      - Installing symfony/twig-bundle (v4.4.19): Extracting archive
      - Installing symfony/translation (v4.4.19): Extracting archive
      - Installing symfony/polyfill-iconv (v1.22.0): Extracting archive
      - Installing egulias/email-validator (2.1.25): Extracting archive
      - Upgrading swiftmailer/swiftmailer (v5.4.12 => v6.2.5): Extracting archive
      - Upgrading symfony/swiftmailer-bundle (v2.6.7 => v3.5.2): Extracting archive
      - Installing symfony/security-core (v4.4.19): Extracting archive
      - Installing symfony/polyfill-intl-grapheme (v1.22.0): Extracting archive
      - Installing symfony/string (v5.2.3): Extracting archive
      - Installing symfony/property-info (v5.2.3): Extracting archive
      - Installing symfony/property-access (v5.2.3): Extracting archive
      - Installing symfony/security-http (v4.4.19): Extracting archive
      - Installing symfony/security-guard (v4.4.19): Extracting archive
      - Installing symfony/security-csrf (v5.2.3): Extracting archive
      - Installing symfony/security-bundle (v4.4.19): Extracting archive
      - Installing symfony/routing (v4.4.19): Extracting archive
      - Installing symfony/process (v4.4.19): Extracting archive
      - Installing symfony/monolog-bridge (v4.4.19): Extracting archive
      - Installing symfony/lock (v4.4.19): Extracting archive
      - Installing symfony/finder (v4.4.19): Extracting archive
      - Installing symfony/var-exporter (v5.2.3): Extracting archive
      - Installing symfony/cache-contracts (v2.2.0): Extracting archive
      - Installing symfony/cache (v4.4.19): Extracting archive
      - Installing symfony/framework-bundle (v4.4.19): Extracting archive
      - Installing symfony/expression-language (v4.4.19): Extracting archive
      - Installing symfony/console (v4.4.19): Extracting archive
      - Installing symfony/asset (v4.4.19): Extracting archive
      - Installing symfony-cmf/routing (2.3.3): Extracting archive
      - Installing symfony-cmf/routing-bundle (2.4.2): Extracting archive
      - Installing thecodingmachine/safe (v1.3.3): Extracting archive
      - Installing paragonie/constant_time_encoding (v2.4.0): Extracting archive
      - Installing beberlei/assert (v3.3.0): Extracting archive
      - Installing spomky-labs/otphp (v10.0.1): Extracting archive
      - Installing scheb/2fa-bundle (v5.4.2): Extracting archive
      - Installing lcobucci/jwt (3.4.4): Extracting archive
      - Installing scheb/2fa-trusted-device (v5.4.2): Extracting archive
      - Installing scheb/2fa-backup-code (v5.4.2): Extracting archive
      - Installing ramsey/uuid (3.9.3): Extracting archive
      - Upgrading phpunit/php-token-stream (3.1.2 => 4.0.4): Extracting archive
      - Upgrading nelmio/cors-bundle (1.5.6 => 2.1.0): Extracting archive
      - Installing league/uri-parser (1.4.1): Extracting archive
      - Installing league/uri-interfaces (1.1.1): Extracting archive
      - Installing league/uri-schemes (1.2.1): Extracting archive
      - Installing league/uri-hostname-parser (1.1.1): Extracting archive
      - Installing league/uri-components (1.8.2): Extracting archive
      - Removing knplabs/knp-time-bundle (v1.10.0)
      - Installing knplabs/knp-time-bundle (v1.15.0): Extracting archive
      - Upgrading knplabs/knp-menu (2.6.0 => v3.1.2): Extracting archive
      - Upgrading knplabs/knp-menu-bundle (v2.3.0 => v3.1.0): Extracting archive
      - Installing dragonmantank/cron-expression (v2.3.1): Extracting archive
      - Upgrading doctrine/persistence (1.3.8 => 2.1.0): Extracting archive
      - Installing doctrine/instantiator (1.4.0): Extracting archive
      - Upgrading doctrine/inflector (1.4.3 => 2.0.3): Extracting archive
      - Upgrading doctrine/common (2.13.3 => 3.1.1): Extracting archive
      - Installing doctrine/orm (2.8.1): Extracting archive
      - Installing symfony/doctrine-bridge (v4.4.19): Extracting archive
      - Installing doctrine/sql-formatter (1.1.1): Extracting archive
      - Upgrading doctrine/doctrine-bundle (1.12.13 => 2.2.3): Extracting archive
      - Upgrading contao/imagine-svg (0.2.3 => 1.0.2): Extracting archive
      - Upgrading contao/image (0.3.9 => 1.0.3): Extracting archive
      - Upgrading contao/core-bundle (4.4.55 => 4.9.11): Extracting archive
      - Upgrading contao/calendar-bundle (4.4.55 => 4.9.11): Extracting archive
      - Upgrading contao/comments-bundle (4.4.55 => 4.9.11): Extracting archive
      - Upgrading contao/faq-bundle (4.4.55 => 4.9.11): Extracting archive
      - Upgrading contao/listing-bundle (4.4.55 => 4.9.11): Extracting archive
      - Upgrading toflar/psr6-symfony-http-cache-store (2.3.1 => 3.0.1): Extracting archive
      - Installing symfony/web-profiler-bundle (v4.4.19): Extracting archive
      - Installing symfony/stopwatch (v4.4.19): Extracting archive
      - Installing zendframework/zend-eventmanager (3.2.1): Extracting archive
      - Installing zendframework/zend-code (3.4.1): Extracting archive
      - Installing ocramius/proxy-manager (2.2.3): Extracting archive
      - Installing symfony/proxy-manager-bridge (v4.4.18): Extracting archive
      - Installing symfony/dotenv (v4.4.19): Extracting archive
      - Installing symfony/debug-bundle (v4.4.19): Extracting archive
      - Upgrading contao/installation-bundle (4.4.55 => 4.9.11): Extracting archive
      - Upgrading contao/manager-bundle (4.4.55 => 4.9.11): Extracting archive
      - Upgrading contao/news-bundle (4.4.55 => 4.9.11): Extracting archive
      - Upgrading contao/newsletter-bundle (4.4.55 => 4.9.11): Extracting archive
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
    Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.
    Generating optimized autoload files
    Class League\Uri\Schemes\AbstractUri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
    Class League\Uri\Schemes\Data located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
    Class League\Uri\Schemes\File located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
    Class League\Uri\Schemes\Ftp located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
    Class League\Uri\Schemes\Http located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
    Class League\Uri\Schemes\Uri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
    Class League\Uri\Schemes\UriException located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
    Class League\Uri\Schemes\Ws located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
    mmap() failed: [12] Cannot allocate memory
    mmap() failed: [12] Cannot allocate memory
    # Process terminated with exit code 255
    # Result: Unknown error
    Am Ende des Protokolls scheinen Empfehlungen für Update-Alternativen zu stehen. Wie sind diese zu deuten bzw. auszuführen? Auf das Newsletter-Bundle könnte ich defintiv auch verzichten.

    Gerade merke ich, dass die Fehler auch schon beim Testlauf zu sehen sind. Siehe Screenshot…
    Bildschirmfoto 2021-02-11 um 20.21.03.png
    Geändert von herold (11.02.2021 um 19:23 Uhr)

  7. #7
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    Da sind nur Hinweise, keine Fehler.

    Der/die Fehler waren folgendes:
    Code:
    mmap() failed: [12] Cannot allocate memory
    mmap() failed: [12] Cannot allocate memory
    # Process terminated with exit code 255
    # Result: Unknown error

  8. #8
    Gesperrt
    Registriert seit
    05.01.2015.
    Beiträge
    24

    Standard

    Ok, und was kann ich tun, um das zu vermeiden/auszuschließen? Hat das etwas mit dem RAM vom Webserver zu tun? Oder einfach mal wiederholen?
    Geändert von herold (11.02.2021 um 20:04 Uhr)

  9. #9
    Wandelndes Contao-Lexikon Avatar von tab
    Registriert seit
    22.10.2013.
    Beiträge
    10.078
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Ja, da ist das RAM ausgegangen bzw wurde nicht ausreichend zur Verfügung gestellt.

  10. #10
    Gesperrt
    Registriert seit
    05.01.2015.
    Beiträge
    24

    Standard Wiederholung erfolgreich

    Ahoi, ich habs jetzt einfach nochmal wiederholt und hatte Glück. Der Strato-Server hat mehr RAM ausgespuckt – richtige Uhrzeit ;-)

    Bildschirmfoto 2021-02-11 um 21.35.57.png

    Aktuell habe ich auf der Subdomain für die Vorbereitung kein SSL laufen. Das Backend ist auf jeden Fall erreichbar, aber beim Frontend spackt es etwas (Ikoognito und http funzt). Gab es da Änderungen in Contao? Ich habe einfach mal die Checkbox für https in den Startpunkt-Einstellungen deaktiviert.
    Sollte ich der Subdomain SSL gönnen oder geht das für die Weiterentwicklung auch ohne?

    Außerdem schlägt das Install-Tool noch vor folgende Tabellen/Spalten zu löschen… execute?
    Code:
    Tabellen löschen
    	Alle auswählen
    	
    DROP TABLE tl_cron
    DROP TABLE tl_newsletter_recipients_backup
    DROP TABLE tl_session
    
    Spalten löschen
    	Alle auswählen
    	
    ALTER TABLE tl_comments_notify DROP tokenConfirm
    ALTER TABLE tl_comments_notify DROP ip
    ALTER TABLE tl_content DROP youtubeStop
    ALTER TABLE tl_content DROP youtubeStart
    ALTER TABLE tl_content DROP autoplay
    ALTER TABLE tl_form_field DROP fsType
    ALTER TABLE tl_layout DROP doctype
    ALTER TABLE tl_log DROP ip
    ALTER TABLE tl_member DROP activation
    ALTER TABLE tl_member DROP createdOn
    ALTER TABLE tl_member DROP autologin
    ALTER TABLE tl_member DROP loginCount
    ALTER TABLE tl_module DROP flashJS
    ALTER TABLE tl_module DROP flashID
    ALTER TABLE tl_module DROP interactive
    ALTER TABLE tl_module DROP source
    ALTER TABLE tl_module DROP altContent
    ALTER TABLE tl_module DROP flashvars
    ALTER TABLE tl_module DROP transparent
    ALTER TABLE tl_module DROP size
    ALTER TABLE tl_module DROP totalLength
    ALTER TABLE tl_module DROP cols
    ALTER TABLE tl_newsletter_recipients DROP token
    ALTER TABLE tl_newsletter_recipients DROP ip
    ALTER TABLE tl_newsletter_recipients DROP confirmed
    ALTER TABLE tl_page DROP mobileLayout
    ALTER TABLE tl_theme DROP defaultImageDensities
    ALTER TABLE tl_user DROP loginCount
    ALTER TABLE tl_user DROP limitWidth
    Geändert von herold (11.02.2021 um 21:01 Uhr)

  11. #11
    Community-Moderator Avatar von stefan-at-work
    Registriert seit
    05.06.2009.
    Ort
    Bad Segeberg
    Beiträge
    1.780
    Partner-ID
    634

    Lächelndes Gesicht

    Zitat Zitat von herold Beitrag anzeigen
    Ahoi, ich habs jetzt einfach nochmal wiederholt und hatte Glück. Der Strato-Server hat mehr RAM ausgespuckt – richtige Uhrzeit ;-)
    Dürfte nicht an Strato liegen, sondern vielmehr an der neuen Version des Contao Managers

  12. #12
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    Zitat Zitat von stefan-at-work Beitrag anzeigen
    Dürfte nicht an Strato liegen, sondern vielmehr an der neuen Version des Contao Managers
    Naja, der Speicherfehler war bei der composer install Operation. Die braucht ja im Vergleich zum Dependency Resolving ohnehin weniger Speicher (unabhängig von Composer 1 oder 2). Allerdings kann es auf machen Hostern vorkommen, dass selbst für diese Operation zu wenig Speicher zur Verfügung steht. Ein zweiter composer install lauf kann aber dann zum Erfolg führen, wenn dann nicht mehr so viele Abhängigkeiten installiert werden müssen. Oder im Fall von Hostern (wie vermutlich Strato) wo der zur Verfügung stehende Arbeitsspeicher dynamisch ist kann es eben helfen es einfach mal an einem anderen Zeitpunkt zu versuchen.

  13. #13
    Gesperrt
    Registriert seit
    05.01.2015.
    Beiträge
    24

    Standard

    …und könnt ihr noch etwas zu dem SSL Thema beim Frontend sagen. Muss ich etwas an der htaccess umbiegen bis ich live gehe?

  14. #14
    Wandelndes Contao-Lexikon Avatar von tab
    Registriert seit
    22.10.2013.
    Beiträge
    10.078
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Wenn du https im Startpunkt aktivierst, dann solltest du auch ein SSL-Zertifikat haben, weil alle internen Links (z.B. Menü, auch im Backend) automatisch mit https://... generiert werden. Ansonsten halt im Startpunkt für die Entwicklung mit der Subdomain https deaktivieren und überprüfen, ob in der .htaccess Umleitungen auf https oder auch auf die Hauptdomain drin sind. Auch beim Hoster besteht oft die Möglichkeit, eine solche Umleitung auf https einzurichten, allerdings in der Regel nur, wenn auch ein Zertifikat für die (Sub-)Domain vorhanden ist.

  15. #15
    Gesperrt
    Registriert seit
    05.01.2015.
    Beiträge
    24

    Standard

    ## EDIT
    Nun habe ich mal den Seitencache geleert und einfach mal einen Alias direkt aufgerufen domain.xy/start und siehe da: Jetzt ist das Frontend auch wieder via http erreichbar.
    Ich weiß jetzt nur nicht welcher Handgriff geholfen hat :-(
    ##

    Noi, es sieht nicht so aus, dass ich in der htaccess dazu etwas eingetragen habe (aus Ordner „web“). Komischerweise bringt auch nur Chrome hier gerade unter diesem Account den SSH-Error. Ein anderer User auf diesem Rechner hat das Problem nicht und im Inkognito-Modus kann ich das https zu http machen und komme dann auch ans Frontend. Safari ruft via http ohne Mucken auf, aber Firefox zeigt das gleiche Verhalten.
    Nur der Vollständigkeit halber, aber ich probiere das gleich nochmal auf einem anderen Rechner…

    Code:
    <IfModule mod_headers.c>
        # Allow access from all domains for webfonts (see contao/core-bundle#528)
        <FilesMatch "\.(ttf|ttc|otf|eot|woff2?|font\.css)$">
            Header set Access-Control-Allow-Origin "*"
        </FilesMatch>
    </IfModule>
    
    <IfModule mod_rewrite.c>
        RewriteEngine On
    
        # Determine the RewriteBase automatically and set it as environment variable.
        # If you are using Apache aliases to do mass virtual hosting or installed the
        # project in a subdirectory, the base path will be prepended to allow proper
        # resolution of the app.php file and to redirect to the correct URI. It will
        # work in environments without path prefix as well, providing a safe, one-size
        # fits all solution. But as you do not need it in this case, you can comment
        # the following 2 lines to eliminate the overhead.
        RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
        RewriteRule ^(.*) - [E=BASE:%1]
    
        # Sets the HTTP_AUTHORIZATION header removed by Apache
        RewriteCond %{HTTP:Authorization} .
        RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    
        # Redirect to URI without front controller to prevent duplicate content
        # (with and without `/app.php`). Only do this redirect on the initial
        # rewrite by Apache and not on subsequent cycles. Otherwise we would get an
        # endless redirect loop (request -> rewrite to front controller ->
        # redirect -> request -> ...).
        # So in case you get a "too many redirects" error or you always get redirected
        # to the start page because your Apache does not expose the REDIRECT_STATUS
        # environment variable, you have 2 choices:
        # - disable this feature by commenting the following 2 lines or
        # - use Apache >= 2.3.9 and replace all L flags by END flags and remove the
        #   following RewriteCond (best solution)
        RewriteCond %{ENV:REDIRECT_STATUS} ^$
        RewriteRule ^app\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L]
    
        # If the requested filename exists, simply serve it.
        # We only want to let Apache serve files and not directories.
        RewriteCond %{REQUEST_FILENAME} -f
        RewriteRule ^ - [L]
    
        # Rewrite all other queries to the front controller.
        RewriteRule ^ %{ENV:BASE}/app.php [L]
    </IfModule>
    
    <IfModule !mod_rewrite.c>
        <IfModule mod_alias.c>
            # When mod_rewrite is not available, we instruct a temporary redirect of
            # the start page to the front controller explicitly so that the website
            # and the generated links can still be used.
            RedirectMatch 302 ^/$ /app.php/
            # RedirectTemp cannot be used instead
        </IfModule>
    </IfModule>
    Geändert von herold (14.02.2021 um 08:25 Uhr)

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •