wordpress-k8s

WordPress

  • Canonical IS DevOps
Channel Revision Published Runs on
latest/stable 87 07 Mar 2024
Ubuntu 22.04 Ubuntu 20.04
latest/stable 13 06 Mar 2023
Ubuntu 22.04 Ubuntu 20.04
latest/edge 123 10 Feb 2025
Ubuntu 22.04 Ubuntu 20.04
latest/edge 15 30 Mar 2023
Ubuntu 22.04 Ubuntu 20.04
juju deploy wordpress-k8s
Show information

Platform:

How to Redeploy

This guide provides the necessary steps for migrating an existing WordPress instance to a new charm instance.

Migrate Database

Follow the instructions in the mysql charm migration guide to migrate the content of the WordPress MySQL database.

Migrate Media Files

Media Files Stored in Kubernetes Storage

If your media files are stored in Kubernetes storage (wp_plugin_openstack-objectstorage_config is not configured), use the following steps to migrate your files:

  1. Use the juju scp command to transfer files from the /var/www/html/wp-content/uploads directory of the old wordpress container to a local directory.
  2. Use the juju scp command again to copy these files from the local directory to the /var/www/html/wp-content/uploads directory in the new WordPress charm instance’s wordpress container.

Media Files Stored in Object Storage

If your media files are stored in object storage and the wp_plugin_openstack-objectstorage_config is not configured, you have two options:

  1. Provide the new WordPress charm instance with the same credentials and connection information for the object storage. This allows the new instance to automatically access the existing files.
  2. Use tools like rclone to copy files from the old storage bucket to a new bucket for the new deployment.

Help improve this document in the forum (guidelines). Last updated 23 hours ago.