Updating Yeti

Updating Yeti

If you update yeti, follow these instructions:

  1. Backup your database
sudo docker compose run --rm -v $(pwd)/backup:/backup arangodb arangodump --server.endpoint tcp://a
rangodb:8529 --server.database yeti --output-directory /backup --overwrite true
  1. Backup your configuration file
sudo docker cp api:/app/yeti.conf /path/to/backup
  1. Stop the containers
cd yeti-docker/prod && sudo docker compose down
  1. Update
git  pull
sudo docker compose pull
  1. Start the containers
sudo docker compose up -d
  1. Restore database
sudo docker compose run --rm -v $(pwd)/backup:/backup arangodb arangorestore --server.endpoint tcp://arangodb:8529 --input-directory /backup --server.database yeti --overwrite true
  1. Restore configuration file
sudo docker ps yeti.conf api:/app/
sudo docker ps yeti.conf tasks:/app/
  1. Restart contenairs
sudo docker compose restarts tasks api