Customers with versions prior to 3.29 of Segura who wish to update to version 3.29 or later must follow the instructions provided in this article.
Requirements
- Your firewall rules must allow communication with Segura repositories.
- Set the correct server time.
- The Arbitrator must be removed from the cluster (only for environments with an Arbitrator).
- Take a snapshot before the update.
When Segura initiates the update process, it will be unavailable until the activity is complete.
Take a snapshot
Snapshots should be taken only when Segura instances are offline. This ensures the ability to revert to a previous version if necessary.
- You can shut down a Segura instance using the following command:
sudo orbit shutdown
- Once the instance is completely shut down, take a snapshot in the hypervisor.
- Reboot your Segura instance and update the application.
How to update versions prior to 3.29
Before updating Segura, always run a snapshot on your hypervisor and backup using the Orbit CLI.
If you use the Segura Arbitrator, remove it from the cluster before updating Segura. Learn more in our documentation.
- In the Segura platform, go to Settings > Execution processes, and turn the following items OFF:
- Expired password.
- Expired operation cancellation.
- Operation executor.
- Operation executor: Retry.
-
Take a snapshot.
-
Run the following commands to update the operating system to the latest Debian version:
apt-get update
4.1. Enter the following code twice as shown below:
apt-get install orbit-cli
apt-get install orbit-cli
- To update the kernel, use the following command:
orbit update
- After the update, restart the system to load the new kernel version:
orbit shutdown -r
- Run the command below to update Segura to the newest version:
orbit update
- After the second update, restart the system one more time to ensure that all changes were correctly applied. Use the following command:
orbit shutdown -r
- Return to Settings > Execution processes and enable the following items that were turned off in step 1:
- Expired password.
- Expired operation cancellation.
- Operation executor.
- Operation executor: Retry.
Do you still have questions? Reach out to the Segura Community.