Hey Folks,
I’m a new user to LibreNMS and we had working VM that we had to upgrade the disk size.
Since the upgrade we are having issue with getting LibreNMS working. blank page shown on WebGUI.
I’ve searched for solutions and have been unable to fix the first issue seen in the result of validate.php.
when I run ./validate.php i see the following
ibrenms@librenms:~$ ./validate.php
In Compiler.php line 36:
Please provide a valid cache path.
====================================
Component | Version |
---|---|
LibreNMS | 21.2.0-2-gd20e1bdf5 |
DB Schema | Not Connected (0) |
PHP | 7.4.3 |
Python | 3.8.5 |
MySQL | ? |
RRDTool | 1.7.2 |
SNMP | NET-SNMP 5.8 |
==================================== |
[OK] Composer Version: 2.0.9
[OK] Dependencies up-to-date.
librenms@librenms:~$
I’m stuck at fixing: Please provide a valid cache path
I’ve looked at librenms/config and the path looks correct.
'compiled' => env(
'VIEW_COMPILED_PATH',
realpath(storage_path('/opt/librenms/storage/framework/views'))
),
storage directory contains all required subdirectories.
ls -R
.:
framework logs
./framework:
cache sessions testing views
./framework/cache:
data
./framework/cache/data:
./framework/sessions:
./framework/testing:
./framework/views:
./logs:
laravel.log
I found simular posts about this issue but none of the solutions fix my issue.
when I run php artisan cache:clear or anyother php artisan cmd I see the same error.
In Compiler.php line 36:
Please provide a valid cache path.
I have other issues in the result of validate.php.
But my plan is to work thru the issues top to bottom.
I would appricate any insite