Skip to content

Releases: wmalexander/wfu-wp-cli

v0.12.1 - EC2 MySQL Support Fix

16 Aug 22:08

Choose a tag to compare

Fixed

  • Fixed MySQL operations failing on EC2 instances without native MySQL client
  • Added dual-mode MySQL client support: uses native client on Mac, Docker on EC2
  • All database operations now automatically detect and use appropriate execution method
  • Resolved "mysqldump command not found" errors during network table migrations on EC2

This release ensures the tool works seamlessly on both Mac development environments and EC2 production servers.

Release v0.12.0

16 Aug 18:05

Choose a tag to compare

πŸš€ New Features

Auto-start Docker

  • Automatically starts Docker daemon if installed but not running
  • Linux/EC2: Uses sudo systemctl start docker or sudo service docker start
  • macOS: Launches Docker Desktop and waits for startup
  • Shows progress messages and confirms when Docker is ready

Auto-install Dependencies

  • Detects missing dependencies (Docker/MySQL client) during migration
  • Automatically runs wfuwp install-deps with appropriate flags
  • Re-verifies after installation and continues with migration
  • Provides clear fallback instructions if auto-install fails

🎯 Benefits

  • Zero friction: No need to manually install dependencies or start Docker
  • Smart detection: Differentiates between "not installed" vs "not running"
  • EC2 friendly: Especially helpful on EC2 instances where Docker may not run by default
  • Graceful fallback: Clear instructions if automatic steps fail

πŸ“ Changes

  • Modified checkDockerAvailability() in src/utils/database.ts to auto-start Docker
  • Enhanced validateSystemRequirements() in src/utils/migration-validator.ts to auto-install dependencies
  • Improved error messages and user feedback throughout

πŸ”§ Installation

```bash
npm install -g [email protected]
```

πŸ“š Documentation

See the README for full documentation.

v0.11.1 - Fix MySQL client installation on Amazon Linux

16 Aug 17:57

Choose a tag to compare

Bug Fix

  • Fixed MySQL client installation failure on Amazon Linux EC2 instances
  • Changed package name from mariadb to mariadb105 which is the correct package for Amazon Linux 2/2023

Problem

The wfuwp install-deps command was failing on Amazon Linux with:

No match for argument: mariadb
Error: Unable to find a match: mariadb

Solution

Updated the package name to mariadb105 which is available in Amazon Linux repositories.

Manual Workaround

If you need to install the MySQL client manually on Amazon Linux before this update:

sudo yum install -y mariadb105