This is a fresh install I did last night, everything is working except it seems I can’t modify anything in the web interface. All automated processes work, and I can view them fine but can’t seem to change anything with my admin account. I tried doubling the php-fpm RAM from 128 to 256, no luck. This is an example screenshot when I try to update the dashboard that gives an empty string error:
Also includes the validate output (sorry for the screenshot I’m using windows 10 integrated bash and they haven’t got the copy paste working in the version I have):
The one error you’re seeing I ran the suggested commands already
I get no specific errors in the console (only Gridster is not defined, which I assume is not related since it’s on page load) and nothing in librenms.log except polling info. I can successfully make edits to a device, and I can edit my user. I’m also unable to mark notifications as read.
What install guide did you both follow do you have a link?
Can you change this to false in your config.php $config['secure_cookies'] = false;
set this in your /opt/librenms/.env file APP_DEBUG=true
Then try it in a different web browser, go to URL/settings/sub=webui/debug=yes/
and try change png to svg under graph settings, same problem ? any more information?
Definitely not it, I changed the permissions to 777 temporarily for /var/lib/php/* (along with the folders in the path), restarted nginx and php7.2-fpm and no change.
Did you install on Windows subsystem or are you using that to ssh into your server? If you installed on WSL then chmod and other permissions probably won’t work by default how you intend due to limitations.
No, this is installed on a vm I just use the windows subsystem for sshing to it. Yes, both php7.2-json and php7.2-mbstring are installed, tried to re-install just in case and they’re already newest version.
I don’t even see a request to ajax_form.php in my network tab, but I can see it in the .js file so it seems like it’s erroring before that:
at Object.error (librenms.js?ver=20190514:129)
at c (jquery.min.js:4)
at Object.fireWith [as rejectWith] (jquery.min.js:4)
at k (jquery.min.js:6)
at Function.ajax (jquery.min.js:6)
at HTMLSelectElement.<anonymous> (librenms.js?ver=20190514:116)
at HTMLSelectElement.dispatch (jquery.min.js:5)
at HTMLSelectElement.v.handle (jquery.min.js:5)
and try change it on there, do you get the same issue? To rule out it being client side issue.
Could possibly be gzip compression issue on javascript set by the web server. Although i don’t know much about that, i would check you can access the URL i sent before to jquery and check it looks OK not corrupted or anything. Could always try apache aswell to see if you see any change.