Wordmove with LocalWP on OSX - Error

Issue Summary

Using Wordmove with LocalWP on OSX I get the following error which I’ve been unable to fix/debug successfully.

Error: This does not seem to be a WordPress installation. Pass --path=path/to/wordpress or run wp core download.

Replication

  1. Open shell for site via local gui
  2. Run command: wordmove push -d -e staging -v

Output:

▬▬ Pushing Database ▬▬▬
remote | mysqldump --host=[secret] --user=usr --password=pwd --result-file="[secret]/wp-content/dump.sql" usr

remote | gzip -9 -f “[secret]/wp-content/dump.sql”

remote | get: [secret]/wp-content/dump.sql.gz [secret]/wp-content/staging-backup-1612699210.sql.gz

remote | delete: [secret]/wp-content/dump.sql.gz

local | mysqldump --host=[secret] --user=[secret] --password=[secret] --result-file="[secret]/wp-content/dump.sql" local

mysqldump: [Warning] Using a password on the command line interface can be insecure.

local | adapt dump for vhost

local | wp search-replace --path=[secret] [secret] [secret] --quiet --skip-columns=guid --all-tables --allow-[secret]

Error: This does not seem to be a WordPress installation.
Pass --path=path/to/wordpress or run wp core download.
/usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/lib/wordmove/deployer/base.rb:95:in `run’: Return code reports an error (Wordmove::ShellCommandError)

from /usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/lib/wordmove/deployer/ssh/wpcli_sql_adapter.rb:11:in `adapt_local_db!’

from /usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/lib/wordmove/deployer/ssh.rb:38:in `push_db’

from /usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/lib/wordmove/cli.rb:116:in `block in push’

from /usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/lib/wordmove/cli.rb:40:in `block in handle_options’

from /usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/lib/wordmove/cli.rb:39:in `each’

from /usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/lib/wordmove/cli.rb:39:in `handle_options’

from /usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/lib/wordmove/cli.rb:115:in `push’

from /usr/local/lib/ruby/gems/3.0.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run’

from /usr/local/lib/ruby/gems/3.0.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command’

from /usr/local/lib/ruby/gems/3.0.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch’

from /usr/local/lib/ruby/gems/3.0.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start’

from /usr/local/lib/ruby/gems/3.0.0/gems/wordmove-5.2.1/exe/wordmove:6:in `<top (required)>’

from /usr/local/lib/ruby/gems/3.0.0/bin/wordmove:23:in `load’

from /usr/local/lib/ruby/gems/3.0.0/bin/wordmove:23:in `’

System Details

  • Which version of Local is being used?
    5.9.8+5191

  • What Operating System (OS) and OS version is being used?
    OSX 10.15.7

After some experimentation with movefile.yml I found changing:

global:
  sql_adapter: wpcli

To:

global:
  sql_adapter: default

Works for me in the current setup.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.