Unable to continue fresh install - http://SERVER_IP/install.php giving 502 Bad Gateway

Hello,

Eventually I was able to resolve this! There were 2 errors in my config, both related to /etc/php-fpm.d/www.conf:

  1. I did forget to uncomment (my bad, stupid):
listen.owner = nginx
listen.group = nginx
listen.mode = 0660
  1. Path “listen = /run/php-fpm/php-fpm.sock” was missing “/var/” in front of “/run/”. This is maybe something that has changed since the official install guide (CentOS 7 / nginx) was written.

In order to continue with configuration, I also had to delete config.php so I could add librenms user (maybe I could also used workaround Kevin suggested in different thread - "php adduser.php 10 ")