環境
Win 10
Xfree
vagrant 2.2.5
XfreeではSSHが使えないのでFTPにしています。
productionのwordpress_pathが「~public_html/blg」になっているのは、Xfree上でなぜかblgディレクトリ下にwp-contentなどがあるからです。FileZilla(FTPソフト)でそういう構造になっていました。
メッセージでは特にエラーは起きていないようですが「Removing old directory~」というようなメッセージはでています。
なお、productionのwordpress_path: "/home/アカウント名/ドメイン/public_html/blg"をwordpress_path: "/home/アカウント名/ドメイン/public_html"にすると、「find: Access failed: 404 Not Found 」や「mkdir: Operation not supported: 405 Method Not Allowed (MKCOL)」などのメッセージがでます。
お手数ですがご教示の程よろしくお願いいたします。
Movefile
1global: 2 sql_adapter: default 3 4local: 5 vhost: "http://VMマシン名" 6 wordpress_path: "/var/www/html" # use an absolute path here 7 8 database: 9 name: "wordpress" 10 user: "wordpress" 11 password: "wordpress" 12 host: "localhost" 13 charset: "utf8" 14 15 # paths: # you can customize wordpress internal paths 16 # wp_config: "wp-config-custom.php" 17 # wp_content: "wp-content" 18 # uploads: "wp-content/uploads" 19 # plugins: "wp-content/plugins" 20 # mu_plugins: "wp-content/mu-plugins" 21 # themes: "wp-content/themes" 22 # languages: "wp-content/languages" 23 24production: 25 vhost: "http://ドメイン" 26 wordpress_path: "/home/アカウント名/ドメイン/public_html/blg" # use an absolute path here 27 28 database: 29 name: "DB名" 30 user: "DBユーザ名" 31 password: "パスワード" 32 host: "DBホスト名" 33 # port: "3308" # Use just in case you have exotic server config 34 # mysqldump_options: "--max_allowed_packet=50MB" # Only available if using SSH 35 36 exclude: 37 - ".git/" 38 - ".gitignore" 39 - ".sass-cache/" 40 - "bin/" 41 - "tmp/*" 42 - "Gemfile*" 43 - "movefile.yml" 44 - "wp-config.php" 45 - "wp-content/*.sql" 46 47 # ssh: 48 # host: "host" 49 # user: "user" 50 # port: 22 51 # rsync_options: --verbose 52 53 ftp: 54 user: "FTP のユーザー名を入力" 55 password: "FTP のパスワードを入力" 56 host: "FTP のホスト名を入力" 57 passive: true 58 scheme: "ftp"
あなたの回答
tips
プレビュー