Hi!
Upgraded to latest and greatest a couple of days ago. After that everything works, except accessing devices.
I have http://nav/ as my NAV URL root. Trying to access http://nav/ipdevinfo/%7Bdevice%7D gives:
Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.
Can someone please point me in the right direction for where to start to look? I did a double upgrade. Debian and NAV. To get Debian up and running, including going from PostgreSQL 9.4 to PostgreSQL 9.6 I had to make some room on the hard drive. So I did a "cd /var/lib/graphite/whisper/nav/devices/" + "rm -rf *"
Did I mess up here?
BR,
Jo
On Thu, 1 Nov 2018 10:43:20 +0100 Jo Øiongen jo.oiongen@gmail.com wrote:
Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.
Can someone please point me in the right direction for where to start to look?
Definitely look in the Apache error log.
If you're going with the example Apache config distributed with the Debian package, it uses mod_wsgi - so this might be a mod_wsgi telling you that the NAV app did not respond in whatever the default mod_wsgi timeout is (NAV's example config doesn't set this).
So I did a "cd /var/lib/graphite/whisper/nav/devices/" + "rm -rf *"
Well, you just nuked most of your stored device statistics, if that was what you intended.
Did I mess up here?
Deleting those statistics files should not affect response time. If anything, it might speed things up.