質問するログイン新規登録

質問編集履歴

9

wordpress_passが間違っていたのが判明したので修正しました。しかし状況は変わらず(vagrant provisionで反映済みも)

2017/03/20 04:00

投稿

mustardo3
mustardo3

スコア8

title CHANGED
File without changes
body CHANGED
@@ -45,7 +45,7 @@
45
45
  ```Movefile
46
46
  local:
47
47
  vhost: "http://VMマシン名"
48
- wordpress_path: "/var/www/**wordpress**" # use an absolute path here
48
+ wordpress_path: "/var/www/http" # use an absolute path here
49
49
 
50
50
  database:
51
51
  name: "wordpress"

8

もしかしてこのpathが間違っているのではと思い太字にしました

2017/03/20 04:00

投稿

mustardo3
mustardo3

スコア8

title CHANGED
File without changes
body CHANGED
@@ -45,7 +45,7 @@
45
45
  ```Movefile
46
46
  local:
47
47
  vhost: "http://VMマシン名"
48
- wordpress_path: "/var/www/wordpress" # use an absolute path here
48
+ wordpress_path: "/var/www/**wordpress**" # use an absolute path here
49
49
 
50
50
  database:
51
51
  name: "wordpress"

7

タイトルを適切に変え、初心者マークを付けました。

2017/03/20 03:55

投稿

mustardo3
mustardo3

スコア8

title CHANGED
@@ -1,1 +1,1 @@
1
- wordmove pull --allコマンドを実行すると環境を明示せよと言わ
1
+ wordmove pull --allコマンドを実行すると環境変数で環境特定せよ警告さてpullできない
body CHANGED
@@ -14,7 +14,7 @@
14
14
  ・VCCW+VirtualBox+Vagrantでローカル環境構築済み(かなり時間かけてsite.htmlやMovefile修正済み、多分あってる)
15
15
  ・本番(Xサーバー)へのssh接続は疎通確認済み、vagrantでも秘密鍵のssh-agent認識ができていることが確認できている
16
16
  ・wordmove pull --allコマンドを実行してもローカルでマウント(共有)されたwordpressフォルダには何も変化がない
17
- ・エラーメッセージはないが、以下のような「環境変数を明記せよ」みたいな英語が一瞬で出てきて終了する。
17
+ ・エラーメッセージはないが、以下のような「環境変数で環境特定せよ」みたいな英語が一瞬で出てきて終了する。
18
18
 
19
19
  <発生している問題・エラーメッセージ>
20
20
 

6

コードをリッチテキストで囲みました

2017/03/20 01:26

投稿

mustardo3
mustardo3

スコア8

title CHANGED
File without changes
body CHANGED
@@ -41,8 +41,8 @@
41
41
 
42
42
  Movefileの内容は以下ご覧の通りです。
43
43
  local,production以外のエントリ(同じインデントの行)はないです。
44
- ※すみません、あとからリッチテキストでコードを囲めるのに気づきました。必要でしたら貼り直します
45
44
 
45
+ ```Movefile
46
46
  local:
47
47
  vhost: "http://VMマシン名"
48
48
  wordpress_path: "/var/www/wordpress" # use an absolute path here
@@ -54,6 +54,14 @@
54
54
  host: "localhost"
55
55
  charset: "utf8"
56
56
 
57
+ # paths: # you can customize wordpress internal paths
58
+ # wp_content: "wp-content"
59
+ # uploads: "wp-content/uploads"
60
+ # plugins: "wp-content/plugins"
61
+ # mu_plugins: "wp-content/mu-plugins"
62
+ # themes: "wp-content/themes"
63
+ # languages: "wp-content/languages"
64
+
57
65
  production:
58
66
  vhost: "http://ドメイン名"
59
67
  wordpress_path: "/home/から始まる本番のWordpressのパス" # use an absolute path here
@@ -67,10 +75,21 @@
67
75
  mysqldump_options: "--max_allowed_packet=50MB" # Only available if using SSH
68
76
 
69
77
  exclude:
78
+ - ".git/"
79
+ - ".gitignore"
80
+ - ".sass-cache/"
81
+ - "bin/"
82
+ - "tmp/*"
70
- (表示崩れるので省略、不慣れですみません)
83
+ - "Gemfile*"
84
+ - "Movefile"
85
+ - "wp-config.php"
86
+ - "wp-content/*.sql"
87
+ - ".htaccess" # 追記
71
88
 
72
89
  ssh:
73
90
  host: "初期ドメイン名"
74
91
  user: "ユーザー名"
75
92
  port: ポート番号
76
- rsync_options: --verbose
93
+ rsync_options: --verbose
94
+
95
+ ```

5

文言追記

2017/03/20 00:53

投稿

mustardo3
mustardo3

スコア8

title CHANGED
File without changes
body CHANGED
@@ -41,6 +41,7 @@
41
41
 
42
42
  Movefileの内容は以下ご覧の通りです。
43
43
  local,production以外のエントリ(同じインデントの行)はないです。
44
+ ※すみません、あとからリッチテキストでコードを囲めるのに気づきました。必要でしたら貼り直します
44
45
 
45
46
  local:
46
47
  vhost: "http://VMマシン名"

4

文字修正

2017/03/19 15:33

投稿

mustardo3
mustardo3

スコア8

title CHANGED
File without changes
body CHANGED
@@ -1,13 +1,13 @@
1
1
  初めて投稿します。
2
2
 
3
- Mac最新XOS環境でWordPress開発用のローカル環境を構築しています。
3
+ Mac最新OSX環境でWordPress開発用のローカル環境を構築しています。
4
4
  ググってなんとかやってる感じの初学者です。UNIXも相対パス程度しかわかりません。
