Upgrade the stack
It is strongly recommended to create a backup before starting the upgrade process. If you have important data, create and try to restore a backup to ensure that everything works properly.
There are two different ways to upgrade a Bitnami stack.
-
You can upgrade the application only without modifying any other stack components. To do this, refer to the application pages.
-
You can upgrade the application and all stack components, such as PHP, Ruby, MySQL and Apache. Follow the instructions below:
-
Download the latest native installer for the stack. Navigate to the Bitnami catalog and click the “Win / Mac / Linux” tab to find and download the latest Windows native installer for your stack.
-
Stop existing stack services using the graphical manager.
-
Uninstall existing stack services. Run the following commands from an elevated command prompt:
$ cd installdir $ serviceinstall.bat REMOVE
-
Depending on whether the Bitnami stack uses MySQL or PostgreSQL, backup the existing database.
-
Install the new stack to a different installation directory.
-
Run the Bitnami Console script as described in the Bitnami Console page.
-
Restore the database from backup.
-
Copy any uploaded files or configuration files. It may also be necessary to run migration scripts to update the database schema; however, this varies per application. Refer to the application pages for more information on application-specific upgrade steps.
-
Install stack services. Run the following commands from an elevated command prompt:
$ cd installdir $ serviceinstall.bat INSTALL
-
Restart the servers using the graphical manager.
-
You should now be able to access your new stack.