-
Notifications
You must be signed in to change notification settings - Fork 3
upgrade2019.1to2020.1
Flip edited this page Jan 2, 2021
·
11 revisions
- upgrade to laravel 6
- Add training module
- Redesign landing pages
- remove small bugs
- userguide accable in menu
- create demo mode
- add site statistics
- Admin Actions on Dashboard like "Dienstplan an alle Versenden"
- services comes now with start time and end date+time
If you come from a version before 2019.1 please upgrade sequentially
- Stop Webserver oder set laravel to maintance
php artisan down
to prevent changes of users - Make a Backup of your Database!
- Get new Codebase:
git fetch
git checkout tags/2020.1
- Update.env File: you can compare .env.example with your .env or just add the following updates to your .env file:
OFFER.DIENSTPLAN=false
CACHE_DRIVER=array #(Laravel file and database drivers doesn't support tags, wich are used by geoip)
- Update dependencies:
php composer.phar install && php composer.phar dump-autoload -o
- Update Database Layout:
php artisan migrate
- Restart queue worker
php artisan queue:restart
- Start webserver or reactivate laravel
php artisan up
There is a problem on routes without names (like redirect of /). A Soulution exists but not merged yet (https://github.com/rinvex/laravel-statistics/issues/11). So we have to fix it:
- open vendor/rinvex/laravel-statistics/src/Jobs/CrunchStatistics.php
- got to line around 53 and replace:
'name' => $laravelRoute->getName(),
by'name' => $laravelRoute->getName() ?: $laravelRoute->uri(),