First time wordmove user - error when trying to pull #667
mackym-dev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm setting up wordmove on windows for the first time (new user). I'm trying to pull from a site but am getting this error:
'`C:\xampp\htdocs\forest_retreats_local>wordmove pull -e staging --all Calling
DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please callDidYouMean.correct_error(error_name, spell_checker)' instead. C:/Ruby32-x64/lib/ruby/3.2.0/psych.rb:322:in
safe_load': wrong number of arguments (given 4, expected 1) (ArgumentError)from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/movefile.rb:30:in
fetch' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/movefile.rb:46:in
environment'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/movefile.rb:34:in
load_dotenv' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/deployer/base.rb:11:in
deployer_for'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/cli.rb:81:in
pull' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/command.rb:27:in
run'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in
invoke_command' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor.rb:387:in
dispatch'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/base.rb:466:in
start' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/exe/wordmove:6:in
<top (required)>'from C:/Ruby32-x64/bin/wordmove:32:in
load' from C:/Ruby32-x64/bin/wordmove:32:in
Doctor:
Calling
DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please callDidYouMean.correct_error(error_name, spell_checker)' instead. .------------------------. | PSYCHIATRIC | | HELP 5¢ | |________________________| || .-"""--. || || / \.-. || || | ._, \ || || \_/
-' '-.,/ |||| ( (' )') \ ||
|| /| |\ ||
|| | \ __ / | ||
|| _).,_____,/}/ ||
__||;--''/ ( ||
|\ || (_,\ _/------||
||||_____________________||
|||| |
|||| THE DOCTOR |
||| IS [IN] |
|| ()
|___________________//||\\ //=||=\\
`` `▬▬ Using Movefile: ./movefile.yml ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
'`C:/Ruby32-x64/lib/ruby/3.2.0/psych.rb:322:in
safe_load': wrong number of arguments (given 4, expected 1) (ArgumentError) from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/movefile.rb:30:in
fetch'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/doctor/movefile.rb:11:in
initialize' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/doctor.rb:13:in
new'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/doctor.rb:13:in
movefile' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/doctor.rb:5:in
start'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/lib/wordmove/cli.rb:17:in
doctor' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/command.rb:27:in
run'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in
invoke_command' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor.rb:387:in
dispatch'from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/base.rb:466:in
start' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/wordmove-5.2.2/exe/wordmove:6:in
<top (required)>'from C:/Ruby32-x64/bin/wordmove:32:in
load' from C:/Ruby32-x64/bin/wordmove:32:in
movefile.yml
`global:
sql_adapter: wpcli
local:
vhost: http://localhost/forest_retreats_local/
wordpress_path: C:/xampp/htdocs/forest_retreats_local # use an absolute path here
database:
name: fr_localhost_050423
user: root
password: "" # could be blank, so always use quotes around
host: localhost
staging:
vhost: https://staging.forestretreats.co.uk/
wordpress_path: /public_html # use an absolute path here
database:
name:
user:
password: ""
host: localhost:3306
# port: 3308 # Use just in case you have exotic server config
# mysqldump_options: '--max_allowed_packet=1G' # Only available if using SSH
# mysql_options: '--protocol=TCP' # mysql command is used to import db
production:
vhost: https://forestretreats.co.uk/
wordpress_path: /public_html # use an absolute path here
database:
name:
user:
password:
host: localhost
# port: 3308 # Use just in case you have exotic server config
# mysqldump_options: '--max_allowed_packet=1G' # Only available if using SSH
# mysql_options: '--protocol=TCP' # mysql command is used to import db
exclude:
- '.git/'
- '.gitignore'
- '.gitmodules'
- '.env'
- 'node_modules/'
- 'bin/'
- 'tmp/'
- 'Gemfile'
- 'Movefile'
- 'movefile'
- 'movefile.yml'
- 'movefile.yaml'
- 'wp-config.php'
- 'wp-content/.sql.gz'
- '.orig'`
How do I fix this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions