Composer-Problem beim Update innerhalb Contao 4.4
Hallo mteinander
Aufgrund einer Geschäftsaufgabe haben wir diverse Contao-Websites übernommen. Viele davon laufen noch mit Contao 4.4.x.
Eine der Websites haben wir mit Contao 4.4.12 und PHP 7.1 übernommen. Aufgrund eines Hoster-Wechsels haben wir beim Umzug direkt auf PHP 7.4 aktualisiert, was scheinbar ohne grössere Probleme funktioniert hat. Die betroffene Website lief aktuell also mit Contao 4.4.12 und PHP 7.4. Auf einer Subdomain haben wir nun via ContaoManager versucht, die Contao-Version (inkl. aller Pakete) zu aktualisieren. Zuerst auf die neuste 4.4-Version, was folgende Fehlermeldung ausgeworfen hat:
Code:
> Resolving dependencies using Composer Cloud v3.5.1
[5.0MiB/0.16s] Loading composer repositories with package information
[78.5MiB/12.12s] Updating dependencies
[197.6MiB/13.15s] Your requirements could not be resolved to an installable set of packages.
[197.6MiB/13.15s]
Problem 1
- contao/managed-edition is present at version 1.0.0+no-version-set and cannot be modified by Composer
- roave/security-advisories dev-master conflicts with contao/managed-edition <=1.5.
- Root composer.json requires roave/security-advisories dev-master -> satisfiable by roave/security-advisories[dev-master].
[197.6MiB/13.15s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[43.7MiB/13.23s] Memory usage: 43.74MB (peak: 244.49MB), time: 13.23s.
[43.7MiB/13.23s] Finished Composer Cloud resolving.
# Cloud Job ID VJLygkhpfxHQm88xLdG2oo8YDKKiQkBaN5HdBpKfqASj1V5Vi6oTuMKMFC1CNl6N0cY8s0oZTEw3DMom617qOB71Y9DaL failed
Trotz dieser Meldung scheint die Aktualisierung auf 4.4.57 funktioniert zu haben. Die composer.json hat folgende Einträge:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0+",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"php": "^5.6|^7.0",
"contao/manager-bundle": "4.4.*",
"contao/calendar-bundle": "4.4.*",
"contao/comments-bundle": "4.4.*",
"contao/faq-bundle": "4.4.*",
"contao/listing-bundle": "4.4.*",
"contao/news-bundle": "4.4.*",
"contao/newsletter-bundle": "4.4.*",
"roave/security-advisories": "dev-master",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"madeyourday/contao-rocksolid-slider": "^2.0",
"madeyourday/contao-rocksolid-mega-menu": "^2.0",
"madeyourday/contao-rocksolid-theme-assistant": "^2.0"
},
"config": {
"component-dir": "assets"
},
"extra": {
"branch-alias": {
"dev-4.4": "4.4.x-dev"
}
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Habt ihr irgendwelche Hinweise, wie das Update auf 4.9 und dann hoffentlich auf 4.13 funktionieren könnten? Beim Update auf 4.9 ist nämlich Schluss, die Fehlermeldung bleibt die Gleiche ...
Herzlichen Dank für eure Hilfe.