Redmine quit working --- 502 Bad Gateway error
Added by Tom Neff about 10 years ago
If I need to list log files, please tell me which ones (and where I'd find them). I didn't install Redmine but inherited it.
I have two instances of Redmine running. Below is what's showing from the one that still works. The other one now generates a 502 Bad Gateway error. My system had locked and I performed a hard reboot. I've been working in mySQL recently. Could I have done something there that caused this? I can hardly spell Ruby or Rails. If I need to do anything in these, please provide detailed instruction.
- Ubuntu 14.04
- Nginx
- Redmine version 2.5.2.stable
- Ruby version 2.1.1-p76 (2014-02-24) [x86_64-linux]
- Rails version 3.2.19
- Environment production
- Database adapter Mysql2
- Subversion 1.8.8
- Mercurial 2.8.2
- Git 1.9.1
- Filesystem
- redmine_contacts 3.2.17
- redmine_monitoring_controlling 0.1.1 <== This has never worked but that's a different issue.
- redmine_wktime 1.7
Jan,
I couldn't reply to your message because I kept getting an internal error from Redmine.org.
Since my other instance of Redmine is running, wouldn't that tell me all of those are running? Also, Redmine's been running for 8 months or so.
I see in my redmine-ssl-proxy-error file that each time I try to access this instance of Redmine, I get each of these 2 errors:
- 2015/03/22 17:07:48 [error] 22722#0: *958 connect() to unix:/usr/share/redmine-2.5.2/tmp/sockets/thin-redmine2.1.sock failed (111: Connection refused) while connecting to upstream, client: 10.1.10.10, server: www.glomo.info, request: "GET /login.php HTTP/1.1", upstream: "http://unix:/usr/share/redmine-2.5.2/tmp/sockets/thin-redmine2.1.sock:/login.php", host: "www.glomo.info:8301", referrer: "http://glomo.info/"
- 2015/03/22 17:07:48 [error] 22722#0: *958 connect() to unix:/usr/share/redmine-2.5.2/tmp/sockets/thin-redmine2.0.sock failed (111: Connection refused) while connecting to upstream, client: 10.1.10.10, server: www.glomo.info, request: "GET /login.php HTTP/1.1", upstream: "http://unix:/usr/share/redmine-2.5.2/tmp/sockets/thin-redmine2.0.sock:/login.php", host: "www.glomo.info:8301", referrer: "http://glomo.info/"
Replies (2)
RE: Redmine quit working --- 502 Bad Gateway error
-
Added by Jan Niggemann (redmine.org team member) about 10 years ago
Hi Tom,
is the application server up and running? nginx, like other webservers, can't run a rails app out of the box and needs support from an application server like unicorn, thin, passenger...
RE: Redmine quit working --- 502 Bad Gateway error
-
Added by Tom Neff about 10 years ago
Jan,
See my reply above your comment. An internal error wouldn't accept my reply here. Go figure.