[FIXED] Not able to open Weathermap editor

No ideas on how to solve this?

I switched to stable release as described here: https://docs.librenms.org/General/Releases/

Now I can access the Weathermap editor again.

Did not even know i ran a development release, switched to stable and now its working again :slight_smile:

1 Like

Well, I actually cannot switch and hopefully it it will keep on working for you.
I think this will not be the case if the issue doesnt get fixed.

So, there is no “working again”, this is still an issue!

Thank you!

i had ran into the same issue with the editor for weathermaps no longer working, i switched to the stable release as described, and now my web gui is giving me a HTTP 500 Error when trying to access.

but when I run ./validate.php all appears fine?
other some device polling issues - which I can resolve. but the gui is my concern

====================================

Component Version
LibreNMS 1.49
DB Schema 2019_02_10_220000_add_dates_to_fdb (132)
PHP 7.2.14
MySQL 5.5.60-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.

thoughts?

Switching back to daily will most likely restore your GUI, its normally only safe to switch to the stable release on the day, or soon after the monthly stable branch is released.

If you are too far ahead on the daily branch and then switch back, you may be living in a future DB schema, but on old release code if that makes sense :space_invader:

and I do that by running the .daily.sh?

Change your release back to daily in config.php

$config['update_channel'] = 'master';

then you can run daily.sh as librenms user

ok giving it at try, lets see if the change also fixes the editing issues with weathermap

sigh… unfortunately still broken webgui

./validate.php

Component Version
LibreNMS 1.49-104-g8f718f5
DB Schema 2019_02_10_220000_add_dates_to_fdb (132)
PHP 7.2.14
MySQL 5.5.60-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Update configuration

$config[‘update_channel’] = ‘master’; # uncomment to follow the monthly release channel
#$config[‘update’] = 0; # uncomment to completely disable updates

thoughts?

just seems strange, i was having issues with weathermap editor, and the date showing 1969 on version, saw some other posts about weathermap issue being resolved by switching to stable, so I do that and then completely break gui . rollback to daily, and still no gui.

all seem to show perfectly fine in ./validate from my view, i have tried rebooting the VM, no luck and obviously restarting httpd services

Check /opt/librenms/logs/librenms.log and webserver+php logs for any issues

try re-do the permissions to see if that fixes the http 500 error, also check in a different browser.

chown -R librenms:librenms /opt/librenms
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/

only log files I can see for httpd are the following:

10.99.1.42 - - [25/Mar/2019:21:10:38 +0000] “GET / HTTP/1.1” 500 - “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36”
10.99.1.42 - - [25/Mar/2019:21:10:39 +0000] “GET / HTTP/1.1” 500 - “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36”
10.99.1.42 - - [25/Mar/2019:21:10:40 +0000] “GET / HTTP/1.1” 500 - “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36”
10.99.1.42 - - [25/Mar/2019:21:11:30 +0000] “-” 408 - “-” “-”
10.99.1.42 - - [25/Mar/2019:21:11:31 +0000] “-” 408 - “-” “-”
10.99.1.42 - - [25/Mar/2019:21:12:07 +0000] “GET / HTTP/1.1” 500 - “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36”

I have tried to change permissions still no luck

and nothing in the libre log other than device polling

Recently the http 500 issue is related to misconfiguration of php in the webserver.

Not sure why this is an issue now, but i would check anyway;

#e.g apache Yet another HTTP 500 error
also check this one;
#HTTP 500 Errors since update

Maybe create a new thread if no success as this may need more troubleshooting and seperate issue to the title.

Thank you! Changed to “stable” release, editor works again, haven’t noticed anything breaking (yet).

If I had to wager a guess, it has to do with the recent changes to “Permissions”. Looks like there was a bunch of work done. But that’s only a guess.

Still getting the http 500 errors after moving to stable release, attempted to go back to daily and issues persist.
I have checked permissions also and still same issues.
no clue what to check now, thoughts anyone?

This should be fixed in the latest daily:

2 Likes

Indeed, the problem is gone after the automatic daily update. thanks