EUF Optimist Theme / Update auf 4.9.20 schlägt fehl
Hallo zusammen,
ich habe hier zum Testen local ein EUF Optimist Theme installiert und wollte es mal von 4.9.10 auf 4.9.20 aktualisieren.
Ich habe wie auf github https://github.com/ErdmannFreunde/optimist-theme-bundle vorgeschlagen die composer.json erweitert:
Code:
Ein Upload über den Contao Manager führt dazu, dass sich Contao nicht mehr ohne weitere Vorkehrungen über Composer aktualisieren lässt. Dies lässt sich erreichen, indem man in der composer.json im Projektverzeichnis folgende Angaben ergänzt:
"repositories": {
"erdmannfreunde/optimist-theme-bundle": {
"type": "artifact",
"url": "contao-manager/packages/"
}
}
mein composer.json
Code:
{
"name":"contao/managed-edition",
"type":"project",
"description":"Contao Managed Edition",
"license":"LGPL-3.0-or-later",
"require":{
"contao/calendar-bundle":"^4.9",
"contao/comments-bundle":"^4.9",
"contao/conflicts":"*@dev",
"contao/faq-bundle":"^4.9",
"contao/listing-bundle":"^4.9",
"contao/manager-bundle":"4.9.*",
"contao/news-bundle":"^4.9",
"contao/newsletter-bundle":"^4.9",
"erdmannfreunde/optimist-theme-bundle":"1.1.2"
},
"conflict":{
"contao-components/installer":"<1.3"
},
"extra":{
"contao-component-dir":"assets"
},
"scripts":{
"post-install-cmd":[
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd":[
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
},
"repositories":{
"erdmannfreunde/optimist-theme-bundle":{
"type":"artifact",
"url":"contao-manager/packages/"
}
}
}
Ich bekomme folgende Fehlermeldung
Code:
> Resolving dependencies using Composer Cloud v3.2.0
!!! Current server is sponsored by: Contao Association !!!
[6.6MiB/0.21s] Loading composer repositories with package information
An error occurred during resolving process:
RecursiveDirectoryIterator::__construct(contao-manager/packages): Failed to open directory: No such file or directory
# Cloud Job ID WMX0zRqWr9t1FhpXqbrYWO6PO9HWAbIgrIN6EKDLGmYrH5h6PbpyYSLQHVZjYwqnmdT0XCJbGSGemex failed
Edited
Ich habe über die Konsole nochmal hp -d memory_limit=-1 composer.phar update --no-plugins probiert.
Das gibt dann folgende Meldung:
Code:
? v1 php -d memory_limit=-1 composer.phar update --no-plugins
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires erdmannfreunde/optimist-theme-bundle ^1.1 -> satisfiable by erdmannfreunde/optimist-theme-bundle[1.1.2].
- erdmannfreunde/optimist-theme-bundle 1.1.2 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
Hat jemand eine Idee dazu, wie ich das fixen kann?
Viele Grüße,
conter