Update von 4.15.10 auf LTS 4.13 nicht möglich
Guten Morgen liebe Gemeinde. :D
ich beschäftige mich gerade, gezwungenermaßen durch einen Bekannten, das erste mal mit Contao.
Ausgangssituation ist eine Conta-Installation mit Version 4.5.10 welche auf 4.13 LTS upgedatet werden soll.
Dies stellt mich allerdings bisher vor ein paar Probleme.
Ein Update über den Manager wird mit folgendem in der Console abgebrochen und ich muss die task.json löschen ansonsten gibt es eine Schleife.
Code:
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer require contao/manager-bundle=4.13.12 contao/news-bundle=4.13.12 contao/calendar-bundle=4.13.12 contao/faq-bundle=4.13.12 contao/comments-bundle=4.13.12 contao/newsletter-bundle=4.13.12 contao/listing-bundle=4.13.12 contao/conflicts=*@dev --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
/mnt/web301/d2/41*****/htdocs/_contao/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer update contao-components/installer contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/conflicts --with-dependencies --no-install --no-scripts --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- contao-components/installer is locked to version 1.2.7 and an update of this package was not requested.
- contao-components/installer 1.2.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 2
- contao/manager-plugin is locked to version 2.4.1 and an update of this package was not requested.
- contao/manager-plugin 2.4.1 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 3
- ocramius/package-versions is locked to version 1.3.0 and an update of this package was not requested.
- ocramius/package-versions 1.3.0 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 4
- lib-xsl is present at version 1.1.26.0 and cannot be modified by Composer
- Only one of these can be installed: lib-libxslt[1.1.37], lib-xsl[1.1.26.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
- lib-libxslt is present at version 1.1.37 and cannot be modified by Composer
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Woraufhin ich mich etwas eingelesen habe.
Hierzu habe ich dann gefunden das man ein Composer Update ausführen soll, welches allerdings ebenfalls mit folgendem Ergebnis abbricht.
Und hier bin ich dann mit meinem Latein etwas am Ende. Habe dann noch herausgefunden das die composer.json eine Rolle spielen könnte, diese füge ich auch ganz unten ein.
Ich bedanke mich schon mal für die Hilfe und hoffe das ich hier den entscheidenden Tipp bekomme.
Code:
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer require contao/manager-bundle=4.13.12 contao/news-bundle=4.13.12 contao/calendar-bundle=4.13.12 contao/faq-bundle=4.13.12 contao/comments-bundle=4.13.12 contao/newsletter-bundle=4.13.12 contao/listing-bundle=4.13.12 contao/conflicts=*@dev --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
/mnt/web301/d2/41/*****/htdocs/_contao/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer update contao-components/installer contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/conflicts --with-dependencies --no-install --no-scripts --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- contao-components/installer is locked to version 1.2.7 and an update of this package was not requested.
- contao-components/installer 1.2.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 2
- contao/manager-plugin is locked to version 2.4.1 and an update of this package was not requested.
- contao/manager-plugin 2.4.1 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 3
- ocramius/package-versions is locked to version 1.3.0 and an update of this package was not requested.
- ocramius/package-versions 1.3.0 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 4
- lib-xsl is present at version 1.1.26.0 and cannot be modified by Composer
- Only one of these can be installed: lib-libxslt[1.1.37], lib-xsl[1.1.26.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
- lib-libxslt is present at version 1.1.37 and cannot be modified by Composer
# Process terminated with exit code 2
# Result: Misuse of shell builtins
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": {
"php": "^7.1",
"contao/calendar-bundle": "^4.5",
"contao/comments-bundle": "^4.5",
"contao/faq-bundle": "^4.5",
"contao/listing-bundle": "^4.5",
"contao/manager-bundle": "4.5.*",
"contao/news-bundle": "^4.5",
"contao/newsletter-bundle": "^4.5",
"madeyourday/contao-rocksolid-antispam": "^2.0",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"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"
},
"config": {
"component-dir": "assets"
},
"extra": {
"branch-alias": {
"dev-4.5": "4.5.x-dev"
}
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
Spooky
Du musst im Contao Manager über die Systemwartung eine vollständige Paketaktualisierung anstoßen.
Magst mir noch verraten wo ich das hier finde?
Anhang 25928
Zitat:
Du musst immer die vollständige Konsolenausgabe posten.
Ah, mein Fehler, wird beim nächsten mal dran gedacht. Hoffe es gibt kein nächstes mal.
Liste der Anhänge anzeigen (Anzahl: 1)
Habe jetzt folgendes gemacht, sollte dass das Richtige sein?
Anhang 25929
Wird aber ebenfalls abgebrochen, hier der Log:
Code:
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer require contao/manager-bundle=4.13.12 contao/news-bundle=4.13.12 contao/calendar-bundle=4.13.12 contao/faq-bundle=4.13.12 contao/comments-bundle=4.13.12 contao/newsletter-bundle=4.13.12 contao/listing-bundle=4.13.12 contao/conflicts=*@dev --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
/mnt/web301/d2/41/*****/htdocs/_contao/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer update contao-components/installer contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/conflicts --with-dependencies --no-install --no-scripts --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/*****/htdocs/_contao/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- contao-components/installer is locked to version 1.2.7 and an update of this package was not requested.
- contao-components/installer 1.2.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 2
- contao/manager-plugin is locked to version 2.4.1 and an update of this package was not requested.
- contao/manager-plugin 2.4.1 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 3
- ocramius/package-versions is locked to version 1.3.0 and an update of this package was not requested.
- ocramius/package-versions 1.3.0 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 4
- lib-xsl is present at version 1.1.26.0 and cannot be modified by Composer
- Only one of these can be installed: lib-libxslt[1.1.37], lib-xsl[1.1.26.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
- lib-libxslt is present at version 1.1.37 and cannot be modified by Composer
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Liste der Anhänge anzeigen (Anzahl: 1)
Ah alles klar, aber das hatte ich ja schon gemacht.
Habs jetzt nochmal durchgeführt, gleiches Ergebnis.
Anhang 25930
Code:
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/53484541/htdocs/_contao/web/contao-manager.phar.php composer require contao/manager-bundle=4.13.12 contao/news-bundle=4.13.12 contao/calendar-bundle=4.13.12 contao/faq-bundle=4.13.12 contao/comments-bundle=4.13.12 contao/newsletter-bundle=4.13.12 contao/listing-bundle=4.13.12 contao/conflicts=*@dev --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
/mnt/web301/d2/41/53484541/htdocs/_contao/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/53484541/htdocs/_contao/web/contao-manager.phar.php composer update contao-components/installer contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/conflicts --with-dependencies --no-install --no-scripts --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web301/d2/41/53484541/htdocs/_contao/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
The "contao-components/installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "ocramius/package-versions" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "contao/manager-plugin" plugin was skipped because it requires a Plugin API version ("^1.1") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- contao-components/installer is locked to version 1.2.7 and an update of this package was not requested.
- contao-components/installer 1.2.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 2
- contao/manager-plugin is locked to version 2.4.1 and an update of this package was not requested.
- contao/manager-plugin 2.4.1 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 3
- ocramius/package-versions is locked to version 1.3.0 and an update of this package was not requested.
- ocramius/package-versions 1.3.0 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 4
- lib-xsl is present at version 1.1.26.0 and cannot be modified by Composer
- Only one of these can be installed: lib-libxslt[1.1.37], lib-xsl[1.1.26.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
- lib-libxslt is present at version 1.1.37 and cannot be modified by Composer
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Liste der Anhänge anzeigen (Anzahl: 1)
Ok, dann läuft hier aber irgendwas falsch, denn das ist das was ich bekomme wenn ich das ausführe.
Anhang 25931
Ich kann gerne mal meinen Bildschirm aufnehmen und den Ablauf aufnehmen.