Probleme mit Erweiterungen nach Update auf 4.13
Hallo,
nach einem Update von 4.9 auf 4.13 bin ich dabei verwaiste Erweiterungen zu entfernen und bestehende zu aktualisieren. (via Contao Manager)
Leider hakt es irgendwie. Hier mal ein Auszug aus der Console:
Code:
$ /bin/php74 -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 /usr/www/users/kalkme/c413-v2/web/contao-manager.phar.php composer remove erdmannfreunde/euf_overlay --no-update --no-scripts --no-ansi --no-interaction
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
/usr/www/users/kalkme/c413-v2/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v3.7.0
[7.2MiB/0.28s] Loading composer repositories with package information
[7.8MiB/0.39s] Updating dependencies
[8.0MiB/0.43s] Lock file operations: 0 installs, 0 updates, 2 removals
[8.0MiB/0.43s] - Removing cliffparnitzky/tiny-mce-plugin-loader (2.1.10)
[8.0MiB/0.43s] - Removing erdmannfreunde/euf_overlay (1.3.0)
[7.2MiB/0.45s] Writing lock file
[10.3MiB/0.47s] Package fritzmg/contao-lightcase is abandoned, you should avoid using it. Use inspiredminds/contao-glightbox instead.
[10.3MiB/0.48s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
[10.3MiB/0.48s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
[8.6MiB/1.11s] No security vulnerability advisories found.
[9.1MiB/1.11s] Memory usage: 9.09MB (peak: 82.23MB), time: 1.12s.
[9.1MiB/1.12s] Finished Composer Cloud resolving.
# Job ID iUHyKyFW8MFZep6MwmWj5RZ8wPYpW63bVlbn2RXvTOgocprOQsO8yTdzGqr21s1NvL4WFke9C2z1sMnOuJ3weyH17d0 completed in 1709025934 seconds
# Memory usage: 9.09MB (peak: 82.23MB), time: 1.12s.
$ /bin/php74 -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 /usr/www/users/kalkme/c413-v2/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 0 updates, 1 removal
Uninstall of erdmannfreunde/euf_overlay failed
In AbstractModuleInstaller.php line 568:
"/usr/www/users/kalkme/c413-v2/system/modules/euf_overlay" is not a link to
"/usr/www/users/kalkme/c413-v2/vendor/erdmannfreunde/euf_overlay" (expecte
d "/usr/www/users/kalkme/c413-v2/vendor/erdmannfreunde/euf_overlay" but got
"/usr/www/users/kalkme/c413-v2/system/modules/euf_overlay")
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-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
Das Hauptproblem habe ich mit der Erweiterung cliffparnitzky/tiny-mce-plugin-loader
Ich habe sie bereits manuell aus der composer.json, den ordner aus system/modules entfernt und den Composer Installer drüber laufen lassen.
Das Plugin wird mir aber weiterhin in den Paketen angezeigt mit dem Vermekr "manuell entfernt", entfernen über den Contao Manager lässt es sich aber nicht.
Ich vermute solange ich das nicht weg bekomme, blockiert das auch alle anderen Erweiterungsupdates. (sh. Lösung erdmannfreunde/euf_overlay oben)
Zusatzinfo: Frontend und Backend funktionieren prinzipell...
Liste der Anhänge anzeigen (Anzahl: 2)
ich habe nun die composer.json nach deiner Anleitung geändert und auf php 8.1 umgestellt.
folgende konsolenausgabe:
Code:
> Resolving dependencies using Composer Cloud v3.7.0
[7.1MiB/0.24s] Loading composer repositories with package information
[98.4MiB/16.64s] Updating dependencies
[35.2MiB/19.85s] Lock file operations: 5 installs, 31 updates, 1 removal
[35.2MiB/19.85s] - Removing patchwork/utf8 (v1.3.3)
[35.2MiB/19.85s] - Upgrading contao-community-alliance/meta-palettes (2.0.9 => 2.1.3)
[35.2MiB/19.85s] - Upgrading doctrine/cache (1.13.0 => 2.2.0)
[35.2MiB/19.85s] - Upgrading doctrine/instantiator (1.5.0 => 2.0.0)
[35.2MiB/19.85s] - Upgrading doctrine/lexer (2.1.1 => 3.0.1)
[35.2MiB/19.85s] - Upgrading egulias/email-validator (3.2.6 => 4.0.2)
[35.2MiB/19.85s] - Upgrading knplabs/knp-menu (v3.3.0 => v3.4.0)
[35.2MiB/19.86s] - Upgrading knplabs/knp-menu-bundle (v3.2.0 => v3.3.0)
[35.2MiB/19.86s] - Upgrading lcobucci/clock (2.0.0 => 2.3.0)
[35.2MiB/19.86s] - Upgrading league/flysystem (2.5.0 => 3.24.0)
[35.2MiB/19.86s] - Upgrading league/flysystem-bundle (2.4.0 => 3.3.2)
[35.2MiB/19.86s] - Locking league/flysystem-local (3.23.1)
[35.2MiB/19.86s] - Upgrading menatwork/contao-multicolumnwizard-bundle (3.5.4 => 3.6.4)
[35.2MiB/19.86s] - Downgrading menatwork/semantic_html5 (2.1.0 => 2.0.2)
[35.2MiB/19.86s] - Upgrading nette/schema (v1.2.5 => v1.3.0)
[35.2MiB/19.86s] - Upgrading nette/utils (v3.2.10 => v4.0.4)
[35.2MiB/19.86s] - Upgrading netzmacht/contao-leaflet-geocode-widget (1.3.0 => 1.4.0)
[35.2MiB/19.86s] - Upgrading netzmacht/contao-leaflet-libraries (1.7.1.1 => 1.9.3.1)
[35.2MiB/19.86s] - Upgrading netzmacht/contao-leaflet-maps (3.2.3 => 3.2.4)
[35.2MiB/19.86s] - Upgrading netzmacht/contao-page-context (1.1.1 => 1.2.1)
[35.2MiB/19.86s] - Upgrading netzmacht/contao-toolkit (3.7.4 => 3.9.2)
[35.2MiB/19.86s] - Upgrading netzmacht/php-leaflet (1.1.2 => 1.1.3)
[35.2MiB/19.87s] - Upgrading psr/cache (1.0.1 => 2.0.0)
[35.2MiB/19.87s] - Locking psr/clock (1.0.0)
[35.2MiB/19.87s] - Upgrading psr/log (1.1.4 => 2.0.0)
[35.2MiB/19.87s] - Upgrading spatie/schema-org (3.9.0 => 3.23.0)
[35.2MiB/19.87s] - Locking stella-maris/clock (0.1.7)
[35.2MiB/19.87s] - Locking symfony/clock (v6.4.3)
[35.2MiB/19.87s] - Upgrading symfony/deprecation-contracts (v2.5.2 => v3.4.0)
[35.2MiB/19.87s] - Locking symfony/polyfill-php83 (v1.29.0)
[35.2MiB/19.87s] - Upgrading symfony/property-info (v5.4.35 => v6.4.3)
[35.2MiB/19.87s] - Upgrading symfony/var-exporter (v5.4.35 => v6.4.4)
[35.2MiB/19.87s] - Upgrading terminal42/contao-ajaxform (1.2.2 => 1.3.0)
[35.2MiB/19.87s] - Upgrading terminal42/dcawizard (2.5.0 => 3.0.2)
[35.2MiB/19.87s] - Upgrading terminal42/escargot (1.5.3 => 1.6.1)
[35.2MiB/19.87s] - Upgrading terminal42/notification_center (1.6.14 => 1.6.18)
[35.2MiB/19.87s] - Upgrading thecodingmachine/safe (v1.3.3 => v2.5.0)
[34.4MiB/19.89s] Writing lock file
[17.3MiB/19.92s] Package fritzmg/contao-lightcase is abandoned, you should avoid using it. Use inspiredminds/contao-glightbox instead.
[17.3MiB/19.92s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
[17.5MiB/20.11s] No security vulnerability advisories found.
[18.0MiB/20.12s] Memory usage: 18.02MB (peak: 237.51MB), time: 20.12s.
[18.0MiB/20.12s] Finished Composer Cloud resolving.
# Job ID y5HbPUDfBE15nJqtClOactcty03WYcJyVAnt80ezeHDZWeXuXGnTNwk6C1m1pPZ8wNIN6SP1mVZGDXseN375ICu4DGB2T9ZX4yZqkecQNfLCejsKH3f2 completed in 15 seconds
# Memory usage: 18.02MB (peak: 237.51MB), time: 20.12s.
Anhang 27045
die composer.json:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0-or-later",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"codefog/contao-news_categories": "^3.1",
"contao/calendar-bundle": "4.13.*",
"contao/conflicts": "*@dev",
"contao/manager-bundle": "4.13.*",
"contao/news-bundle": "4.13.*",
"contao/newsletter-bundle": "4.13.*",
"delahaye/dlh_googlemaps": "^2.4",
"do-while/contao-backupdb-bundle": "^1.4",
"fritzmg/contao-lightcase": "^2.1",
"fritzmg/contao-sharebuttons": "^2.1",
"menatwork/semantic_html5": "^2.0",
"netzmacht/contao-font-awesome-inserttag": "^2.0",
"netzmacht/contao-leaflet-geocode-widget": "^1.3",
"netzmacht/contao-leaflet-libraries": "^1.7",
"netzmacht/contao-leaflet-maps": "^3.2",
"terminal42/contao-ajaxform": "^1.0",
"terminal42/contao-url-rewrite": "1.6.*",
"terminal42/notification_center": "^1.6"
},
"config": {
"allow-plugins": {
"contao-components/installer": true,
"php-http/discovery": false,
"contao-community-alliance/composer-plugin": true,
"contao/manager-plugin": true
}
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
Liste der Anhänge anzeigen (Anzahl: 1)
Danke für eure Tipps.
Ich habe nun eine 4.13er Version aufgesetzt und soweit sieht es gut aus.
Nur bei ein paar Erweiterung funktioniert das Update nicht.
zB habe ich codefog/contao-news_categories:
Anhang 27046
Die Aktualisierung schliesst ohne Fehler ab, aber es erfolgt kein Update:
Code:
> Resolving dependencies using Composer Cloud v3.7.0
[7.2MiB/0.27s] Loading composer repositories with package information
[87.1MiB/17.99s] Updating dependencies
[74.1MiB/18.68s] Nothing to modify in lock file
[12.7MiB/18.73s] Package fritzmg/contao-lightcase is abandoned, you should avoid using it. Use inspiredminds/contao-glightbox instead.
[12.7MiB/18.73s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
[12.9MiB/19.01s] No security vulnerability advisories found.
[13.4MiB/19.01s] Memory usage: 13.43MB (peak: 223.87MB), time: 19.02s.
[13.4MiB/19.02s] Finished Composer Cloud resolving.
# Job ID wKllIhe0OZvHjYV9EnhJnuq7VYW6JO3UtKOtM7ne1uwMmRWw1WGajqwnYiisB5J5ySLsGknYzWzfk2CiqeMhXi2RVeZTZcWRizaOCbwsb4C6tWCoALMRA3tgAx completed in 13 seconds
# Memory usage: 13.43MB (peak: 223.87MB), time: 19.02s.
$ /bin/php81 -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 /usr/www/users/kalkme/c413final/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 fritzmg/contao-lightcase is abandoned, you should avoid using it. Use inspiredminds/contao-glightbox instead.
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
115 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
Deprecated: Return type of Netzmacht\Contao\Leaflet\Frontend\Assets\LibrariesConfiguration::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/kalkme/c413final/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfiguration.php on line 74
Added the /usr/www/users/kalkme/c413final/web/index.php file.
Added the /usr/www/users/kalkme/c413final/web/preview.php file.
Added the /usr/www/users/kalkme/c413final/web/app.php file.
Trying to install assets as relative symbolic links.
--- ------------------------------ ------------------
Bundle Method / Error
--- ------------------------------ ------------------
? ContaoCoreBundle relative symlink
? LeafletGeocodeWidgetBundle relative symlink
? MultiColumnWizardBundle relative symlink
? Terminal42DcawizardBundle relative symlink
? Terminal42UrlRewriteBundle relative symlink
? ContaoNewsBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoNewsletterBundle relative symlink
? SoftleisterBackupDbBundle relative symlink
? CodefogNewsCategoriesBundle relative symlink
? NetzmachtContaoLeafletBundle relative symlink
--- ------------------------------ ------------------
[OK] All assets were successfully installed.
--- ----------------------------------------------- ----------------------------------------------------------------
Symlink Target / Error
--- ----------------------------------------------- ----------------------------------------------------------------
? web/files/theme files/theme
? web/files/content files/content
? web/system/modules/lightcase/assets system/modules/lightcase/assets
? web/system/modules/dlh_googlemaps/assets system/modules/dlh_googlemaps/assets
? web/system/modules/sharebuttons/assets system/modules/sharebuttons/assets
? web/system/modules/haste/assets system/modules/haste/assets
? web/system/modules/notification_center/assets system/modules/notification_center/assets
? system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible
? web/assets assets
? web/system/themes system/themes
? system/logs var/logs
? web/vendor/scrivo/highlight_php/styles vendor/scrivo/highlight.php/styles
--- ----------------------------------------------- ----------------------------------------------------------------
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Clearing the cache for the dev environment with debug
// true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully warmed.
[INFO] Done! Please open the Contao install tool or run the contao:migrate
command to make sure the database is up-to-date.
# Process terminated with exit code 0
# Result: OK