Untitled Session
2026-05-30 15:03 UTC · 1 messages · cli
You2026-05-30 15:03 UTC
Deploy the Profe Sync mu-plugin to the WordPress Docker container on staging.jaimisaunders.com.
Steps:
1. Check the Docker volume mount setup for staging-app-1 (named volume vs bind mount)
2. Verify the mu-plugins directory exists at /var/www/html/wp-content/mu-plugins/
3. Copy the sync file from the host path /root/profe-archived-reports/profe-sync.php.bak into the Docker container at /var/www/html/wp-content/mu-plugins/profe-sync.php (note: remove the .bak extension)
4. Verify the file is in place and has valid PHP syntax with `php -l`
5. Confirm the mu-plugin would load by checking the file is accessible from WordPress (use wp-cli: `wp plugin list --mu` or check that the mu-plugins directory has the expected structure)
IMPORTANT: Use docker exec for all file operations - do NOT write files to host paths that map to Docker named volumes. Always operate inside the container.