I am receiving an error 502 - Bad Gateway. I have googled this for a while now and checked multiple config files. I do see the Fav icon on my browser tab & nginx/1.18.0 (Ubuntu) is displayed on the page.
i followed this guide:
I am receiving an error 502 - Bad Gateway. I have googled this for a while now and checked multiple config files. I do see the Fav icon on my browser tab & nginx/1.18.0 (Ubuntu) is displayed on the page.
i followed this guide:
Follow the offical guide instead https://docs.librenms.org/Installation/Install-LibreNMS/
while i followed a different guide & could have followed this one; you’re reply is not helpful.
I would prefer to troubleshoot the setup I have been working on rather than start over with a different guide.
So far, I had database connection issues. I have fixed those and have the database connected. Then I ran the validate.php script. there were several errors. I rectified all of those. Still, I experience a 502 error. I am no stranger to Linux or working withing the terminal. I am not looking for an answer. I am looking for a place to start because I have not had success yet. I will go over the nginx configuration and perhaps permissions but after that I will be at a loss.
thanks
I would chech the nginx errot log and see what it is failing on. Typically the 502 bad gateway means something in nginx or fpm failed.
I actually just now located the problem and came here to post an update. There existed a type error in the run path within the nginx/conf.d/librenms.conf file. Fixed the error and it loaded right up.
Thanks for the help!!
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.