By lkartono
I’m trying to setup my Rails app onto the new one-click install using Ubuntu 16.04. I was trying to set Let’s encrypt when I realize the server did not work and the nginx log show me this:
2017/06/15 10:49:17 [crit] 3304#3304: *1 connect() to unix:/run/DigitalOceanOneClick/unicorn.sock failed (2: No such file or directory) while connecting to upstream, client: x.x.x.x, server: staging-api.batiment.nc, request: "GET /favicon.ico HTTP/1.1", upstream: "http://unix:/run/DigitalOceanOneClick/unicorn.sock:/favicon.ico", host: "staging-api.batiment.nc", referrer: "http://staging-api.batiment.nc/"
Checking at the /run folder, it seems that DigitalOceanOneClick directory is erased somehow. Whenever I create it, something erase it.
Here are the thing I did on the machine (the rails_project demo page was working fine before):
well-known... public URLAnyone of you experiencing that?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
With the previous one-click setup for Rails (on Ubuntu 14.04), it was much easier to manage Ruby and its Gems. Right now, as soon as I’m trying to change Ruby version and restart unicorn and nginx, the same error appear, the server crash and I cannot seem to be able to make it work again. Any member of the team will be available to give some insight or help? or should I open a priority ticket with the support team?
I’m running into the same issue too.
2018/04/05 23:29:19 [crit] 1501#1501: *15 connect() to unix:/run/DigitalOceanOneClick/unicorn.sock failed (2: No such file or directory) while connecting to upstream, client: X.X.X.X, server: _, request: “GET / HTTP/1.1”, upstream: “http://unix:/run/DigitalOceanOneClick/unicorn.sock:/”, host: “192.241.169.48”
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.