Ergebnis 1 bis 19 von 19

Thema: Fehler bei Update 4.9 -> 4.13 / You can override "Bundle::getContainerExtension()"...

  1. #1
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard Fehler bei Update 4.9 -> 4.13 / You can override "Bundle::getContainerExtension()"...

    Hallo,

    ich wollte kürzlich von 4.9.34 -> 4.9.37 -> 4.13 aktualisieren. Dabei kam es anders als bei vorherigen Updates zu einem Fehler, den ich nicht mehr genau in Erinnerung habe. Nun habe ich jedoch das Problem bereits bei der Aktualisierung auf 4.9.37 stecken zu bleiben, wobei letztlich nur ein Zurückspielen der bisherigen Dateien das System wieder zum Laufen bringt.

    Die Fehlermeldung lautet:

    vendor/bin/contao-console list
    In Bundle.php line 80:

    Users will expect the alias of the default extension of a bundle to be the underscored version of the bundle name ("rock_solid_custom_elements"). You can override "Bundle::getContainerExtension()" if you want to use "rocksolid_custom_elements" or another alias.

    Meinem Eindruck nach handelt es sich dabei um eine Art "low-level" Fehler in Symphony, ich habe jedoch keine Ahnung, wie ich das troubleshooten kann, um erneut das eigentliche Upgrade auf 4.13 in Angriff zu nehmen.

    Danke
    Andreas

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

    Standard

    Hast du eine vollständige Paketaktualisierung durchgeführt?
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard

    Ja bzw. genau daran scheitert es. Bei dem Update von 4.9.34 auf 4.9.37 sollen insgesamt 20 Pakete aktualisiert werden. Der Testlauf dazu funktioniert auch tadellos, nur wenn ich es dann "real" versuche bekomme ich letztlich auch nach einem möglichen Reparaturversuch besagte Fehlermeldung.

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

    Standard

    Tritt der Fehler also nun mit Contao 4.9 oder 4.13 auf? Initial hast du gepostet, dass das bei einem Update von 4.9 auf 4.13 passiert, nun aber schreibst du, dass das auch unter Contao 4.9 passiert. Poste mal deine composer.json
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard

    Ich bin aktuell wieder bei 4.9.34. Der ursprüngliche und nicht mehr reproduzierbare Fehler trat aus der Erinnerung im Verlauf des Upgrades von 4.9.37 auf 4.13. Der aktuelle Fehler tritt hingegen beim versuchten Update von 4.9.34 auf 4.9.37 auf. -- ATTACH]26068[/ATTACH]
    Angehängte Dateien Angehängte Dateien

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

    Standard

    Mit dieser composer.json kann ich keinen Fehler feststellen. Poste mal die komplette Konsolenausgabe der composer update Operation ("Composer Update ausführen" über die Systemwartung).
    » sponsor me via GitHub or PayPal or Revolut

  7. #7
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard

    > Resolving dependencies using Composer Cloud v3.5.1

    [7.0MiB/0.18s] Loading composer repositories with package information
    [78.5MiB/8.25s] Updating dependencies
    [32.2MiB/10.40s] Lock file operations: 0 installs, 62 updates, 0 removals
    [32.2MiB/10.40s] - Upgrading bacon/bacon-qr-code (2.0.7 => 2.0.8)
    [32.2MiB/10.40s] - Upgrading composer/ca-bundle (1.3.3 => 1.3.4)
    [32.2MiB/10.40s] - Upgrading contao-components/ace (1.11.2 => 1.13.2)
    [32.2MiB/10.41s] - Upgrading contao-components/jquery-ui (1.13.1 => 1.13.2)
    [32.2MiB/10.41s] - Upgrading contao-components/mootools (1.6.0.6 => 1.6.0.7)
    [32.2MiB/10.41s] - Upgrading contao/calendar-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.41s] - Upgrading contao/comments-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.41s] - Upgrading contao/conflicts (dev-main aed826f => dev-main 9657cca)
    [32.2MiB/10.41s] - Upgrading contao/core-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.41s] - Upgrading contao/faq-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.41s] - Upgrading contao/installation-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.41s] - Upgrading contao/listing-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.41s] - Upgrading contao/manager-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.41s] - Upgrading contao/news-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.41s] - Upgrading contao/newsletter-bundle (4.9.34 => 4.9.37)
    [32.2MiB/10.42s] - Upgrading doctrine/annotations (1.13.3 => 1.14.0)
    [32.2MiB/10.42s] - Upgrading doctrine/common (3.4.2 => 3.4.3)
    [32.2MiB/10.42s] - Upgrading doctrine/doctrine-bundle (2.7.0 => 2.7.2)
    [32.2MiB/10.42s] - Upgrading doctrine/event-manager (1.1.2 => 1.2.0)
    [32.2MiB/10.42s] - Upgrading doctrine/inflector (2.0.5 => 2.0.6)
    [32.2MiB/10.42s] - Upgrading doctrine/orm (2.13.3 => 2.13.4)
    [32.2MiB/10.42s] - Upgrading doctrine/persistence (3.0.3 => 3.1.0)
    [32.2MiB/10.42s] - Upgrading friendsofphp/proxy-manager-lts (v1.0.12 => v1.0.13)
    [32.2MiB/10.42s] - Upgrading friendsofsymfony/http-cache (2.14.1 => 2.15.0)
    [32.2MiB/10.42s] - Upgrading friendsofsymfony/http-cache-bundle (2.13.0 => 2.14.0)
    [32.2MiB/10.42s] - Upgrading imagine/imagine (1.3.2 => 1.3.3)
    [32.2MiB/10.42s] - Upgrading isotope/isotope-core (2.8.7 => 2.8.8)
    [32.2MiB/10.42s] - Upgrading laminas/laminas-code (4.7.0 => 4.7.1)
    [32.2MiB/10.42s] - Upgrading matthiasmullie/minify (1.3.69 => 1.3.70)
    [32.2MiB/10.42s] - Upgrading menatwork/contao-multicolumnwizard-bundle (3.5.7 => 3.5.8)
    [32.2MiB/10.42s] - Upgrading nikic/php-parser (v4.15.1 => v4.15.2)
    [32.2MiB/10.42s] - Upgrading symfony/cache (v4.4.46 => v4.4.48)
    [32.2MiB/10.42s] - Upgrading symfony/console (v4.4.45 => v4.4.49)
    [32.2MiB/10.43s] - Upgrading symfony/dependency-injection (v4.4.44 => v4.4.49)
    [32.2MiB/10.43s] - Upgrading symfony/doctrine-bridge (v4.4.46 => v4.4.48)
    [32.2MiB/10.43s] - Upgrading symfony/expression-language (v4.4.44 => v4.4.47)
    [32.2MiB/10.43s] - Upgrading symfony/framework-bundle (v4.4.46 => v4.4.49)
    [32.2MiB/10.43s] - Upgrading symfony/http-client (v4.4.46 => v4.4.49)
    [32.2MiB/10.43s] - Upgrading symfony/http-foundation (v4.4.45 => v4.4.49)
    [32.2MiB/10.43s] - Upgrading symfony/http-kernel (v4.4.46 => v4.4.49)
    [32.2MiB/10.43s] - Upgrading symfony/mime (v5.4.13 => v5.4.16)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-ctype (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-iconv (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-intl-grapheme (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-intl-idn (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-intl-normalizer (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-mbstring (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-php72 (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-php73 (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-php80 (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/polyfill-php81 (v1.26.0 => v1.27.0)
    [32.2MiB/10.43s] - Upgrading symfony/property-access (v5.4.11 => v5.4.15)
    [32.2MiB/10.43s] - Upgrading symfony/property-info (v5.4.11 => v5.4.16)
    [32.2MiB/10.43s] - Upgrading symfony/security-core (v4.4.46 => v4.4.48)
    [32.2MiB/10.43s] - Upgrading symfony/security-http (v4.4.44 => v4.4.48)
    [32.2MiB/10.44s] - Upgrading symfony/string (v5.4.13 => v5.4.15)
    [32.2MiB/10.44s] - Upgrading symfony/translation (v4.4.45 => v4.4.47)
    [32.2MiB/10.44s] - Upgrading symfony/twig-bridge (v4.4.45 => v4.4.49)
    [32.2MiB/10.44s] - Upgrading symfony/var-dumper (v4.4.46 => v4.4.47)
    [32.2MiB/10.44s] - Upgrading symfony/web-profiler-bundle (v4.4.44 => v4.4.47)
    [32.2MiB/10.44s] - Upgrading tecnickcom/tcpdf (6.5.0 => 6.6.0)
    [32.2MiB/10.44s] - Upgrading terminal42/contao-conditionalselectmenu (4.0.2 => 4.0.4)
    [31.4MiB/10.45s] Writing lock file
    [16.5MiB/10.47s] Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
    [16.5MiB/10.47s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    [16.5MiB/10.47s] Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    [16.5MiB/10.47s] Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    [16.5MiB/10.47s] Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    [16.5MiB/10.47s] Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    [16.5MiB/10.47s] Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    [16.7MiB/10.67s] No security vulnerability advisories found
    [17.2MiB/10.67s] Memory usage: 17.16MB (peak: 201.72MB), time: 10.68s.
    [17.2MiB/10.68s] Finished Composer Cloud resolving.


    # Job ID Y8Meu0sCpRgXalTTX4Sv0yoFcTLVezAKwUF3Avzjxm2GrLOzPd Sn0EwlRMwt26UolWN2IaCuIHrJpAXrCmviuNLuhGupxZ58 completed in 13 seconds
    # Memory usage: 17.16MB (peak: 201.72MB), time: 10.68s.

    $ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /var/www/vhosts/dlc-aachen.de/c4.dlc-aachen.de/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.
    Package operations: 0 installs, 62 updates, 0 removals
    - Upgrading symfony/polyfill-mbstring (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/polyfill-iconv (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading bacon/bacon-qr-code (2.0.7 => 2.0.8): Extracting archive
    - Upgrading contao-components/ace (1.11.2 => 1.13.2): Extracting archive
    - Upgrading contao-components/jquery-ui (1.13.1 => 1.13.2): Extracting archive
    - Upgrading contao-components/mootools (1.6.0.6 => 1.6.0.7): Extracting archive
    - Upgrading symfony/polyfill-php80 (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/polyfill-php73 (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/polyfill-ctype (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/polyfill-php72 (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/polyfill-intl-normalizer (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/polyfill-intl-idn (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/mime (v5.4.13 => v5.4.16): Extracting archive
    - Upgrading symfony/http-foundation (v4.4.45 => v4.4.49): Extracting archive
    - Upgrading symfony/var-dumper (v4.4.46 => v4.4.47): Extracting archive
    - Upgrading symfony/http-kernel (v4.4.46 => v4.4.49): Extracting archive
    - Upgrading composer/ca-bundle (1.3.3 => 1.3.4): Extracting archive
    - Upgrading symfony/dependency-injection (v4.4.44 => v4.4.49): Extracting archive
    - Upgrading doctrine/annotations (1.13.3 => 1.14.0): Extracting archive
    - Upgrading symfony/http-client (v4.4.46 => v4.4.49): Extracting archive
    - Upgrading symfony/twig-bridge (v4.4.45 => v4.4.49): Extracting archive
    - Upgrading symfony/translation (v4.4.45 => v4.4.47): Extracting archive
    - Upgrading symfony/polyfill-php81 (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/security-core (v4.4.46 => v4.4.48): Extracting archive
    - Upgrading symfony/polyfill-intl-grapheme (v1.26.0 => v1.27.0): Extracting archive
    - Upgrading symfony/string (v5.4.13 => v5.4.15): Extracting archive
    - Upgrading symfony/property-info (v5.4.11 => v5.4.16): Extracting archive
    - Upgrading symfony/property-access (v5.4.11 => v5.4.15): Extracting archive
    - Upgrading symfony/security-http (v4.4.44 => v4.4.48): Extracting archive
    - Upgrading symfony/cache (v4.4.46 => v4.4.48): Extracting archive
    - Upgrading symfony/framework-bundle (v4.4.46 => v4.4.49): Extracting archive
    - Upgrading symfony/expression-language (v4.4.44 => v4.4.47): Extracting archive
    - Upgrading symfony/console (v4.4.45 => v4.4.49): Extracting archive
    - Upgrading nikic/php-parser (v4.15.1 => v4.15.2): Extracting archive
    - Upgrading matthiasmullie/minify (1.3.69 => 1.3.70): Extracting archive
    - Upgrading imagine/imagine (1.3.2 => 1.3.3): Extracting archive
    - Upgrading friendsofsymfony/http-cache (2.14.1 => 2.15.0): Extracting archive
    - Upgrading friendsofsymfony/http-cache-bundle (2.13.0 => 2.14.0): Extracting archive
    - Upgrading doctrine/event-manager (1.1.2 => 1.2.0): Extracting archive
    - Upgrading doctrine/persistence (3.0.3 => 3.1.0): Extracting archive
    - Upgrading doctrine/inflector (2.0.5 => 2.0.6): Extracting archive
    - Upgrading doctrine/common (3.4.2 => 3.4.3): Extracting archive
    - Upgrading doctrine/orm (2.13.3 => 2.13.4): Extracting archive
    - Upgrading symfony/doctrine-bridge (v4.4.46 => v4.4.48): Extracting archive
    - Upgrading doctrine/doctrine-bundle (2.7.0 => 2.7.2): Extracting archive
    - Upgrading contao/core-bundle (4.9.34 => 4.9.37): Extracting archive
    - Upgrading contao/comments-bundle (4.9.34 => 4.9.37): Extracting archive
    - Upgrading contao/conflicts (dev-main aed826f => dev-main 9657cca)
    - Upgrading contao/faq-bundle (4.9.34 => 4.9.37): Extracting archive
    - Upgrading contao/listing-bundle (4.9.34 => 4.9.37): Extracting archive
    - Upgrading symfony/web-profiler-bundle (v4.4.44 => v4.4.47): Extracting archive
    - Upgrading laminas/laminas-code (4.7.0 => 4.7.1): Extracting archive
    - Upgrading friendsofphp/proxy-manager-lts (v1.0.12 => v1.0.13): Extracting archive
    - Upgrading contao/installation-bundle (4.9.34 => 4.9.37): Extracting archive
    - Upgrading contao/manager-bundle (4.9.34 => 4.9.37): Extracting archive
    - Upgrading contao/news-bundle (4.9.34 => 4.9.37): Extracting archive
    - Upgrading contao/newsletter-bundle (4.9.34 => 4.9.37): Extracting archive
    - Upgrading terminal42/contao-conditionalselectmenu (4.0.2 => 4.0.4): Extracting archive
    - Upgrading tecnickcom/tcpdf (6.5.0 => 6.6.0): Extracting archive
    - Upgrading menatwork/contao-multicolumnwizard-bundle (3.5.7 => 3.5.8): Extracting archive
    - Upgrading isotope/isotope-core (2.8.7 => 2.8.8): Extracting archive
    - Upgrading contao/calendar-bundle (4.9.34 => 4.9.37): Extracting archive
    Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    Generating optimized autoload files
    Class UnitedPrototype\GoogleAnalytics\Internals\Request\ SocialinteractionRequest located in ./vendor/isotope/isotope-core/system/modules/isotope/library/UnitedPrototype/GoogleAnalytics/Internals/Request/SocialInteractionRequest.php does not comply with psr-0 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\DateTimeFormatter located in ./vendor/knplabs/knp-time-bundle/src/DateTimeFormatter.php does not comply with psr-4 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\DependencyInjection\KnpTimeE xtension located in ./vendor/knplabs/knp-time-bundle/src/DependencyInjection/KnpTimeExtension.php does not comply with psr-4 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\KnpTimeBundle located in ./vendor/knplabs/knp-time-bundle/src/KnpTimeBundle.php does not comply with psr-4 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\Templating\Helper\TimeHelper located in ./vendor/knplabs/knp-time-bundle/src/Templating/Helper/TimeHelper.php does not comply with psr-4 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\Twig\Extension\TimeExtension located in ./vendor/knplabs/knp-time-bundle/src/Twig/Extension/TimeExtension.php does not comply with psr-4 autoloading standard. Skipping.
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file

    In Bundle.php line 80:

    Users will expect the alias of the default extension of a bundle to be the
    underscored version of the bundle name ("rock_solid_custom_elements"). You
    can override "Bundle::getContainerExtension()" if you want to use "rocksoli
    d_custom_elements" or another alias.


    107 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > Contao\ManagerBundle\Composer\ScriptHandler::initi alizeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initi alizeApplication handling the post-install-cmd event terminated with an exception

    In ScriptHandler.php line 97:

    An error occurred while executing the "contao:install-web-dir" command:
    In Bundle.php line 80:


    Users will expect the alias of the default extension of a bundle to be the
    underscored version of the bundle name ("rock_solid_custom_elements"). You
    can override "Bundle::getContainerExtension()" if you want to use "rocksolid_custom_elements" or another alias.


    install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [...]


    # Process terminated with exit code 1
    # Result: General error

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

    Standard

    Sehr komisch. Lösche mal (auf eigene Gefahr) das Verzeichnis vendor/madeyourday/contao-rocksolid-custom-elements und führe nochmals "Composer Update ausführen" aus.
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard

    Nach dem Löschen des Verzeichnis komme ich leider nicht einmal bis zum Update und eine Reparatur für das fehlende add-on funtkioniert auch nicht. Werde mir gelegentlich die Unterschiede in den Dateien mal genauer ansehen, jetzt aber mangels Zeit zunächst nicht weitermachen. Danke dennoch für die ersten hilfreichen Tipps!

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

    Standard

    Nach dem Löschen musst du den abgesicherten Modus im Contao Manager starten - dort kommst du dann wieder in die Systemwartung.
    » sponsor me via GitHub or PayPal or Revolut

  11. #11
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard

    Letztlich half es für das Update von 4.9.34 auf 4.9.37 für alle RockSolid Erweiterungen vor dem generellen Update einmalig jeweils manuell die Aktualisierung anzustoßen. Tatsächlich fand dort meines Erachtens aufgrund von Versionsabhängigkeiten jedoch keine Aktualisierung der Erweiterungen statt. Anschließend lief hingegen das normale Update wie gewohnt durch.

    Beim Versuch, im zweiten Schritt von 4.9.37 auf 4.13 zu aktualisieren, gab es hingegen wieder die bereits bekannten Fehlermeldungen. Ich schlussfolgere also mal, dass es aktuell generelle Probleme bei / mit dem Update der RockSolid Erweiterungen gibt, weshalb ich die Migration auf den 4.13er Core bis auf Weiteres aufschiebe.

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

    Standard

    Welche Fehlermeldungen?
    » sponsor me via GitHub or PayPal or Revolut

  13. #13
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard

    Vom Beginn des Posts, also

    Code:
    vendor/bin/contao-console list
    In Bundle.php line 80:
    
    Users will expect the alias of the default extension of a bundle to be the underscored version of the bundle name ("rock_solid_custom_elements"). You can override "Bundle::getContainerExtension()" if you want to use "rocksolid_custom_elements" or another alias.
    Sobald man die jeweilige Extension dann entfernt, gibt es die gleiche Fehlermeldung für die nächste (RockSolid) Erweiterung. Es scheint also ein wiederkehrendes Problem zu sein, da nach meinem Verständnis alle RockSolid Erweiterungen erst mit der Aktualisierung auf Core 4.13 ebenfalls aktualisiert werden können.

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

    Standard

    Auch mit Contao 4.13 kann ich mit deiner composer.json (eben auf Contao 4.13 geändert) keinen Fehler feststellen.

    Code:
    {
        "type": "project",
        "require": {
            "contao/calendar-bundle": "4.13.*",
            "contao/comments-bundle": "4.13.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.13.*",
            "contao/listing-bundle": "4.13.*",
            "contao/manager-bundle": "4.13.*",
            "contao/news-bundle": "4.13.*",
            "contao/newsletter-bundle": "4.13.*",
            "erdmannfreunde/onepage-navigation": "^1.1",
            "friends-of-contao/contao-associategroups": "^1.3",
            "friends-of-contao/contao-memberlist": "^2.0",
            "inszenium/isotope-export": "^2.0",
            "isotope/isotope-core": "^2.6",
            "kmielke/calendar-extended-bundle": "^1.0",
            "madeyourday/contao-rocksolid-antispam": "^2.0",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-frontend-helper": "^2.0",
            "madeyourday/contao-rocksolid-icon-picker": "^2.0",
            "madeyourday/contao-rocksolid-mega-menu": "^2.0",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "madeyourday/contao-rocksolid-theme-assistant": "^2.0",
            "menatwork/contao-multicolumnwizard-bundle": "^3.4",
            "oneup/contao-email-login": "^1.2",
            "richardhj/contao-isotope_simple_stockmanagement": "^2.0",
            "terminal42/contao-leads": "^1.4",
            "terminal42/notification_center": "^1.4"
        },
        "extra": {
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    » sponsor me via GitHub or PayPal or Revolut

  15. #15
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard

    Letztlich ist das Problem nun offensichtlich, das keine der RockSolid Erweiterungen aktualisiert werden kann, vgl. exemplarisch die Ausgabe für RS Custom Elements:

    Code:
    > Resolving dependencies using Composer Cloud v3.5.1
    
    [7.0MiB/0.20s] Loading composer repositories with package information
    [64.1MiB/7.51s] Updating dependencies
    [53.2MiB/7.74s] Nothing to modify in lock file
    [11.7MiB/7.76s] Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
    [11.7MiB/7.76s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    [11.7MiB/7.77s] Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    [11.7MiB/7.77s] Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    [11.7MiB/7.77s] Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    [11.7MiB/7.77s] Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    [11.7MiB/7.77s] Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    [11.9MiB/8.13s] No security vulnerability advisories found
    [12.4MiB/8.13s] Memory usage: 12.43MB (peak: 180.52MB), time: 8.14s.
    [12.4MiB/8.14s] Finished Composer Cloud resolving.
    
    
    # Job ID 6KYBeRSnOi6f1SsCA6JxiFB9jxU4gI95Z8oeaLb1o2fiBh9suNJEOwEjrf02nyRE0VnZD3dpLkagGlSlp completed in 12 seconds
    # Memory usage: 12.43MB (peak: 180.52MB), time: 8.14s.
    
    $ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /var/www/vhosts/dlc-aachen.de/c4.dlc-aachen.de/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 contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    Generating optimized autoload files
    Class UnitedPrototype\GoogleAnalytics\Internals\Request\SocialinteractionRequest located in ./vendor/isotope/isotope-core/system/modules/isotope/library/UnitedPrototype/GoogleAnalytics/Internals/Request/SocialInteractionRequest.php does not comply with psr-0 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\DateTimeFormatter located in ./vendor/knplabs/knp-time-bundle/src/DateTimeFormatter.php does not comply with psr-4 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\DependencyInjection\KnpTimeExtension located in ./vendor/knplabs/knp-time-bundle/src/DependencyInjection/KnpTimeExtension.php does not comply with psr-4 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\KnpTimeBundle located in ./vendor/knplabs/knp-time-bundle/src/KnpTimeBundle.php does not comply with psr-4 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\Templating\Helper\TimeHelper located in ./vendor/knplabs/knp-time-bundle/src/Templating/Helper/TimeHelper.php does not comply with psr-4 autoloading standard. Skipping.
    Class Knp\Bundle\TimeBundle\Twig\Extension\TimeExtension located in ./vendor/knplabs/knp-time-bundle/src/Twig/Extension/TimeExtension.php does not comply with psr-4 autoloading standard. Skipping.
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    107 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup
    PHP Warning:  fopen(/var/www/vhosts/dlc-aachen.de/c4.dlc-aachen.de/vendor/bin/../contao/manager-bundle/bin/contao-setup): failed to open stream: No such file or directory in /var/www/vhosts/dlc-aachen.de/c4.dlc-aachen.de/vendor/bin/contao-setup on line 35
    PHP Warning:  include(phpvfscomposer:///var/www/vhosts/dlc-aachen.de/c4.dlc-aachen.de/vendor/bin/../contao/manager-bundle/bin/contao-setup): failed to open stream: "Composer\BinProxyWrapper::stream_open" call failed in /var/www/vhosts/dlc-aachen.de/c4.dlc-aachen.de/vendor/bin/contao-setup on line 115
    PHP Warning:  include(): Failed opening 'phpvfscomposer:///var/www/vhosts/dlc-aachen.de/c4.dlc-aachen.de/vendor/bin/../contao/manager-bundle/bin/contao-setup' for inclusion (include_path='.:/opt/plesk/php/7.4/share/pear') in /var/www/vhosts/dlc-aachen.de/c4.dlc-aachen.de/vendor/bin/contao-setup on line 115
    
    # Process terminated with exit code 0
    # Result: OK
    Demgegenüber wird im CM deutlich sichtbar in grün v2.4.2 angezeigt, während aktuell laut Anzeige v2.3.12 installiert ist.

    Ich verstehe nicht ganz wie es zu dieser Inkonsistenz kommen kann, ohne dass es weitere Fehlermeldungen im Log gibt.

    Der Vollständigkeit halber hier auch noch die composer.json besagter Erweiterung. Ich erkenne da bislang auch kein Problem:

    Code:
    {
    	"name":"madeyourday/contao-rocksolid-custom-elements",
    	"description":"Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.",
    	"keywords":["contao","custom-elements","content-elements"],
    	"type":"contao-bundle",
    	"homepage":"https://rocksolidthemes.com/de/contao/plugins/custom-content-elements",
    	"license":"MIT",
    	"authors":[
    		{
    			"name":"RockSolid Themes",
    			"homepage":"https://rocksolidthemes.com/de/contao-themes",
    			"role":"Developer"
    		}
    	],
    	"support":{
    		"forum":"http://help.rocksolidthemes.com/discussions/contao",
    		"issues":"https://github.com/madeyourday/contao-rocksolid-custom-elements/issues",
    		"source":"https://github.com/madeyourday/contao-rocksolid-custom-elements"
    	},
    	"require":{
    		"php":">=7.2",
    		"contao/core-bundle":"^4.9"
    	},
    	"require-dev": {
    		"contao/manager-plugin": "^2.0"
    	},
    	"suggest": {
    		"madeyourday/contao-rocksolid-columns": "For grid column support. See documentation for more information."
    	},
    	"conflict": {
    		"contao/core": "*",
    		"contao/core-bundle": "4.4.1",
    		"contao/manager-plugin": "<2.0 || >=3.0",
    		"madeyourday/contao-rocksolid-frontend-helper": "<=2.1.2"
    	},
    	"autoload":{
    		"psr-4": {
    			"MadeYourDay\\RockSolidCustomElements\\": "src/"
    		}
    	},
    	"replace":{
    		"contao-legacy/rocksolid-custom-elements":"self.version"
    	},
    	"extra":{
    		"contao-manager-plugin": "MadeYourDay\\RockSolidCustomElements\\ContaoManagerPlugin"
    	}
    }
    Geändert von AndreasAC (13.12.2022 um 11:01 Uhr)

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

    Standard

    Wie gesagt, ich kann das Problem leider nicht nachvollziehen.
    » sponsor me via GitHub or PayPal or Revolut

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

    Support Contao

    Standard

    Ich kenne auch keine grundsätzlichen Probleme mit Rocksolid-Erweiterungen - weder in Contao 4.9 noch in Contao 4.13. Ich habe die in vielen Kundeninstallationen im Einsatz und gerdade kürzlich eine ganze Reihe von Installationen von Contao 4.9 auf Contao 4.13 gehoben.
    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.




  18. #18
    Contao-Nutzer
    Registriert seit
    09.02.2019.
    Beiträge
    21

    Standard

    Schlussendlich schlagen die Updates der RockSolid Erweitertungen fehl, da diese Contao Core 4.13 voraussetzen. Unklar bleibt jedoch warum die Aktualisierung von 4.9 auf 4.13 fehlschlägt. Aber ich bleibe jetzt erst mal bei der 4.9er Version. Die wird ja noch eine Weile supported.
    Geändert von AndreasAC (13.12.2022 um 12:33 Uhr)

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

    Standard

    Zitat Zitat von AndreasAC Beitrag anzeigen
    Schlussendlich schlagen die Updates der RockSolid Erweitertungen fehl, da diese Contao Core 4.13 voraussetzen.
    Die neuesten Feature Versionen benötigen Contao 4.13. Die Feature Versionen davor nicht.
    » sponsor me via GitHub or PayPal or Revolut

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
  •