简体   繁体   English

puma: puma.sock 没有那个文件或目录

[英]puma: puma.sock No such file or directory

I used ansible script for server setup:我使用 ansible 脚本进行服务器设置:

playbook.yml 剧本.yml

Gemfile 文件

And when I deployed my application to server, I see this in nginx/error.log:当我将应用程序部署到服务器时,我在 nginx/error.log 中看到了这一点:

2016/09/30 20:43:07 [crit] 1352#0: *1 connect() to unix:/home/deploy/applications/spa_backend/shared/tmp/sockets/puma.sock failed (2: No such file or directory) while connecting to upstream, client: *, server: , request: "GET / HTTP/1.1", upstream: "http://unix:/home/deploy/applications/spa_backend/shared/tmp/sockets/puma.sock:/",

OS: Ubuntu 14.04.5操作系统:Ubuntu 14.04.5

Capfile:头文件:

require 'capistrano/puma'

it helped me它帮助了我

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM