BitNami WordPress Stack



The easiest way to upgrade the Bitnami WordPress Production-Ready Stack solution is to upgrade the CloudFormation stack.

  1. Bitnami Wordpress Stack Download
  2. Bitnami Wordpress Stack Manager

About Bitnami WordPress Stack The Bitnami WordPress Stack provides a one-click install solution for WordPress. Download installers and virtual machines, or run your own wordpress server in the cloud. WordPress is one of the world’s most popular web publishing platforms for building blogs and websites. Please note that /opt/bitnami is the default installation directory of the Bitnami stack. Finally, you need to restart Apache. Sudo /opt/bitnami/ctlscript.sh restart apache You will find more information about the Bitnami banner using the following link.

Bitnami publishes a new version of the CloudFormation template, updating the AMIs used in it, whenever there’s a new version of the application or any subcomponent (such as PHP, Apache or OpenSSL) included on it. By replacing the template used on your Bitnami WordPress Production-Ready Stack stack, you will upgrade it.

BitNami WordPress Stack

Bitnami Wordpress Stack Download

All the data, application files and database, are stored outside the application instances on Amazon EFS and Amazon Aurora (RDS) respectively. Therefore, replacing the AMIs will not result in any data loss.

Update the CloudFormation template

NOTE: It’s highly recommended to create a backup of your database and application files before upgrading your stack. Learn more about creating and restoring application backups.

You can replace the template used on your CloudFormation stack as follows,

  • Obtain the new template URL from the application page.

  • Log in to the AWS CloudFormation console and select your stack.

  • Select the “Actions -> Upgrade Stack” menu item.

  • On the “Select Template” page, chose the option to “Specify an Amazon S3 template URL” and enter the new template URL you obtained earlier. Click “Next” to proceed.

  • On the “Specify Details” page, review the configuration parameters (there should be no need to make changes). Click “Next” to proceed.

  • On the “Options” page, review the tags (if any) and click “Next” to proceed.

  • Review the details of the template and accept the required terms.

  • A summary of the change is detailed in the “Preview your changes” section. Review it and click “Update” to proceed.

Amazon Web Services will now begin the upgrade process. It can take some time to complete the upgrade. Use the CloudFormation dashboard to periodically check the status of the upgrade.

Once the stack update is complete, follow these steps:

  • Log in to the AWS EC2 console.

  • Choose “Instances” from the navigation panel and ensure that all the application instances use the latest AMI version. You can filter the list using the tags you set when deploying the template.

  • Terminate any instances using the old AMI. The AutoScaling Group will create new instances automatically using the new AMI.

  • Log in via SSH to your WordPress instance and use the WordPress CLI tool to update the database schema by running the command below:

Update the plugins and themes via CLI

Plugins and themes are stored in the shared file system and therefore won’t be updated when updating the template. These must be updated manually

The recommended way to update plugins is with the WordPress CLI tool. To update a plugin using WP-CLI, follow the steps below:

  • Log in via SSH to your WordPress instance.

  • List the available plugins with the command below:

    The result should be a table like the one below:

  • Individually update the plugins which have new versions available. For example:

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.
BitNami

You should be able to access phpMyAdmin directly, by browsing to http://127.0.0.1/phpmyadmin.

Log in to phpMyAdmin by using the following credentials:

Bitnami Wordpress Stack Manager

  • Username: root
  • Password: The same as the application password. Find out how to obtain application credentials.