5
5
  が、ウェヴ開発の現場経験が長いのでターミナルだろうが仮想サーバだろうが
6
6
  概念的にはなんとなくわかってる感じなのでここまで進められています。
7
7
 
8
8
  <目標>
9
9
 
10
- ・wordmoveコマンドでXサーバの本番環境に置いたWordpressファイルをローカル環境に持ってくる
10
+ ・wordmoveコマンドでXサーバの本番環境に置いたWordpressファイルをローカル環境に持ってくる
11
11
 
12
12
  <現状>
13
13
 

3

表示が崩れたので修正

2017/03/19 15:26

投稿

mustardo3
mustardo3

スコア8

title CHANGED
File without changes
body CHANGED
@@ -66,16 +66,7 @@
66
66
  mysqldump_options: "--max_allowed_packet=50MB" # Only available if using SSH
67
67
 
68
68
  exclude:
69
- - ".git/"
70
- - ".gitignore"
71
- - ".sass-cache/"
72
- - "bin/"
73
- - "tmp/*"
74
- - "Gemfile*"
69
+ (表示崩れるので省略、不慣れですみません)
75
- - "Movefile"
76
- - "wp-config.php"
77
- - "wp-content/*.sql"
78
- - ".htaccess" # 追記
79
70
 
80
71
  ssh:
81
72
  host: "初期ドメイン名"

2

コメントアウトの省略と文字修正

2017/03/19 15:14

投稿

mustardo3
mustardo3

スコア8

title CHANGED
File without changes
body CHANGED
@@ -53,17 +53,9 @@
53
53
  host: "localhost"
54
54
  charset: "utf8"
55
55
 
56
- # paths: # you can customize wordpress internal paths
57
- # wp_content: "wp-content"
58
- # uploads: "wp-content/uploads"
59
- # plugins: "wp-content/plugins"
60
- # mu_plugins: "wp-content/mu-plugins"
61
- # themes: "wp-content/themes"
62
- # languages: "wp-content/languages"
63
-
64
56
  production:
65
57
  vhost: "http://ドメイン名"
66
- wordpress_path: "/home/から始まる本番のパス" # use an absolute path here
58
+ wordpress_path: "/home/から始まる本番のWordpressのパス" # use an absolute path here
67
59
 
68
60
  database:
69
61
  name: "DB名"

1

Wordmoveファイルの内容を追記しました。

2017/03/19 15:10

投稿

mustardo3
mustardo3

スコア8

title CHANGED
File without changes
body CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  <現状>
13
13
 
14
- ・VCCW+VirtualBox+Vagrantでローカル環境構築済み(かなり時間かけてsite.htmlやMovefaile修正済み、多分あってる)
14
+ ・VCCW+VirtualBox+Vagrantでローカル環境構築済み(かなり時間かけてsite.htmlやMovefile修正済み、多分あってる)
15
15
  ・本番(Xサーバー)へのssh接続は疎通確認済み、vagrantでも秘密鍵のssh-agent認識ができていることが確認できている
16
16
  ・wordmove pull --allコマンドを実行してもローカルでマウント(共有)されたwordpressフォルダには何も変化がない
17
17
  ・エラーメッセージはないが、以下のような「環境変数を明記せよ」みたいな英語が一瞬で出てきて終了する。
@@ -33,4 +33,60 @@
33
33
 
34
34
  一行目が引っかかります、、、
35
35
  ほとんど万策尽きたのですが、何がwordmoveできない原因なのでしょうか。
36
- 一言でもお返事いただけたら、こちらから情報お伝えできます。ぜひご協力よろしくお願いいたします。
36
+ 一言でもお返事いただけたら、こちらから情報お伝えできます。ぜひご協力よろしくお願いいたします。
37
+
38
+ <情報の追加>
39
+
40
+ 早速一件、ご返信くださいましてありがとうございます!
41
+
42
+ Movefileの内容は以下ご覧の通りです。
43
+ local,production以外のエントリ(同じインデントの行)はないです。
44
+
45
+ local:
46
+ vhost: "http://VMマシン名"
47
+ wordpress_path: "/var/www/wordpress" # use an absolute path here
48
+
49
+ database:
50
+ name: "wordpress"
51
+ user: "wordpress"
52
+ password: "wordpress"
53
+ host: "localhost"
54
+ charset: "utf8"
55
+
56
+ # paths: # you can customize wordpress internal paths
57
+ # wp_content: "wp-content"
58
+ # uploads: "wp-content/uploads"
59
+ # plugins: "wp-content/plugins"
60
+ # mu_plugins: "wp-content/mu-plugins"
61
+ # themes: "wp-content/themes"
62
+ # languages: "wp-content/languages"
63
+
64
+ production:
65
+ vhost: "http://ドメイン名"
66
+ wordpress_path: "/home/から始まる本番のパス" # use an absolute path here
67
+
68
+ database:
69
+ name: "DB名"
70
+ user: "DBユーザ名"
71
+ password: "パスワード"
72
+ host: "DBホスト名"
73
+ port: "ポート番号" # Use just in case you have exotic server config
74
+ mysqldump_options: "--max_allowed_packet=50MB" # Only available if using SSH
75
+
76
+ exclude:
77
+ - ".git/"
78
+ - ".gitignore"
79
+ - ".sass-cache/"
80
+ - "bin/"
81
+ - "tmp/*"
82
+ - "Gemfile*"
83
+ - "Movefile"
84
+ - "wp-config.php"
85
+ - "wp-content/*.sql"
86
+ - ".htaccess" # 追記
87
+
88
+ ssh:
89
+ host: "初期ドメイン名"
90
+ user: "ユーザー名"
91
+ port: ポート番号
92
+ rsync_options: --verbose