使用mup,我遇到了无法复制MongoDB配置的问题。
任务列表:
[example.com] - Installing Node.js
[example.com] - Installing Node.js: SUCCESS
[example.com] - Installing PhantomJS
[example.com] - Installing PhantomJS: SUCCESS
[example.com] - Setting up Environment
[example.com] - Setting up Environment: SUCCESS
[example.com] - Copying MongoDB configuration
[example.com] x Copying MongoDB configuration: FAILED
Permission denied
mup.json:
{
"servers": [
{
"host": "example.com",
"username": "collin"
}
],
"setupMongo": true,
"setupNode": true,
"nodeVersion": "0.10.40",
"setupPhantom": true,
"enableUploadProgressBar": true,
"appName": "Example",
"app": "/path/to/proper/location,
"env": {
"ROOT_URL": "http://example.com"
},
"deployCheckWaitTime": 15
}
我已使用visudo
调整了collin ALL=(ALL) NOPASSWD: ALL
。据我所知,没有出现其他错误。