开发者

New deployment does not show up with capistrano/passenger command-line

开发者 https://www.devze.com 2023-04-13 01:22 出处:网络
I make a change on the local server (something obvious, removing a <h1/>). I see it on the local machine. I then commit and push the changes and do cap deploy.

I make a change on the local server (something obvious, removing a <h1/>). I see it on the local machine. I then commit and push the changes and do cap deploy.

I do 开发者_开发百科not see the changes when I access my staging environment.

I checked the following: Capistrano does not give me an error. I ssh onto the server and in the code, the change IS there. I restart the server manually by sudo touch tmp/restart.txt, but still I cannot see the change in the browser. Symbolic links from current/ point to the correct revision folder.

What can be causing this? The only thing I'm doing non-standard I think is that I do not deploy in production, but rather in environment called dev2. So my server start command is sudo passenger start -e dev2 -p 80 --user=ubuntu (btw, how should I deploy passenger in production? passenger start always deploys it in development, for some reason).

So to summarize, when I deploy with capistrano, I don't see the changes, although the server is restarted and the codebase does have the changes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号