View Full Version : Updgrade via GUI kills lm-sensors
So I decided to click the 'upgrade' button in the web GUI (even though I'm already on v0.9) just to see if there was anything new (with the news of TwonkyMedia). Foolish, I know.
It appears to have killed my setup of lm-sensors in the System Information (phpsysinfo) page on my web GUI.
Is there a way to prevent this happening in the future?
09-28-2009, 05:52 AM
That seems to be a bug. I'll see if I can fix that.
I don't know if you've had a chance to look at this issue but I just wanted to let you know it's happened again with this latest update.
I updated to Squeezebox Server via the command line as per your instructions on the front page on the main site.
All that appears to be happening is the removal of the "lmsensors" line & the reinstatement "//hddtemp" quotes from the phpsysinfo page.
10-08-2009, 02:35 PM
OK, I think I have this fixed. Do an update and it should be working.
yum clean all
Hmm, well I updated as you suggested and it appears to have altered these lines again:
"%sensor_program = “lmsensors”;"
$sensor_program = "";
and it has added the comment (//) for the line:
%hddtemp_avail = “suid”;
Or was the idea to prevent this from happening again, now that I've done the latest update?
I nearly forgot, but I also have this line:
$temperatureformat = "c";
That gets set back to:
$temperatureformat = "f";
when I update.
10-10-2009, 10:54 AM
I realize it changed these lines back but I added some new code so it should still display the temp etc. Do the temp etc dispaly properlly? I'm not sure what to do about the f to c change. Seems like you will need change this after every upgrade. Maybe I can add a config file in the future that does this. Is that something your interested in?
I did have to re-instate those lines to get the temperature to display, but it does display correctly.
If you can get the temperature setting to 'C' that would be great - so yes, I would be interested in that.
10-12-2009, 05:58 AM
OK, I added this feature. You can go into system configuration and select your temp format now.
Please test his for me.
This will overwrite your config.php file again. You should not need to edit it. Everything should work automatically now.
10-12-2009, 04:14 PM
Great idea to make °C/°F settable without config changes for us users in "Celsius countries"!
Lmsensors won't work on my old machine, but I use hddtemp. Will that changes also allow using hddtemp?
(Until my last update it always overwrote everything so my hddtemp values on the page were lost and needed to be re-modified into the page after each update.)
Ok, I did the update as you suggested.
However I did have to re-instate the line:
$sensor_program = "lmsensors";
and remove the comment (//) from this line:
%hddtemp_avail = "suid";
to get the temps to display again. However I didn't have to change to 'c' again - that worked
It's at least an improvement in one respect.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.