How to update senhasegura online
  • 1 minute to read
  • Dark
    Light
  • PDF

How to update senhasegura online

  • Dark
    Light
  • PDF

Article summary

Important

If you’re using a version prior to 3.29 and wish to update senhasegura to version 3.29 or later, please refer to the article How to update versions prior to 3.29.

Important

If you use Zabbix, it will be necessary to reconfigure it after updating senhasegura to version 3.30 via Orbit Command Line Interface (CLI). For instructions on how to configure Zabbix via Orbit CLI, refer to the article How to configure Zabbix via Orbit CLI.

In this article, you’ll find a guide on how to update senhasegura online.

Requirements

  • Firewall Rules: Ensure that your firewall rules permit communication with the senhasegura repositories. You can find detailed information in the documentation firewall rules.
  • Server Time: Make sure the server time is correctly set.
  • (Situational) Arbitrator: If your environment includes an Arbitrator, remove it from the cluster.
  • Snapshot: Take a snapshot of your system before proceeding with the update.
Application unavailable during update

When senhasegura initiates the update process, it will be unavailable until the activity is complete.


Take a snapshot

Snapshots should be taken only when senhasegura instances are offline. This ensures the ability to revert to a previous version if necessary.

  1. You can shut down a senhasegura instance using the following command:
sudo orbit shutdown
  1. Once the instance is completely shut down, take a snapshot in the hypervisor.
  2. Reboot your senhasegura instance and update the application.

How to update senhasegura online

Caution

Before updating senhasegura, always run a snapshot on your hypervisor and backup using the Orbit CLI.

Caution

If you use the senhasegura Arbitrator, remove it from the cluster before updating senhasegura. Learn more in our documentation.

  1. In the senhasegura platform, go to Settings > Execution processes, and turn the following items OFF:
  • Expired password.
  • Expired operation cancellation.
  • Operation executor.
  • Operation executor: Retry.
  1. Take a snapshot.

  2. Start an SSH session using senhasegura’s administrative user.

  3. Run the following command:

apt-get update
  1. Run the following command:
apt-get install orbit-cli
  1. Run the command below to update senhasegura to the newest version:
orbit update
  1. After the update, restart the system to ensure that all changes were correctly applied. Use the following command:
orbit shutdown -r
  1. 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 senhasegura Community.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.