wordmove: Database push failing
Hey there, I’m currently encountering the following issue when I try and push my database. I know the paramaters in my movefile are correct, as they match wp-config and the site installer ran fine with them. Any thoughts? Thanks! I’m running this with wordmove push -d -e staging
remote | mysqldump --host=localhost --user=USERNAME '--password=PASSWORD' NAME > /var/www/html/wp-content/dump.sql
remote | get: /var/www/html/wp-content/dump.sql /Users/DevonHicks/Desktop/myBox/VVV/www/SITENAME/htdocs/wp-content/staging-backup-1416253878.sql
remote | delete: /var/www/html/wp-content/dump.sql
local | mysqldump --host=localhost --user=wp --password=wp SITENAME > /Users/DevonHicks/Desktop/myBox/VVV/www/SITENAME/htdocs/wp-content/dump.sql
sh: mysqldump: command not found
/Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/lib/wordmove/deployer/base.rb:147:in `run': Return code reports an error (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/lib/wordmove/deployer/base.rb:210:in `save_local_db'
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/lib/wordmove/deployer/ssh.rb:20:in `push_db'
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/lib/wordmove/cli.rb:58:in `block in push'
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/lib/wordmove/cli.rb:34:in `block in handle_options'
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/lib/wordmove/cli.rb:32:in `each'
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/lib/wordmove/cli.rb:32:in `handle_options'
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/lib/wordmove/cli.rb:57:in `push'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.2.0/bin/wordmove:6:in `<top (required)>'
from /usr/bin/wordmove:23:in `load'
from /usr/bin/wordmove:23:in `<main>'
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 23 (12 by maintainers)
I found this method does not work anymore. The easiest way to install wordmove in a VVV machine now is to:
Now your database and files should push & pull / sync seamlessly.