Note: To update make sure to update your copy of this repo (refer to repository update) and from there you can update Chevereto application (refer to Chevereto update).
To update instances to a new Chevereto version re-build the container image (see BUILDING) to reflect the target version.
Run the following command to update all instances. The process will swap every instance to the new container image and perform the necessary database updates.
make update
Swap to the new container image by down plus up-d by passing the NAMESPACE
of your project. Once done, execute the app/bin/legacy -C update
command to perform the necessary database updates.
make down NAMESPACE=yourproject
make up-d NAMESPACE=yourproject
make exec NAMESPACE=yourproject COMMAND="app/bin/legacy -C update"
To update your containers to the latest version of this repository make sure to run for every instance:
make down NAMESPACE=yourproject
💡 If you forget to run this you can rollback the repo and execute the above command.
Pull changes in your copy of this repo.
git fetch --tags -f && git pull --rebase --autostash
Switch to the new branch/tag.
git switch 4.1
- Go to Actions
- Select Update under Workflows
- Click on Run Workflow and confirm
🤖 When done a bot will create a pull request in your repo so you can review and confirm the changes.
Refer to persistance troubleshoot If the system prompts to re-install.