A couple recent items I noticed with the webui - they seem to have changed, was sort of waiting on them to revert to the old way of working, but no joy. So capturing them here to see if others are having similar issues.
the overview page / URL works fine, but if I select the LibreNMS “icon” in the upper left corner, and overview goes away (i.e. base page) -> 404, Not Found.
I can manually add overview to the tail of the URL, then things work. But I do see two default dashboards?
if I select any dashboard (and the URL gets /?dashboard=# appended) .=> 404, Not Found. I did find this, https://github.com/librenms/librenms/issues/6822 … but I can’t add any number, none seem to work?
The second one works (lots of traffic after that), but not the first. So I tried rather going to, http://linuxserver/librenms/index.php
That works! So it seems the default file is not being set somehow? is this really on the web server, or rather on LibreNMS? I really mean that as a question, I’m not sure.
FYI, I do see in htaccess, RewriteRule ^(.*)$ index.php
Odd that it’s not appending index.php (as it all works if I do this manually - and it used to work!).
I did also try in the apache configuration file, DirectoryIndex index.php
But no difference.
Yep, tried that! And also, added the RewriteRule to apache (conf file) - no joy. It is interesting that the trailing slash is appended (and no index.php). Not sure if that’s it or not, but does seem a bit odd.
Still trying to get to the bottom of this, pulling my hair out . It seems like the home page should append “overview” … do I have that right? If I manually add it, then no issue, but it’s not working that way by default.
I could be wrong, but thinking the sub-path isn’t appending this as it should.
I came across this topic while searching for a solution to a near-identical issue I had. Actual I would call it truly identical except I’m using nginx (and I think OP is using Apache).
I have setup several LibreNMS sites so it surprised me to come across this issue (my other sites worked fine in this regard).
So I solved it… I will tell you how but I’m still scratching my head on it… because it’s one of those where I made a change to fix it, and then I reverted the change to ‘prove’ the fix yet now I cannot reproduce the problem!
In my case the issue seemed to be in the nginx configuration for php (/etc/nginx/conf.d/librenms.conf).
The version that did NOT work (in regards to the upper-left icon taking a user to the home/overview page):
Appreciate the comments! Tried this though, no joy yet. FYI, I can force (manually add) index.php to the end of the URL, but then selecting items like (for example) Devices doesn’t work. Huh?!?!
But if I manually add /overview, then it’s all good. Somehow that part is getting dropped.
I do see that the evidence still points to something in Apache / sub-directory configuration.
In your original post… you mentioned 2 default dashboards… that doesn’t seem right (I’m still fairly new to LibreNMS but still… 2 different defaults doesn’t seem logical). You could try setting/resetting this in the Global Settings / Web UI area or perhaps in your the user profile (maybe even delete/re-create one of the dashboards).
Adding ‘overview’ to the end or clicking that upper-left icon should take you to your personally configured default dashboard (and if you haven’t set one, the default globally-configured dashboard). So perhaps your dashboard got deleted but it’s still set in your personal profile settings?
Well, deleted all the dashboards, just have one now - and that does work … but still not the top left corner. It doesn’t seem to append /overview, so then it goes nowhere. Hmmm, still very odd.
When you click the logo in the top left corner, which URL do you get (I have /librenms set in config.php, etc., that’s why it’s here),