-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx: open version.json failed #25
Comments
After reading the detail of your issue, I conclude that there is a bug in RPi-Monitor around version.json. |
I have the same with apache2.. Any infos on that? With the embedded webserver it works, but I don't want to let everybody access my statuspage from the net :( |
I did modify rpimonitord to fix this bug. I didn't test it yet. If somebody needing this feature can test it from the commit listed upper, I would appreciate the feedbacks. |
Thanks a lot :) Will try it the next days. Anything I should take care of when installing it with apache? |
The patch is very small so, I would advised to copy/paste the 4 line added into rpimonitord and restart the process. |
I did ( finally ;-) ) setup an environment to test RPi-Monitor with an externel server... |
…tible with externan server. Fix issue #25
Fixed in version 2.6 |
Hello,
I am using the latest version of rpimonitor. When I am using the embedded webserver erverything works fine, but when I am using nginx ( which works fine and set up using the guide from http://rpi-experiences.blogspot.fr/2013/06/rpi-monitor-version-20-advance-usage.html ) the status and statistics page cannot be displayed.
The error of nginx is the following:
2013/11/02 12:33:53 [error] 7169#0: *9 open() "/usr/share/rpimonitor/web/version.json" failed (2: No such file or directory), client: 192.168.1.9, server: , request: "GET /version.json HTTP/1.1", host: "192.168.1.7:8888", referrer: "http://192.168.1.7:8888/"
2013/11/02 12:33:54 [error] 7169#0: *9 open() "/usr/share/rpimonitor/web/version.json" failed (2: No such file or directory), client: 192.168.1.9, server: , request: "GET /version.json HTTP/1.1", host: "192.168.1.7:8888", referrer: "http://192.168.1.7:8888/status.html"
2013/11/02 12:34:15 [error] 7169#0: *9 open() "/usr/share/rpimonitor/web/version.json" failed (2: No such file or directory), client: 192.168.1.9, server: , request: "GET /version.json HTTP/1.1", host: "192.168.1.7:8888", referrer: "http://192.168.1.7:8888/statistics.html"
It is true that a version.json doesn't exist, But why does the page works with the embedded webserver, but not with nginx.
Why is a version.json not created at startup of rpimonitor and how do I create it? I have not customized rpimonitor yet.
The text was updated successfully, but these errors were encountered: