Skip to main content

Upgrade

Upgrade

Upgrading LibreTranslate involves the following general steps:

  1. Review the release notes for the new version of the LibreTranslate Docker image to understand any changes, new features, or breaking changes.

  2. Create a backup of your existing LibreTranslate deployment, including the configuration, language models, and any custom data.

  3. Pull the updated LibreTranslate Docker image

  4. docker pull libretranslate/libretranslate:latest

  5. Stop the running LibreTranslate container

  6. docker stop libretranslate

  7. Remove the existing LibreTranslate container

  8. docker rm libretranslate

  9. Run the updated LibreTranslate container with the same configuration and options as the previous version

  10. docker run -d --name libretranslate -p 5000:5000 libretranslate/libretranslate

  11. Verify the updated LibreTranslate deployment by accessing the API and ensuring that all functionality is working as expected