Update Passbolt on OpenSUSE Leap 15
Prerequisites
For this tutorial, you will need:
- A minimal OpenSUSE Leap 15 server.
- Passbolt OpenSUSE Leap 15 package installed.
The recommended server requirements are:
- 2 cores
- 2GB of RAM
FAQ pages:
Update passbolt
1. Take down your site
It is generally a good idea to stop running the site prior to the upgrade. This is to avoid having side effects such as active users corrupting the data in the middle of an upgrade.
sudo systemctl stop nginx
2. Backup your database
It is recommended to always perform a backup of your passbolt installation. Please check the backup article
3. Upgrade your system
This commands will trigger an upgrade on your whole OpenSUSE Leap 15 system:
sudo zypper update
4. Clear the cache
Finally make sure you clear the application cache, to make sure any changes in the database structure are reflected in model cache files:
sudo -H -u nginx bash -c "/usr/share/php/passbolt/bin/cake cache clear_all"
5. Bring your site back online
Almost done:
sudo systemctl start nginx
6. Troubleshooting
After the update, the server should automatically ran a dry run of the cleanup to let you know if there is any data integrity issues.