Update Repomanager
Update repomanager¶
[!IMPORTANT]
Upgrade path: to avoid any issues, you must avoid to skip versions when updating Repomanager.For example, if you are currently running version
4.16.0, you must update to4.16.1then4.16.2, etc, until you reach the latest version.This is to ensure that all database migrations are applied correctly. See the releases page for all available versions: https://github.com/lbr38/repomanager/releases
When a new version of Repomanager is released, you can update your installation by following these steps:
- Stop and delete the current container:
- Clean up:
-
Pull and run the new docker image (specify the target version or
latestif you were on the latest version before). You will have to pass the following environment variables to the container: -
FQDNFully Qualified Domain Name of the Repomanager server. MAX_UPLOAD_SIZEMax upload size in MB (default 32). Increase this value if you want to upload large packages to your repos.-
NGINX_LISTEN_PORT(Optional) Port to bind the web interface (default 8080). This variable is only used inhostnetwork mode. -
Choose the proper network mode for your docker container then pull and run the container with the environment variables and the persistent volumes: