Upgrading
Because there are many breaking changes an upgrade is not that easy. There are many edge cases this guide does not cover. We accept PRs to improve this guide.
API
cd /var/www/html/api
git pull
composer install
php artisan migrate
php artisan optimize
php artisan scout:create-indexes
php artisan scout:sync
php artisan video:regenerate
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
TIP
- Remember to restart services like
nginx
&supervisor
and flush caches. - Run
php artisan octane:reload
after each upgrade for Laravel Octane to reload.
App
To update the MediaDB app (including SPA/PWA):
cd /var/www/html/app
git pull
yarn install
quasar build
1
2
3
4
2
3
4
TIP
Checkout the mediadb-app repository for more information.