Contao-Camp 2024
Ergebnis 1 bis 10 von 10

Thema: Fehler und Abbruch bei Update auf Contao 4.9.9

  1. #1
    Contao-Nutzer Avatar von Arachnophilia
    Registriert seit
    03.01.2018.
    Beiträge
    97

    Standard Fehler und Abbruch bei Update auf Contao 4.9.9

    Hallo

    Ich wollte über den Contao-Manager ein Update von Contao 4.9.8 auf Version 4.9.9 durchführen.
    Das klappt leider nicht. Ich habe mal die Informationen nachstehend angehängt.
    Ich weiss nicht, ob es ein Contao oder Netcup generiertes Problem ist..... oder durch mich.

    Code:
    composer install
    $ /usr/local/php74/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    Fatal error: Uncaught Error: Class 'Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain' not found in /var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/var/cache/prod/ContainerNytxnEZ/getDoctrine_Orm_DefaultEntityManagerService.php:51
    Stack trace:
    #0 /var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/var/cache/prod/ContainerNytxnEZ/appContao_ManagerBundle_HttpKernel_ContaoKernelProdContainer.php(534): require()
    #1 /var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/var/cache/prod/ContainerNytxnEZ/getDoctrine_Orm_DefaultEntityManagerService.php(12): ContainerNytxnEZ\appContao_ManagerBundle_HttpKernel_ContaoKernelProdContainer->load('getDoctrine_Orm...', false)
    #2 /var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/var/cache/prod/ContainerNytxnEZ/EntityManager_9a5be93.php(165): ContainerNytxnEZ\appContao_ManagerBundle_HttpKernel_ContaoKernelProdContainer->{closure}(NULL, Object(EntityManager_9a5be93), 'getConfiguratio...', Array, Ob in /var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/var/cache/prod/ContainerNytxnEZ/getDoctrine_Orm_DefaultEntityManagerService.php on line 51
    Loading composer repositories with package information
    Installing dependencies from lock file
    Package operations: 1 install, 24 updates, 0 removals
      - Updating contao-community-alliance/composer-plugin (3.1.2 => 3.1.3): As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
    This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
    Installing 'unzip' may remediate them.
    Loading from cache
      - Updating ausi/slug-generator (v1.1.0 => v1.1.1): Loading from cache
      - Updating symfony/http-client-contracts (v2.2.0 => v2.3.1): Loading from cache
      - Installing jaybizzle/crawler-detect (v1.2.100): Loading from cache
      - Updating simplepie/simplepie (1.5.5 => 1.5.6): Loading from cache
      - Updating php-http/message (1.9.0 => 1.9.1): Loading from cache
      - Updating dragonmantank/cron-expression (v2.3.0 => v2.3.1): Loading from cache
      - Updating doctrine/persistence (1.3.8 => 2.0.0): Loading from cache
      - Updating doctrine/dbal (2.11.1 => 2.11.2): Loading from cache
      - Updating doctrine/common (2.13.3 => 3.0.2): Loading from cache
      - Updating doctrine/orm (v2.7.3 => 2.7.4): Loading from cache
      - Downgrading doctrine/doctrine-bundle (1.12.10 => 1.12.2): Loading from cache
      - Updating contao/core-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating bugbuster/contao-botdetection-bundle (1.5.6 => 1.6.0): Loading from cache
      - Updating contao/calendar-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating contao/comments-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating contao/faq-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating contao/listing-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating contao/installation-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating contao/manager-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating contao/news-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating contao/newsletter-bundle (4.9.8 => 4.9.9): Loading from cache
      - Updating markbaker/matrix (1.2.1 => 2.0.0): Loading from cache
      - Updating markbaker/complex (1.5.0 => 2.0.0): Loading from cache
      - Updating phpoffice/phpspreadsheet (1.14.1 => 1.15.0): Loading from cache
    Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    Generating optimized autoload files
    Deprecation Notice: Class con4gis\ProjectsBundle\Classes\Models\C4gProjectMapDataModel located in ./vendor/con4gis/projects/Classes/Models/C4gProjectMapdataModel.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\AbstractUri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Data located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\File located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Ftp located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Http located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Uri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\UriException located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Ws located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/web/bg-manager.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    89 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
    In ScriptHandler.php line 89:
                                                                               
      An error occurred while executing the "contao:install-web-dir" command:  
                                                                               
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
    # Process terminated with exit code 1
    # Result: General error
    Was bedeutet dieser Fehler? Kann ich das über den Contao-Manager beheben?
    Geändert von Arachnophilia (20.10.2020 um 18:02 Uhr)
    _____________________________________________

    Gruß Arachnophilia

  2. #2
    Contao-Nutzer Avatar von Arachnophilia
    Registriert seit
    03.01.2018.
    Beiträge
    97

    Standard

    Ich habe jetzt mal über den Contao Manager den Prod-Cache geleert und anschließend einen neuen Versuch gemacht.
    Leider das gleiche Problem.
    Code:
    Fatal error: Uncaught Error: Class 'Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain' not found in /var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/var/cache/prod/ContainerFOUIIua/getDoctrine_Orm_DefaultEntityManagerService.php:51
    Bei der Fehlersuche habe ich dann festgestellt, dass es das Verzeichnis
    Code:
    /var/www/vhosts/hosting126252.a2fdf.netcup.net/httpdocs_C484/contao/cms/var/cache/prod/ContainerFOUIIua/
    gar nicht existiert.

    Egal wie oft ich den Prod-Cache neu erstelle. Es wird in einem Verzeichnis gesucht, das nicht existiert.

    Aktuell bin ich der Ansicht, dass es ein Fehler in Contao ist
    _____________________________________________

    Gruß Arachnophilia

  3. #3
    Contao-Nutzer Avatar von Arachnophilia
    Registriert seit
    03.01.2018.
    Beiträge
    97

    Standard

    Ein umbenennen oder duplizieren des bestehenden Verzeichnisses in 'ContainerFOUIIua' bringt nichts.
    Beim Aktualisieren wird das Verzeichnis 'ContainerFOUIIua' gelöscht und anschließend das Fehlen bemängelt.
    _____________________________________________

    Gruß Arachnophilia

  4. #4
    Contao-Nutzer Avatar von WebMarco
    Registriert seit
    29.09.2014.
    Beiträge
    107

    Standard

    Ich habe eben ein Update von Contao 4.9.8 auf 4.9.9 durchgeführt und kann den Fehler nicht nachvollziehen. Evtl. liegt es an einer installierten Erweiterung?

  5. #5
    Contao-Nutzer Avatar von Arachnophilia
    Registriert seit
    03.01.2018.
    Beiträge
    97

    Standard

    Hallo WebMarco

    Ich hatte bisher noch keine Probleme bei der Akualisierung mit Contao.
    Aber momentan harzt es einfach. Ich verstehe das Problem aktuell nicht.
    Eine Alternative wäre das komplett neue Aufsetzen von Contao.
    _____________________________________________

    Gruß Arachnophilia

  6. #6
    Contao-Nutzer Avatar von WebMarco
    Registriert seit
    29.09.2014.
    Beiträge
    107

    Standard

    Ja, Contao mit den Inhalten, Einstellungen, etc. neu aufzusetzen ist sehr einfach und dauert auch nicht lange. Falls du da eine Kurzanleitung wünscht, kann ich dir diese gerne aufzeigen.

  7. #7
    Contao-Nutzer Avatar von Arachnophilia
    Registriert seit
    03.01.2018.
    Beiträge
    97

    Standard

    Ja, Contao mit den Inhalten, Einstellungen, etc. neu aufzusetzen ist sehr einfach und dauert auch nicht lange. Falls du da eine Kurzanleitung wünscht, kann ich dir diese gerne aufzeigen.
    Hallo WebMarco

    Herzlichen Dank! Ich nehme dein Angebot für die Kurzanleitung gerne an.
    _____________________________________________

    Gruß Arachnophilia

  8. #8
    Contao-Nutzer Avatar von Arachnophilia
    Registriert seit
    03.01.2018.
    Beiträge
    97

    Standard

    Hallo Zusammen

    Eine Kurzanleitung hatte ich zwar nicht zur Verfügung, aber es war auch ohne Anleitung wirklich problemlos Contao neu aufsetzen und die Daten zu übernehmen.
    Das hat weniger Zeit gekostet als die Fehlersuche.

    Ich bin echt froh, ass mein Vorgänger sich damals für Contao entschieden hat.
    Geändert von Arachnophilia (29.10.2020 um 14:40 Uhr)
    _____________________________________________

    Gruß Arachnophilia

  9. #9
    Contao-Nutzer Avatar von Arachnophilia
    Registriert seit
    03.01.2018.
    Beiträge
    97

    Daumen hoch

    Moin

    Eine Aktualisierung auf Contao v4.10.x hätte bei mir auch die bestehende Installation repariert.

    Eben probiert mit der alten Installation.
    _____________________________________________

    Gruß Arachnophilia

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

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
  •