Hi everyone,
When i try to get to LibreNMS i get a white page. I was looking for the error and i get this one.
Error in :
/var/log/nginx/error.log
2019/02/14 12:17:22 [error] 393#393: *1 FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error, unexpected ‘=’ in /opt/librenms/vendor/laravel/framework/src/Illuminate/Support/Arr.php on line 388” while reading response header from upstream, client: 127.0.0.1, server: librenms.intranet.biblostravel.com, request: “GET /api/v0/oxidized HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock:”, host: “127.0.0.1”
And also :
/opt/librenms/logs/librenms.log
[2019-02-14 12:25:31] production.ERROR: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘LIMIT 1’ at line 1 (SQL: LIMIT 1) (SQL: LIMIT 1)
I try to do the following but i dont have luck
i attach some useful information
librenms@POLO-SRV-21:~$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updated from 108348e93 to 63de34e29 OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
librenms@POLO-SRV-21:~$ ./validate.php
Component | Version |
---|---|
LibreNMS | 1.48.1-52-g63de34e29 |
DB Schema | 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131) |
PHP | 7.2.15-1+ubuntu18.04.1+deb.sury.org+1 |
MySQL | 10.1.38-MariaDB-0ubuntu0.18.04.1 |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.3 |
==================================== |
[OK] Composer Version: 1.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Thanks!