質問編集履歴
3
追記2
test
CHANGED
File without changes
|
test
CHANGED
@@ -137,3 +137,9 @@
|
|
137
137
|
```
|
138
138
|
|
139
139
|
となります。
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
追記2
|
144
|
+
|
145
|
+
/var/www/html/shared/config/database.ymlのファイルをVPS側でroot(#)で作成したのでそれが原因なのでしょうか?作業用ユーザー($)で作成しなければいけなかったのでしょうか?
|
2
間違い箇所修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -130,7 +130,7 @@
|
|
130
130
|
|
131
131
|
cap aborted!
|
132
132
|
|
133
|
-
SSHKit::Runner::ExecuteError: Exception while executing as
|
133
|
+
SSHKit::Runner::ExecuteError: Exception while executing as pande@xxx.xxx.xxx.xx: scp: /var/www/html/shared/config/database.yml: Permission denied
|
134
134
|
|
135
135
|
|
136
136
|
|
1
コマンド実行箇所を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -107,3 +107,33 @@
|
|
107
107
|
|
108
108
|
|
109
109
|
はじめてのデプロイでかなり困惑していますが宜しくお願いします。
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
追記
|
114
|
+
|
115
|
+
試しにbundle exec cap production deploy --traceのコマンドを実行してみました。
|
116
|
+
|
117
|
+
```ここに言語を入力
|
118
|
+
|
119
|
+
** Invoke deploy:upload (first_time)
|
120
|
+
|
121
|
+
** Execute deploy:upload
|
122
|
+
|
123
|
+
DEBUG [46140fa8] Running [ ! -d /var/www/html/shared/config ] as panda@xxx.xxx.xxx.xx
|
124
|
+
|
125
|
+
DEBUG [46140fa8] Command: [ ! -d /var/www/html/shared/config ]
|
126
|
+
|
127
|
+
DEBUG [a63f4728] Finished in 0.200 seconds with exit status 1 (failed).
|
128
|
+
|
129
|
+
DEBUG Uploading config/database.yml 0.0%
|
130
|
+
|
131
|
+
cap aborted!
|
132
|
+
|
133
|
+
SSHKit::Runner::ExecuteError: Exception while executing as kinoko@153.126.131.89: scp: /var/www/html/shared/config/database.yml: Permission denied
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
となります。
|