Sojasprosse
Ich habe meine ./update.sh mal angepasst…
export COMPOSER_ALLOW_SUPERUSER=1 && git pull origin release && ./bookstack-system-cli download-vendor && php artisan migrate --force && php artisan cache:clear && php artisan config:clear && php artisan view:clear && export COMPOSER_ALLOW_SUPERUSER=0
Das ist die Ausgabe…
root@BookStack:/var/www/bookstack# ./update.sh
From BookStackApp/BookStack
- branch release -> FETCH_HEAD
Already up to date.
WARNING: This CLI is in alpha testing.
There’s a high chance of issues, and the CLI API is subject to change.
Checking app version…
Downloading ZIP from files.bookstackapp.com…
Validating downloaded ZIP…
Deleting existing vendor/ directory…
Extracting ZIP into BookStack instance…
Cleaning up old app services…
Successfully downloaded & extracted vendor files into BookStack instance!
INFO Nothing to migrate.
INFO Application cache cleared successfully.
INFO Configuration cache cleared successfully.
INFO Compiled views cleared successfully.
root@BookStack:/var/www/bookstack#

Man wird darauf hingewiesen, dass das CLI im Alpha Test ist und dann wird noch die ZIP Datei erwähnt.
Da mein BookStack aber auf der aktuellen Version ist (wird jede Nacht automatisch updatet), konnte ich auf dem Testserver nur ein aktuelles BookStack Backup einspielen.
Da aber keine Fehler ausgegeben werden, kann man davon ausgehen, dass es funktioniert.
Ich werde aber am Hauptsystem noch nichts umstellen und den ganzen Spaß auf dem Test-Server beobachten.