librenms@librenms2:~$ ./validate.php
| Component | Version |
|---|---|
| LibreNMS | 23.7.0-75-g8ee1a2034 (2023-08-14T13:16:45+00:00) |
| DB Schema | 2023_08_02_120455_vendor_ouis_unique_index (255) |
| PHP | 8.1.2-1ubuntu2.13 |
| Python | 3.10.12 |
| Database | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1 |
| RRDTool | 1.7.2 |
| SNMP | 5.9.1 |
| =========================================== |
[OK] Composer Version: 2.5.8
[OK] Dependencies up-to-date.
[WARN] You have no devices.
[FIX]:
Consider adding a device such as localhost: /addhost
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[FAIL] Time between this server and the mysql database is off
Mysql time 2023-08-16 10:53:02
PHP time 2023-08-16 14:53:02
[FAIL] You have no timezone set for php.
[FIX]:
PHP: Runtime Configuration - Manual
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
librenms@librenms2:~$ locate php.ini
/etc/php/8.1/cli/php.ini
/etc/php/8.1/fpm/php.ini
/usr/lib/php/8.1/php.ini-development
/usr/lib/php/8.1/php.ini-production
/usr/lib/php/8.1/php.ini-production.cli
librenms@librenms2:~$
librenms@librenms2:~$ head -3 locate php.ini
==> /etc/php/8.1/cli/php.ini <==
[PHP]
timedatectl set-timezone Etc/UTC
;;;;;;;;;;;;;;;;;;;
==> /etc/php/8.1/fpm/php.ini <==
[PHP]
;timedatectl set-timezone Etc/UTC
date.timezone “America/Detroit”
==> /usr/lib/php/8.1/php.ini-development <==
[PHP]
;;;;;;;;;;;;;;;;;;;
==> /usr/lib/php/8.1/php.ini-production <==
[PHP]
date.timezone “America/Detroit”
;;;;;;;;;;;;;;;;;;;
==> /usr/lib/php/8.1/php.ini-production.cli <==
[PHP]
date.timezone “America/Detroit”
;;;;;;;;;;;;;;;;;;;
yes nginx has been restarted