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.

    • Stop existing stack services using the graphical manager.

    • Depending on whether the Bitnami stack uses MySQL or PostgreSQL, backup the existing database as described on the MySQL component page or the PostgreSQL component page.

    • 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 as described on the MySQL component page or the PostgreSQL component page

    • 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.

    • Restart the servers using the graphical manager.

You should now be able to access your new stack.

Last modification September 5, 2018