Composer Update failed
Composer ist ein Paketmanager für PHP. Mit Hilfe von Composer können abhängige Pakete installiert werden.
Beim Update meiner MediaWiki-Installation hatte ich ein Problem mit dem Composer-Update
Composer Update failed
root@lvpsxx-???-xx-xx:/var/www/vhosts/DOMAIN/subdomains/doku# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing phpunit/phpunit (4.8.24): Loading from cache
[ErrorException]
file_put_contents(/var/www/vhosts/DOMAIN/subdomains/doku/vendor/bin/phpunit): failed to open stream: No such file or directory
Composer Install
Mit folgenden Befehlen konnte ich composer updaten:
root@lvpsxx-???-xx-xx:/var/www/vhosts/DOMAIN/subdomains/doku# composer self-update
Updating to version 1.4.1 (stable channel).
Downloading (100%)
Use composer self-update --rollback to return to version ????????????????????????????????????xx
root@lvpsxx-???-xx-xx:/var/www/vhosts/DOMAIN/subdomains/doku# composer install
root@lvpsxx-???-xx-xx:/var/www/vhosts/DOMAIN/subdomains/doku# composer update
Laravel Update:
conflict with your requirements or minimum-stability
Problem 1
- Installation request for genealabs/laravel-model-caching ^0.3.6 -> satisfiable by genealabs/laravel-model-caching[0.3.6].
- genealabs/laravel-model-caching 0.3.6 requires fico7489/laravel-pivot dev-new@dev -> satisfiable by fico7489/laravel-pivot[dev-new] but these conflict with your requirements or minimum-stability.
Lösung: composer.json, hinzufügen von:
,
"minimum-stability": "dev",
"prefer-stable": true
Composer hängt
Loading composer repositories with package information
Updating dependencies (including require-dev)
composer install -vvv erzeugt eine detaillierte Ausgabe:
Resolving dependencies through SAT
Looking at all rules.
Something's changed, looking at all rules again (pass #???)
{{percentage}} % positiv