質問編集履歴
9
wordpress_passが間違っていたのが判明したので修正しました。しかし状況は変わらず(vagrant provisionで反映済みも)
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
vhost: "http://VMマシン名"
|
94
94
|
|
95
|
-
wordpress_path: "/var/www/
|
95
|
+
wordpress_path: "/var/www/http" # use an absolute path here
|
96
96
|
|
97
97
|
|
98
98
|
|
8
もしかしてこのpathが間違っているのではと思い太字にしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
vhost: "http://VMマシン名"
|
94
94
|
|
95
|
-
wordpress_path: "/var/www/wordpress" # use an absolute path here
|
95
|
+
wordpress_path: "/var/www/**wordpress**" # use an absolute path here
|
96
96
|
|
97
97
|
|
98
98
|
|
7
タイトルを適切に変え、初心者マークを付けました。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
wordmove pull --allコマンドを実行すると「環境変数で環境を特定せよ」と警告されてpullできない
|
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
・wordmove pull --allコマンドを実行してもローカルでマウント(共有)されたwordpressフォルダには何も変化がない
|
32
32
|
|
33
|
-
・エラーメッセージはないが、以下のような「環境変数を
|
33
|
+
・エラーメッセージはないが、以下のような「環境変数で環境を特定せよ」みたいな英語が一瞬で出てきて終了する。
|
34
34
|
|
35
35
|
|
36
36
|
|
6
コードをリッチテキストで囲みました
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,9 +84,9 @@
|
|
84
84
|
|
85
85
|
local,production以外のエントリ(同じインデントの行)はないです。
|
86
86
|
|
87
|
-
※すみません、あとからリッチテキストでコードを囲めるのに気づきました。必要でしたら貼り直します
|
88
87
|
|
89
88
|
|
89
|
+
```Movefile
|
90
90
|
|
91
91
|
local:
|
92
92
|
|
@@ -107,6 +107,22 @@
|
|
107
107
|
host: "localhost"
|
108
108
|
|
109
109
|
charset: "utf8"
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
# paths: # you can customize wordpress internal paths
|
114
|
+
|
115
|
+
# wp_content: "wp-content"
|
116
|
+
|
117
|
+
# uploads: "wp-content/uploads"
|
118
|
+
|
119
|
+
# plugins: "wp-content/plugins"
|
120
|
+
|
121
|
+
# mu_plugins: "wp-content/mu-plugins"
|
122
|
+
|
123
|
+
# themes: "wp-content/themes"
|
124
|
+
|
125
|
+
# languages: "wp-content/languages"
|
110
126
|
|
111
127
|
|
112
128
|
|
@@ -136,7 +152,25 @@
|
|
136
152
|
|
137
153
|
exclude:
|
138
154
|
|
155
|
+
- ".git/"
|
156
|
+
|
157
|
+
- ".gitignore"
|
158
|
+
|
159
|
+
- ".sass-cache/"
|
160
|
+
|
161
|
+
- "bin/"
|
162
|
+
|
163
|
+
- "tmp/*"
|
164
|
+
|
139
|
-
|
165
|
+
- "Gemfile*"
|
166
|
+
|
167
|
+
- "Movefile"
|
168
|
+
|
169
|
+
- "wp-config.php"
|
170
|
+
|
171
|
+
- "wp-content/*.sql"
|
172
|
+
|
173
|
+
- ".htaccess" # 追記
|
140
174
|
|
141
175
|
|
142
176
|
|
@@ -149,3 +183,7 @@
|
|
149
183
|
port: ポート番号
|
150
184
|
|
151
185
|
rsync_options: --verbose
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
```
|
5
文言追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,6 +84,8 @@
|
|
84
84
|
|
85
85
|
local,production以外のエントリ(同じインデントの行)はないです。
|
86
86
|
|
87
|
+
※すみません、あとからリッチテキストでコードを囲めるのに気づきました。必要でしたら貼り直します
|
88
|
+
|
87
89
|
|
88
90
|
|
89
91
|
local:
|
4
文字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
Mac最新
|
5
|
+
Mac最新OSX環境でWordPress開発用のローカル環境を構築しています。
|
6
6
|
|
7
7
|
ググってなんとかやってる感じの初学者です。UNIXも相対パス程度しかわかりません。
|
8
8
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
・wordmoveコマンドでXサーバの本番環境に置いたWordpressファイルをローカル環境に持ってくる
|
19
|
+
・wordmoveコマンドでXサーバーの本番環境に置いたWordpressファイルをローカル環境に持ってくる
|
20
20
|
|
21
21
|
|
22
22
|
|
3
表示が崩れたので修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -134,25 +134,7 @@
|
|
134
134
|
|
135
135
|
exclude:
|
136
136
|
|
137
|
-
- ".git/"
|
138
|
-
|
139
|
-
- ".gitignore"
|
140
|
-
|
141
|
-
- ".sass-cache/"
|
142
|
-
|
143
|
-
- "bin/"
|
144
|
-
|
145
|
-
- "tmp/*"
|
146
|
-
|
147
|
-
|
137
|
+
(表示崩れるので省略、不慣れですみません)
|
148
|
-
|
149
|
-
- "Movefile"
|
150
|
-
|
151
|
-
- "wp-config.php"
|
152
|
-
|
153
|
-
- "wp-content/*.sql"
|
154
|
-
|
155
|
-
- ".htaccess" # 追記
|
156
138
|
|
157
139
|
|
158
140
|
|
2
コメントアウトの省略と文字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,27 +108,11 @@
|
|
108
108
|
|
109
109
|
|
110
110
|
|
111
|
-
# paths: # you can customize wordpress internal paths
|
112
|
-
|
113
|
-
# wp_content: "wp-content"
|
114
|
-
|
115
|
-
# uploads: "wp-content/uploads"
|
116
|
-
|
117
|
-
# plugins: "wp-content/plugins"
|
118
|
-
|
119
|
-
# mu_plugins: "wp-content/mu-plugins"
|
120
|
-
|
121
|
-
# themes: "wp-content/themes"
|
122
|
-
|
123
|
-
# languages: "wp-content/languages"
|
124
|
-
|
125
|
-
|
126
|
-
|
127
111
|
production:
|
128
112
|
|
129
113
|
vhost: "http://ドメイン名"
|
130
114
|
|
131
|
-
wordpress_path: "/home/から始まる本番のパス" # use an absolute path here
|
115
|
+
wordpress_path: "/home/から始まる本番のWordpressのパス" # use an absolute path here
|
132
116
|
|
133
117
|
|
134
118
|
|
1
Wordmoveファイルの内容を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
-
・VCCW+VirtualBox+Vagrantでローカル環境構築済み(かなり時間かけてsite.htmlやMovef
|
27
|
+
・VCCW+VirtualBox+Vagrantでローカル環境構築済み(かなり時間かけてsite.htmlやMovefile修正済み、多分あってる)
|
28
28
|
|
29
29
|
・本番(Xサーバー)へのssh接続は疎通確認済み、vagrantでも秘密鍵のssh-agent認識ができていることが確認できている
|
30
30
|
|
@@ -69,3 +69,115 @@
|
|
69
69
|
ほとんど万策尽きたのですが、何がwordmoveできない原因なのでしょうか。
|
70
70
|
|
71
71
|
一言でもお返事いただけたら、こちらから情報お伝えできます。ぜひご協力よろしくお願いいたします。
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
<情報の追加>
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
早速一件、ご返信くださいましてありがとうございます!
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
Movefileの内容は以下ご覧の通りです。
|
84
|
+
|
85
|
+
local,production以外のエントリ(同じインデントの行)はないです。
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
local:
|
90
|
+
|
91
|
+
vhost: "http://VMマシン名"
|
92
|
+
|
93
|
+
wordpress_path: "/var/www/wordpress" # use an absolute path here
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
database:
|
98
|
+
|
99
|
+
name: "wordpress"
|
100
|
+
|
101
|
+
user: "wordpress"
|
102
|
+
|
103
|
+
password: "wordpress"
|
104
|
+
|
105
|
+
host: "localhost"
|
106
|
+
|
107
|
+
charset: "utf8"
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
# paths: # you can customize wordpress internal paths
|
112
|
+
|
113
|
+
# wp_content: "wp-content"
|
114
|
+
|
115
|
+
# uploads: "wp-content/uploads"
|
116
|
+
|
117
|
+
# plugins: "wp-content/plugins"
|
118
|
+
|
119
|
+
# mu_plugins: "wp-content/mu-plugins"
|
120
|
+
|
121
|
+
# themes: "wp-content/themes"
|
122
|
+
|
123
|
+
# languages: "wp-content/languages"
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
production:
|
128
|
+
|
129
|
+
vhost: "http://ドメイン名"
|
130
|
+
|
131
|
+
wordpress_path: "/home/から始まる本番のパス" # use an absolute path here
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
database:
|
136
|
+
|
137
|
+
name: "DB名"
|
138
|
+
|
139
|
+
user: "DBユーザ名"
|
140
|
+
|
141
|
+
password: "パスワード"
|
142
|
+
|
143
|
+
host: "DBホスト名"
|
144
|
+
|
145
|
+
port: "ポート番号" # Use just in case you have exotic server config
|
146
|
+
|
147
|
+
mysqldump_options: "--max_allowed_packet=50MB" # Only available if using SSH
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
exclude:
|
152
|
+
|
153
|
+
- ".git/"
|
154
|
+
|
155
|
+
- ".gitignore"
|
156
|
+
|
157
|
+
- ".sass-cache/"
|
158
|
+
|
159
|
+
- "bin/"
|
160
|
+
|
161
|
+
- "tmp/*"
|
162
|
+
|
163
|
+
- "Gemfile*"
|
164
|
+
|
165
|
+
- "Movefile"
|
166
|
+
|
167
|
+
- "wp-config.php"
|
168
|
+
|
169
|
+
- "wp-content/*.sql"
|
170
|
+
|
171
|
+
- ".htaccess" # 追記
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
ssh:
|
176
|
+
|
177
|
+
host: "初期ドメイン名"
|
178
|
+
|
179
|
+
user: "ユーザー名"
|
180
|
+
|
181
|
+
port: ポート番号
|
182
|
+
|
183
|
+
rsync_options: --verbose
|