Skip to content

Upgrading

Executing commands in containers

If you're using a container you need to use execute the command inside of the container. For example, if you're using Docker you must prefix the command with docker exec and specify the container name. Here's an example where we assume that the container is control-center:

docker exec -it --user www-data control-center COMMAND [ARGUMENTS...]

All versions

Updating between minor versions only requires you to run migration and clear caches. Remember to run the theme build again if you have a custom theme.

Once done, you must migrate the database changes and clear the cache:

php artisan migrate
php artisan optimize:clear

Upgrading to v5.1.0

Please follow these steps if you wish to use the new VATEUD Core integration. May be skipped otherwise.

  • Make sure you've configured all your T1/T2 endorsements in rating table.
  • Manually sync any existing solos, mentors and examiners in Core prior to enabling the integration.
  • Update your environment file with the new variables found in the example file.
  • This will be run daily by the scheduler, but run this manually first time:
    • Run the artisan command php artisan sync:roster to sync the roster.
    • Run the artisan command php artisan sync:endorsements <your cid> to add existing T1/T2 endorsements.