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
Chas
25 March 2019 20:56
22
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
Chas
25 March 2019 21:53
25
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:
librenms:master
← murrant:weathermap-workaround
opened 12:04PM - 27 Mar 19 UTC
DO NOT DELETE THIS TEXT
#### Please note
> Please read this information ca… refully. You can run `./scripts/pre-commit.php` to check your code before submitting.
- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
2 Likes
Indeed, the problem is gone after the automatic daily update. thanks