I have no clue how to do that.
Edit /etc/nginx/conf.d/librenms.conf and, iirc, you should have a line like:
fastcgi_pass unix:/run/php7.2-fpm.sock
OR something like that
Change it to the new fpm socket, that should be php7.4-fpm.sock then restart nginx
I can get here, /etc/nginx/conf.d, but I don’t see librenms.conf
librenms@librenms1:~$ ./validate.php
Component | Version |
---|---|
LibreNMS | 1.69-1-gbc02ab3f6 |
DB Schema | Not Connected (0) |
PHP | 7.4.13 |
Python | 3.6.9 |
MySQL | ? |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.3 |
OpenSSL |
====================================
[OK] Composer Version: 1.10.19
[OK] Dependencies up-to-date.
Could not connect to database, check logs/librenms.log.
Your PHP is missing required mysql extension(s), please install and enable.
Check the install docs for more info: https://docs.librenms.org/Installation/
librenms@librenms1:~$