Closed nailbrain closed 6 years ago
My config file:
global:
sql_adapter: "wpcli"
local:
vhost: "localhost:8888"
wordpress_path: "/Users/brettgolding/Google Drive/htdocs/brett-dev-rebuild" # use an absolute path here
database:
name: "brettdevrebuild"
user: "root"
password: "root"
host: "localhost"
production:
vhost: "http://box5159.temp.domains/~brettdev/"
wordpress_path: "/home1/brettdev/public_html/" # use an absolute path here
database:
name: "brettdev_brettdev"
user: "brettdev_brett"
password: "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
exclude:
- "askchiangmai"
- "output"
- "brettdev"
- ".htaccess"
- "valueinspiration"
- "datascience"
- ".git/"
- ".gitignore"
- ".sass-cache/"
- "node_modules/"
- "bin/"
- "tmp/*"
- "Gemfile*"
- "Movefile"
- "wp-config.php"
- "wp-content/*.sql.gz"
# paths: # you can customize wordpress internal paths
# wp_content: "wp-content"
# uploads: "wp-content/uploads"
# plugins: "wp-content/plugins"
# mu_plugins: "wp-content/mu-plugins"
# themes: "wp-content/themes"
# languages: "wp-content/languages"
ssh:
host: "162.241.224.50"
user: "brettdev"
# password: "password" # password is optional, will use public keys if available.
# port: 22 # Port is optional
# rsync_options: "--verbose" # Additional rsync options, optional
# gateway: # Gateway is optional
# host: "host"
# user: "user"
# password: "password" # password is optional, will use public keys if available.
# ftp:
# user: "brettdevcom"
# password: "password"
# host: "ftp.ipage.com"
# passive: true
# scheme: "ftp" # default "ftp"
# staging: # multiple environments can be specified
# [...]
Hi @nailbrain ,
firstly what wordmove doctor
tells to you?
@nailbrain any news?
By the way in your snippet global
key in movefile
has a wrong indentation.
No news good news :)
Just for the record : i encountered the very same error, and it's obviously a movefile.yml syntax issue.
In my case, it was because i was trying to read an old movefile with oldschool hooks like this :
hooks:
push:
before:
local:
- 'command 1'
- 'command 2'
Instead of this :
hooks:
push:
before:
- command: 'command 1'
where: local
- command: 'command 2'
where: local
I'm getting the following error when using the command: wordmove pull -all
Any idea what the problem might be?
Many thanks!