【问题标题】:puma: puma.sock No such file or directorypuma: puma.sock 没有这样的文件或目录
【发布时间】:2017-02-09 12:40:30
【问题描述】:

我使用 ansible 脚本进行服务器设置:

playbook.yml

Gemfile

当我将应用程序部署到服务器时,我在 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:/",

操作系统:Ubuntu 14.04.5

【问题讨论】:

    标签: ruby-on-rails ubuntu nginx ansible puma


    【解决方案1】:

    Capfile:

    require 'capistrano/puma'

    它帮助了我

    【讨论】:

    • 什么是“Capfile”?不知道这是否对我有帮助,因为我不知道上下文。
    猜你喜欢
    • 2015-11-06
    • 1970-01-01
    • 2021-06-24
    • 2015-02-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-06-17
    相关资源
    最近更新 更多