Releases: wmalexander/wfu-wp-cli
Releases Β· wmalexander/wfu-wp-cli
v0.12.1 - EC2 MySQL Support Fix
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
π New Features
Auto-start Docker
- Automatically starts Docker daemon if installed but not running
- Linux/EC2: Uses
sudo systemctl start dockerorsudo 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-depswith 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()insrc/utils/database.tsto auto-start Docker - Enhanced
validateSystemRequirements()insrc/utils/migration-validator.tsto 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
Bug Fix
- Fixed MySQL client installation failure on Amazon Linux EC2 instances
- Changed package name from
mariadbtomariadb105which 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