For this tutorial, you will need:
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
It is recommended to always perform a backup of your passbolt installation. Please check the backup article
This commands will trigger an upgrade on your whole CentOS system:
$ sudo yum update
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"
sudo systemctl start nginx
Optionally, you can login as an administrator and check the status on the healthcheck page:
You can also run the following command:
$ sudo -H -u nginx bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck"
If you run into some issues:
Where to get help:
The more information you provide about what you did, what you tried, how your environment look like, the easiest it will be for people to help you.
This article was last updated on November 26th, 2021.