AubreyCTurnerJr
2007-01-28, 20:45
I had a weird situation where whenever a friend of mine accessed my Slimserver remotely using iTunes and his browser it would for some reason turn the Squeezebox2 in my bedroom on and play the same thing as he was hearing. I was also seeing odd errors about missing strings in the log, so I decided to wipe everything and do a scratch install from the nightly build. I haven't always been careful to delete all the old plugins before upgrades, so I suspected the errors might be from old plugins.
Anyhow, after removing the previous installation of 6.5.1 and all the files in /usr/local/slimserver, I installed SlimServer_6.5_v2007-01-28.noarch.rpm.
Invoking the init.d startup script gave me the infamous permissions error that others have seen before:
mkdir /MySQL: Permission denied at /usr/local/slimserver/Slim/Utils/MySQLHelper.pm line 156
What caught my eye was the absolute path ("/MySQL"), which didn't seem right to me. I took a look at that code and determined that the code's intent is to create a "MySQL" subdirectory under the cache directory. However, the cache directory was set to "~" in the default version of /etc/slimserver.conf.
I'd purposely decided not to copy back my old slimserver.conf file and start from scratch, thinking that it would have sufficient defaults to get started.
I edited the file and set the cache directory to "/usr/local/slimserver/Cache" and Slimserver started and I was able to initialize it (i.e. get it to index my music collection and see all my Squeezeboxes).
Did I miss a step in the installation instructions where we were supposed to manually edit this file? Or is this an oversight in the default version of the file? FYI--I was using the Linux instructions in the Wiki.
Anyhow... it's working now so I can start adding back all my plugins and see if I can duplicate the weird remote streaming behavior.
Anyhow, after removing the previous installation of 6.5.1 and all the files in /usr/local/slimserver, I installed SlimServer_6.5_v2007-01-28.noarch.rpm.
Invoking the init.d startup script gave me the infamous permissions error that others have seen before:
mkdir /MySQL: Permission denied at /usr/local/slimserver/Slim/Utils/MySQLHelper.pm line 156
What caught my eye was the absolute path ("/MySQL"), which didn't seem right to me. I took a look at that code and determined that the code's intent is to create a "MySQL" subdirectory under the cache directory. However, the cache directory was set to "~" in the default version of /etc/slimserver.conf.
I'd purposely decided not to copy back my old slimserver.conf file and start from scratch, thinking that it would have sufficient defaults to get started.
I edited the file and set the cache directory to "/usr/local/slimserver/Cache" and Slimserver started and I was able to initialize it (i.e. get it to index my music collection and see all my Squeezeboxes).
Did I miss a step in the installation instructions where we were supposed to manually edit this file? Or is this an oversight in the default version of the file? FYI--I was using the Linux instructions in the Wiki.
Anyhow... it's working now so I can start adding back all my plugins and see if I can duplicate the weird remote streaming behavior.