Open Jo0Lz opened 7 years ago
Check the contents of storage/logs/laravel.log
and let me know what is there when you attempt to log in.
Hi! I've got a LibreNMS install on a Ubuntu box. The box hosts some sites (behind an NGINX proxy) and the LibreNMS install is working fine. I access it on a subdomain, and I've installed LibreNMSv2 on the same box. I've added another subdomain in the NGINX configuration, for the v2 install, and I get a nice login page. I use my current username and password for both the installs, I can login to the v1 install fine, but the v2 install seems to not parse the login. When I change the session cache driver to an array I get an error. (I figured maybe it's an issue with the file variable in the .env file...
The lavarel.log only has the error related to the CACHE_DRIVER=file issue: https://pastebin.com/BaxygYdN
Try adding a new user with the V2 command php artisan user:add
. Make sure to add --admin if you want that.
I'm not sure the password hashes are compatible anymore...
Okay! Well, that worked. Still had to change the CACHE_DRIVER to array, else I get an error on login. Still some pages that are throwing an error, but that's likely related to something else...
I'm going to play around with it some more later today. Thanks!
Most pages aren't built. Looking g at changing things to use vue.js more.
Please note
LibreNMS v2 is in early stages of development, please keep that in mind. Things may not work correctly but could be actively being worked on.
If you have simple questions it's probably easier to jump on our IRC channgel on Freenode: ##librenms
Before submitting an issue
It's worth ensuring that you are up-to-date:
Hi! Wanted to take a peek at the LibreNMS V2, so tried following the install guide...
Upon running
php artisan librenms:migrate-settings
I get the error:I've searched around some, and when I change the .env variable
CACHE_DRIVER=file
toCACHE_DRIVER=array
, the migrate settings works...However, when I navigate to the page, I get the login screen, but when I enter credentials, I have to log in again. So it seems the cache/session isn't working. Any pointers in what to modify and where to get this to work? :)