Update within a Docker container
Update GitProtect Management running as a docker container consist of stopping the old container, installing the new one (old databases have to be mounted), and removing the old container.
Download new image and remove the old container with the Management Service using the command:
docker pull xopero/xopero-one-service:latest
docker stop xone && docker rm xoneAnd now create the new container with agent:
docker run -d \
--name <container_name> \
-p <xms_port>:80 \
-v <database_location_outside_container>:/app/Xopero \
xopero/xopero-one-service
Update validation
Finally, it's time to verify if everything went properly. Log into the GitProtect panel via web browser and wait for the device status to be changed for online, make sure that all your previous settings are available (plans, storages, devices, etc.).
Updating the GitProtect Management Service container in Container Station on QNAP is a straightforward process that involves a few simple steps. This guide will walk you through the process of updating your container using the latest image from Docker Hub.
This method requires the Container Station to be at least version 3.0.
First, open Container Station on your QNAP device. Once you have accessed Container Station, locate and select the container running the GitProtect Management Service that you want to update. After selecting the appropriate container, click on the settings icon to access the container settings.
In the settings menu, you will see an option labeled “+ Recreate”. Click on this option to proceed with the update. This action will allow you to replace the current container with a new one based on the latest image.
Next, you need to configure the update settings. Switch to advanced mode, as shown in the illustration provided. In advanced mode, you will be prompted to enter the image address from Docker Hub. Enter the following address:
xopero/gitprotect-service:latest
Additionally, ensure you check the option “Try pulling the image from the registry before creating the container”. This step is crucial as it ensures you are using the latest version of the image.
After configuring these settings, click "Next" to proceed. At this point, you have the option to edit the container settings as you would when creating a new container. Make any necessary adjustments or simply click "Next" again to proceed to the summary page.

Finally, review the summary of the settings and changes. Once you are satisfied, click "Finish". Container Station wBy following these steps, you can easily keep your GitProtect Management Service container up-to-date, ensuring optimal performance and access to the latest features and improvements. ill then download the latest image and create a new container using the settings and data from the previous container. This process ensures that your GitProtect Management Service container is updated to the latest version while preserving all existing settings and data.

By following these steps, you can easily keep your GitProtect Management Service container up-to-date, ensuring optimal performance and access to the latest features and improvements.
Updating
Open Docker on Synology, go to the Registry tab and search xopero/xopero-one-service.

Double-click and select the latest version. Then press the Select button.

Go to the Image tab and choose your image from docker Hub and click the Launch button.

At this point Synology will display the Create Container window, where you can set up the Container name and limit the resources that container can use.
Now you can change the container name. And it's recommended to Enable auto-restart function. Next, open Advanced settings in order to proceed.

From the Environment tab and modify ASPNETCORE_ULRS field to the port you used before. Then click the Save button.

You will return to general settings, and press Next. At this point, press Add Folder.

You need to create a mount of the databases folder for a new installation. Select the folder to which you mounted the databases on the disk during installation (we suggested docker/Xopero by default in the instruction of installation). Then press the Select button.

Enter /app/Xopero into Mount path filed. Then click the Next button.

Next summary window will appear. If everything is ready, finish with the Done button.

Update validation
Finally, it's time to verify if everything went properly. Log into the GitProtect panel via web browser and wait for the device status to be changed for online, make sure that all your previous settings are available (plans, storages, devices etc.). If you're able to confirm that everything is alright, you can delete the old container or keep it for some time to make sure that everything is fine with the new version installed.
Last updated

