Skip to content

Upgrading

Updating Extralit

This guide covers the update process for Extralit across different deployment options: quickstart, Docker, and Kubernetes.

General Update Notes

  • Always backup your data before performing updates.
  • Test updates in a development environment before applying to production.
  • Check the Extralit release notes for any specific update instructions or breaking changes.
  • After updating, verify that all services are functioning correctly and that data is accessible.

Quickstart Deployment Update

  1. Pull the latest Extralit image:
docker pull extralit/extralit-hf-space:latest
  1. Stop and remove the existing container:
docker stop extralit-quickstart
docker rm extralit-quickstart
  1. Start a new container with the updated image:
docker run -d --name extralit-quickstart -p 6900:6900 \
  -e EXTRALIT_AUTH_SECRET_KEY=$(openssl rand -hex 32) \
  extralit/extralit-hf-space:latest

Docker Deployment Update

  1. Update the docker-compose.yaml file with the latest Extralit image version.

  2. Pull the updated images:

docker compose pull
  1. Restart the services with the new images:
docker compose up -d
  1. For database schema changes, run migrations:
docker compose exec extralit extralit_server database migrate

Powered by Swimm