I'm packaging everything into installable RPMs for both CentOS (Red Hat) 6.x an 7.x as well as intending to blog about it all @ http://nuxref.com but I've hit a wall.
I'm so close to getting this thing to light up like a Christmas tree; i can feel it!
I've satisfied all of the the dependencies, nginx, ser2sock, alarmdecode and alarmdecode-web app are all in place.
I initialized the database without a problem (had a bit of issues with SELinux but I'll work on a module after i get this going; it's disabled for now).
i can telnet to ser2sock and see my alarm status perfect, and i can use your example scripts you provide on the alarmdecode website to communicate with the device that way too.
Soo... my problem:
the alarmdecoder-webapp is installed and i get a nice welcome page and a blue 'Start!' button to begin the initial configuration, but when i press it i get an 'Internal Server Error'.
It isn't logging anything into my instance/log/info.log file (From gunicorn) and it isn't logging anything into nginx's error.log. However, it is logging the entry in the (nginx) access.log as an error 500. So i presume my gunicorn instance is mad at me?
The url that bombs is the first one after pressing 'Start!' (in my case): https://localhost:9443/setup/type
- Code: Select all
telnet 127.0.0.1 5000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
GET /setup/type HTTP/1.1
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Connection: close
Content-Length: 21
Date: Fri, 29 Apr 2016 03:43:43 GMT
Internal Server Error
Connection closed by foreign host.
What can i do to turn on more debugging? Or does this error ring a bell? I tried searching the forum without any success.
Chris