New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Services "Missing" #3501
Comments
What are the results of |
Nothing very exciting - below (and yes, I ran chown ... doesn't fix it. Seems to get messed up on daily updates). Version info: [FAIL] We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail: [OK] Database connection successful Thoughts? Thanks! |
Add /debug=true/ to the services page and paste the sql and php output onto pastebin or similar. The only way permissions change is running anything as non-librenms user. Daily updates don't and can't update permissions. Check your cron to make sure that everything is running as the correct user. |
You bet! Here you go, And on the crontab, it's running as root (the default, no?). Thanks! |
What's the output of: |
It's an error message ... ;). Below, ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'librenms.D.device_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by Thanks! |
I'm unsure why we aren't picking up your sql_mode in validate.php but we highly recommend still disabling sql strict mode. |
Hi, Hmmm .. I did disable this, right after the upgrade. Or at least I think I did ... ;). Here is what I see - strict mode is off, no? mysql> SELECT @@GLOBAL.sql_mode; Thanks! |
Afaik sql_mode should be empty. I will check with our galera cluster in a bit. On 8 May 2016 19:04:34 CEST, arrmo notifications@github.com wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
We only got: NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION On 8 May 2016 19:04:34 CEST, arrmo notifications@github.com wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Yup, needs to be off completely. |
That works - thanks guys! Seems the upgrade to Ubuntu 16.04 changed some of this (when MySQL was upgraded). I took out part of the strict mode, but I admit - I wasn't sure what all needed to be removed. It may be good to note this somewhere for folks. Thanks again! |
It's in our install docs :) |
Sorry! I did go through them, obviously missed it - my fault! |
Hi,
Ever since I upgraded my Linux box to Ubuntu 16.04 LTS, I have noticed that the Top-devices widget is empty, and now I noticed that my services list is empty ... even though I can "see" them in my Availability-map widget.
Thoughts? Things to check?
Nope, my MySQL server is not set for strict ... ;). It was, but I changed this to correct other issues.
Thanks!
The text was updated successfully, but these errors were encountered: