Apply selected WordPress updates with a recovery backup #239

Merged
parkel merged 3 commits from feature/wordpress-updates into main 2026-12-02 01:29:37 +01:00
Owner

Refs #234. Staging and refresh from live remain open under that issue.

New features

  • Check for WordPress.org core, plugin, and theme updates from the selected website and show installed and available versions.
  • Apply an individual version only after Coulobre creates a recovery archive of that website and its managed local MariaDB database. Find the archive and the update result from the operation history.

Improvements

  • Make customer-requested recovery archives available in Backup & Restore without replacing the latest SFTP export.
  • Support recovery of an independent website without including or restoring the account's primary document root.

Security

  • Recheck account access, the local database, the recovery archive, and the selected version before running the update under the website user.
  • Prevent a pending update and an account website or database restore from overlapping.

Documentation

  • Document WP-CLI requirements, the supported update source, and recovery through Core.

Verification

  • Django suite ran 665 tests with one skip. Ruff, migration checks, and diff checks passed.
  • A network-isolated Ubuntu 26.04 VM with WordPress, WP-CLI, and MariaDB found an update from a local fixture, refused to apply it without the archive, created the Core archive, and installed the exact selected plugin version. Core and theme command selection are covered by automated tests.
Refs #234. Staging and refresh from live remain open under that issue. ## New features - Check for WordPress.org core, plugin, and theme updates from the selected website and show installed and available versions. - Apply an individual version only after Coulobre creates a recovery archive of that website and its managed local MariaDB database. Find the archive and the update result from the operation history. ## Improvements - Make customer-requested recovery archives available in Backup & Restore without replacing the latest SFTP export. - Support recovery of an independent website without including or restoring the account's primary document root. ## Security - Recheck account access, the local database, the recovery archive, and the selected version before running the update under the website user. - Prevent a pending update and an account website or database restore from overlapping. ## Documentation - Document WP-CLI requirements, the supported update source, and recovery through Core. ## Verification - Django suite ran 665 tests with one skip. Ruff, migration checks, and diff checks passed. - A network-isolated Ubuntu 26.04 VM with WordPress, WP-CLI, and MariaDB found an update from a local fixture, refused to apply it without the archive, created the Core archive, and installed the exact selected plugin version. Core and theme command selection are covered by automated tests.
parkel added this to the v1.2.0 - WordPress and mail diagnostics milestone 2026-12-02 01:27:59 +01:00
parkel added 3 commits 2026-12-02 01:27:59 +01:00
Validate WordPress recoveries with the Core archive reader
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
53c018aa4e
parkel merged commit 0fb650946b into main 2026-12-02 01:29:37 +01:00
parkel deleted branch feature/wordpress-updates 2026-12-02 01:29:37 +01:00
Sign in to join this conversation.