Upgrade von 4.13 auf 5.3 ist nicht durch gelaufen
Hi,
so nachdem nach Spookys Hinweisen zu meinen Erweiterungen der dryrun durchlief, habe ich es gewagt. Aber es gab diese Meldung:
Zitat:
$ /bin/php82 -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 /www/htdocs/w005a72a/5340.nymphensittich-wegweiser.net/public/contao-manager.phar.php composer require contao/manager-bundle=5.3.* do-while/contao-backupdb-bundle=^2.1 hofff/contao-social-tags=^2.0 metamodels/attribute_alias=^2.4@dev metamodels/attribute_checkbox=^2.4@dev metamodels/attribute_decimal=^2.4@dev metamodels/attribute_file=^2.4@dev metamodels/attribute_longtext=^2.4@dev metamodels/attribute_numeric=^2.4@dev metamodels/attribute_select=^2.4@dev metamodels/attribute_tags=^2.4@dev metamodels/attribute_text=^2.4@dev metamodels/attribute_timestamp=^2.4@dev metamodels/attribute_url=^2.4@dev metamodels/core=^2.4@dev metamodels/filter_checkbox=^2.4@dev metamodels/filter_select=^2.4@dev metamodels/filter_tags=^2.4@dev metamodels/filter_text=^2.4@dev numero2/contao-marketing-suite=^3.0 numero2/contao-proper-filenames=^2.2 contao-community-alliance/dc-general=^2.4@dev contao/news-bundle=5.3.* contao/calendar-bundle=5.3.* contao/faq-bundle=5.3.* contao/comments-bundle=5.3.* contao/newsletter-bundle=5.3.* contao/listing-bundle=5.3.* --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
/www/***/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v3.8.2
[7.5MiB/0.25s] Loading composer repositories with package information
[99.9MiB/24.33s] Updating dependencies
[32.9MiB/26.99s] Lock file operations: 17 installs, 106 updates, 8 removals
[32.9MiB/27.00s] - Removing beberlei/assert (v3.3.3)
[32.9MiB/27.00s] - Removing contao/installation-bundle (4.13.56)
[32.9MiB/27.00s] - Removing paragonie/random_compat (v9.99.100)
[32.9MiB/27.00s] - Removing sensiolabs/ansi-to-html (v1.3.0)
[32.9MiB/27.00s] - Removing symfony/polyfill-php81 (v1.33.0)
[32.9MiB/27.00s] - Removing symfony/security-guard (v5.4.45)
[32.9MiB/27.00s] - Removing symfony/templating (v6.4.24)
[32.9MiB/27.00s] - Removing thecodingmachine/safe (v2.5.0)
[32.9MiB/27.01s] - Upgrading contao-community-alliance/dc-general (2.3.31 => dev-release/2.4.0 4306b78)
[32.9MiB/27.01s] - Upgrading contao-community-alliance/events-contao-bindings (4.13.4 => 5.0.1)
[32.9MiB/27.01s] - Upgrading contao-community-alliance/translator (2.4.2 => 2.5.1)
[32.9MiB/27.01s] - Upgrading contao-community-alliance/url-builder (1.3.3 => 2.0.0)
[32.9MiB/27.01s] - Upgrading contao-components/chosen (1.2.5 => 2.0.2)
[32.9MiB/27.01s] - Upgrading contao-components/datepicker (2.3.2 => 3.0.1)
[32.9MiB/27.01s] - Locking contao-components/handorgel (1.0.0.1)
[32.9MiB/27.01s] - Upgrading contao-components/simplemodal (2.1.2 => 3.0.3)
[32.9MiB/27.02s] - Locking contao-components/swiper (11.2.10)
[32.9MiB/27.02s] - Upgrading contao-components/tinymce4 (5.10.9 => 6.8.6)
[32.9MiB/27.02s] - Locking contao-components/tristen-tablesort (5.6.0)
[32.9MiB/27.02s] - Upgrading contao/calendar-bundle (4.13.56 => 5.3.40)
[32.9MiB/27.02s] - Upgrading contao/comments-bundle (4.13.56 => 5.3.40)
[32.9MiB/27.02s] - Upgrading contao/core-bundle (4.13.56 => 5.3.40)
[32.9MiB/27.02s] - Upgrading contao/faq-bundle (4.13.56 => 5.3.40)
[32.9MiB/27.02s] - Upgrading contao/listing-bundle (4.13.56 => 5.3.40)
[32.9MiB/27.02s] - Upgrading contao/manager-bundle (4.13.56 => 5.3.40)
[32.9MiB/27.02s] - Upgrading contao/news-bundle (4.13.56 => 5.3.40)
[32.9MiB/27.03s] - Upgrading contao/newsletter-bundle (4.13.56 => 5.3.40)
[32.9MiB/27.03s] - Upgrading discordier/justtextwidgets (1.3.0 => 2.0.1)
[32.9MiB/27.03s] - Upgrading do-while/contao-backupdb-bundle (1.6.0 => 2.1.1)
[32.9MiB/27.03s] - Upgrading doctrine/collections (1.8.0 => 2.3.0)
[32.9MiB/27.03s] - Upgrading doctrine/doctrine-bundle (2.13.3 => 2.18.0)
[32.9MiB/27.04s] - Upgrading doctrine/event-manager (1.2.0 => 2.0.1)
[32.9MiB/27.05s] - Upgrading doctrine/persistence (2.5.7 => 3.4.1)
[32.9MiB/27.05s] - Locking guzzlehttp/promises (2.3.0)
[32.9MiB/27.05s] - Upgrading hofff/contao-social-tags (1.1.3 => 2.0.1)
[32.9MiB/27.05s] - Upgrading jeremykendall/php-domain-parser (3.0.0 => 6.4.0)
[32.9MiB/27.05s] - Upgrading knplabs/knp-time-bundle (v1.20.0 => v2.4.0)
[32.9MiB/27.05s] - Upgrading lcobucci/clock (3.0.0 => 3.3.1)
[32.9MiB/27.05s] - Upgrading lcobucci/jwt (4.3.0 => 5.5.0)
[32.9MiB/27.05s] - Locking league/uri (7.5.1)
[32.9MiB/27.05s] - Locking league/uri-interfaces (7.5.0)
[32.9MiB/27.05s] - Locking masterminds/html5 (2.10.0)
[32.9MiB/27.05s] - Upgrading metamodels/attribute_alias (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_checkbox (2.3.1 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_decimal (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_file (2.3.1 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_longtext (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_numeric (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_select (2.3.1 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_tags (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_text (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_timestamp (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/attribute_url (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/core (2.3.2 => dev-master b242248)
[32.9MiB/27.06s] - Upgrading metamodels/filter_checkbox (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.06s] - Upgrading metamodels/filter_select (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.07s] - Upgrading metamodels/filter_tags (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.07s] - Upgrading metamodels/filter_text (2.3.0 => dev-feature/2.4.0)
[32.9MiB/27.07s] - Upgrading nelmio/security-bundle (v2.12.0 => v3.6.0)
[32.9MiB/27.07s] - Upgrading numero2/contao-marketing-suite (2.1.6 => 3.0.10)
[32.9MiB/27.07s] - Upgrading paragonie/constant_time_encoding (v2.8.2 => v3.1.3)
[32.9MiB/27.07s] - Locking php-feed-io/feed-io (v6.1.2)
[32.9MiB/27.07s] - Upgrading psr/cache (2.0.0 => 3.0.0)
[32.9MiB/27.07s] - Upgrading psr/container (1.1.2 => 2.0.2)
[32.9MiB/27.07s] - Upgrading psr/http-message (1.1 => 2.0)
[32.9MiB/27.07s] - Upgrading psr/log (2.0.0 => 3.0.2)
[32.9MiB/27.07s] - Upgrading scheb/2fa-backup-code (v5.13.2 => v7.11.0)
[32.9MiB/27.07s] - Upgrading scheb/2fa-bundle (v5.13.2 => v7.11.0)
[32.9MiB/27.07s] - Upgrading scheb/2fa-trusted-device (v5.13.2 => v7.11.0)
[32.9MiB/27.07s] - Upgrading spomky-labs/otphp (v10.0.3 => 11.3.0)
[32.9MiB/27.08s] - Upgrading symfony-cmf/routing (2.3.4 => 3.0.4)
[32.9MiB/27.08s] - Upgrading symfony-cmf/routing-bundle (2.5.1 => 3.1.1)
[32.9MiB/27.08s] - Upgrading symfony/asset (v5.4.45 => v6.4.24)
[32.9MiB/27.08s] - Upgrading symfony/cache (v5.4.46 => v6.4.26)
[32.9MiB/27.08s] - Upgrading symfony/cache-contracts (v2.5.4 => v3.6.0)
[32.9MiB/27.08s] - Upgrading symfony/config (v5.4.46 => v6.4.26)
[32.9MiB/27.08s] - Upgrading symfony/console (v5.4.47 => v6.4.26)
[32.9MiB/27.08s] - Locking symfony/css-selector (v7.3.0)
[32.9MiB/27.08s] - Upgrading symfony/debug-bundle (v5.4.45 => v6.4.13)
[32.9MiB/27.08s] - Upgrading symfony/dependency-injection (v5.4.48 => v6.4.26)
[32.9MiB/27.08s] - Upgrading symfony/doctrine-bridge (v5.4.48 => v6.4.26)
[32.9MiB/27.08s] - Locking symfony/doctrine-messenger (v6.4.26)
[32.9MiB/27.08s] - Upgrading symfony/dom-crawler (v5.4.48 => v6.4.25)
[32.9MiB/27.08s] - Upgrading symfony/dotenv (v5.4.48 => v6.4.24)
[32.9MiB/27.08s] - Upgrading symfony/error-handler (v5.4.46 => v6.4.26)
[32.9MiB/27.09s] - Upgrading symfony/event-dispatcher (v5.4.45 => v6.4.25)
[32.9MiB/27.09s] - Upgrading symfony/event-dispatcher-contracts (v2.5.4 => v3.6.0)
[32.9MiB/27.09s] - Upgrading symfony/expression-language (v5.4.45 => v6.4.24)
[32.9MiB/27.09s] - Upgrading symfony/filesystem (v5.4.45 => v6.4.24)
[32.9MiB/27.09s] - Upgrading symfony/finder (v5.4.45 => v6.4.24)
[32.9MiB/27.09s] - Upgrading symfony/framework-bundle (v5.4.45 => v6.4.26)
[32.9MiB/27.09s] - Locking symfony/html-sanitizer (v6.4.25)
[32.9MiB/27.09s] - Upgrading symfony/http-client (v5.4.49 => v6.4.26)
[32.9MiB/27.09s] - Upgrading symfony/http-client-contracts (v2.5.5 => v3.6.0)
[32.9MiB/27.09s] - Upgrading symfony/http-foundation (v5.4.48 => v6.4.26)
[32.9MiB/27.09s] - Upgrading symfony/http-kernel (v5.4.48 => v6.4.26)
[32.9MiB/27.10s] - Upgrading symfony/intl (v5.4.47 => v6.4.26)
[32.9MiB/27.10s] - Upgrading symfony/lock (v5.4.45 => v7.3.4)
[32.9MiB/27.10s] - Upgrading symfony/mailer (v5.4.45 => v6.4.26)
[32.9MiB/27.10s] - Locking symfony/messenger (v6.4.25)
[32.9MiB/27.10s] - Upgrading symfony/mime (v5.4.45 => v6.4.26)
[32.9MiB/27.10s] - Upgrading symfony/monolog-bridge (v5.4.45 => v6.4.26)
[32.9MiB/27.10s] - Upgrading symfony/options-resolver (v5.4.45 => v6.4.25)
[32.9MiB/27.10s] - Upgrading symfony/password-hasher (v5.4.45 => v6.4.24)
[32.9MiB/27.10s] - Locking symfony/polyfill-php84 (v1.33.0)
[32.9MiB/27.10s] - Upgrading symfony/process (v5.4.47 => v6.4.26)
[32.9MiB/27.10s] - Upgrading symfony/property-access (v5.4.45 => v6.4.25)
[32.9MiB/27.11s] - Upgrading symfony/property-info (v6.4.24 => v7.3.4)
[32.9MiB/27.11s] - Upgrading symfony/rate-limiter (v5.4.47 => v6.4.24)
[32.9MiB/27.11s] - Upgrading symfony/routing (v5.4.48 => v6.4.26)
[33.0MiB/27.11s] - Upgrading symfony/security-bundle (v5.4.45 => v6.4.26)
[33.0MiB/27.11s] - Upgrading symfony/security-core (v5.4.48 => v6.4.26)
[33.0MiB/27.11s] - Upgrading symfony/security-csrf (v5.4.45 => v6.4.24)
[33.0MiB/27.11s] - Upgrading symfony/security-http (v5.4.47 => v6.4.26)
[33.0MiB/27.11s] - Upgrading symfony/service-contracts (v2.5.4 => v3.6.0)
[33.0MiB/27.11s] - Upgrading symfony/stopwatch (v5.4.45 => v6.4.24)
[33.0MiB/27.11s] - Upgrading symfony/string (v5.4.47 => v6.4.26)
[33.0MiB/27.11s] - Upgrading symfony/translation (v5.4.45 => v6.4.26)
[33.0MiB/27.12s] - Upgrading symfony/translation-contracts (v2.5.4 => v3.6.0)
[33.0MiB/27.12s] - Upgrading symfony/twig-bridge (v5.4.48 => v6.4.25)
[33.0MiB/27.12s] - Upgrading symfony/twig-bundle (v5.4.45 => v6.4.24)
[33.0MiB/27.12s] - Locking symfony/type-info (v7.3.4)
[33.0MiB/27.12s] - Upgrading symfony/uid (v5.4.45 => v6.4.24)
[33.0MiB/27.12s] - Upgrading symfony/var-dumper (v5.4.48 => v6.4.26)
[33.0MiB/27.12s] - Upgrading symfony/var-exporter (v6.4.26 => v7.3.4)
[33.0MiB/27.12s] - Upgrading symfony/web-profiler-bundle (v5.4.48 => v6.4.25)
[33.0MiB/27.12s] - Upgrading symfony/yaml (v5.4.45 => v6.4.26)
[33.0MiB/27.12s] - Locking tijsverkoyen/css-to-inline-styles (v2.3.0)
[33.0MiB/27.12s] - Locking toflar/cronjob-supervisor (2.0.2)
[33.0MiB/27.13s] - Upgrading toflar/psr6-symfony-http-cache-store (3.0.1 => 4.2.0)
[33.0MiB/27.13s] - Locking twig/string-extra (v3.21.0)
[32.1MiB/27.14s] Writing lock file
[17.5MiB/27.17s] 2 package suggestions were added by new dependencies, use `composer suggest` to see details.
[18.3MiB/27.19s] <warning>Package doctrine/annotations is abandoned, you should avoid using it. No replacement was suggested.</warning>
[18.3MiB/27.19s] <warning>Package doctrine/cache is abandoned, you should avoid using it. No replacement was suggested.</warning>
[18.3MiB/27.19s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
[18.5MiB/27.53s] No security vulnerability advisories found.
[19.1MiB/27.53s] Memory usage: 19.12MB (peak: 231.31MB), time: 27.54s.
[19.1MiB/27.54s] Finished Composer Cloud resolving.
# Job ID ngBqXfR2a0aDaNbDA7PICR7rOAxXFDi0IU89U4oASve0PnGS52 F7ATNVPfRjgqWXrwzdwMXLHa82tkDFMpWA5298KjmoNL6pRag1 gZ2EmLxvvedJ3ujnmT completed in 24 seconds
# Memory usage: 19.12MB (peak: 231.31MB), time: 27.54s.
$ /bin/php82 -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 /***/public/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 doctrine/annotations is abandoned, you should avoid using it. No replacement was suggested.
Package doctrine/cache is abandoned, you should avoid using it. No replacement was suggested.
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
119 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
In ExceptionConverter.php line 129:
An exception occurred in the driver: SQLSTATE[HY000] [1698] Access denied f
or user 'root'@'localhost'
In Exception.php line 24:
SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
In PDOConnect.php line 22:
SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 255
# Process terminated with exit code 255
# Result: Unknown error
Worauf kann nicht zugegriffen werden? Die Datenbank?
Liste der Anhänge anzeigen (Anzahl: 1)
fixed tags
Zunächst auch auf der Console das gleiche Problem.
Code:
Pending migrations
------------------
* numero2\MarketingSuiteBundle\Migration\CMSConfigCreation
Execute the listed migrations? (yes/no) [yes]:
> yes
Execute migrations
------------------
11:22:11 WARNING [php] Warning: file_put_contents(/www/htdocs/***/***/system/config/cmsconfig.php): Failed to open stream: No such file or directory ["exception" => ErrorException { …}]
* numero2\MarketingSuiteBundle\Migration\CMSConfigCreation executed successfully
[OK] Executed 1 migrations.
Pending migrations
------------------
* numero2\MarketingSuiteBundle\Migration\CMSConfigCreation
Execute the listed migrations? (yes/no) [yes]:
>
Dann habe ich das Verzeichnis confic unter systems wieder angelegt und die Datei cmscongif.php wieder in den Verzeichnis kopiert. Dann lief es durch.
Ganz unten steht nun:
Code:
[OK] All migrations completed.
Ich komme ins Backend, aber nicht ins Frontend. Ok, das kann an den Templates liegen, doch warum zeigt der Contao Manager an, dass 19 Datenbankänderungen ausstehen?!
Anhang 28120