I still get those same 'disk full' log messages.
If I stop LMS, go into /var/lib/squeezeboxserver/cache and delete all the relevant DB files and restart the sever, it scans OK.
If I then do a further rescan it doesn't work.
So basically, every time I need to add music I need to go to /var/lib/squeezeboxserver/cache and clear out the old stuff.
In desperation, I tried editing
/etc/init.d/logitechmediaserver
CACHEDIR=/var/lib/$NAME/cache
to point to a new 'cache' directory in my external drive
CACHEDIR=/media/usb0/cache
but the server just refuses to start then.
I think it may be an ownership thing, but try as I might I can't change the owner:group to squeezeboxserver:nogroup
But as the internal flash seems to have plenty of room anyway, I really don't think this is the issue.
Looking at the Logitech forums it seems that this sort of problem is really common (i.e., it's just really buggy software).
did you tried with a previous version of Squeezebox Server?. If you don't need dnla capbilities, you can check what happen with squeezeboxserver_7.6.2~33593_all.deb
Thanks, I will try that next.
If I am to remove LMS I may as well reflash the OS, and refer to your 'Squeezeplay OS recipes' thread.
I.e., Reflash (using the birdslikewires internal MMC version), install SSH, clean out the stuff we don't need, then install Squeezebox Server using your instructions.
[12-07-23 09:26:14.8543] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db selectrow_array failed: database or disk is full [for Statement "
It has no problem at all re-scanning if I clear out the cache first.
I may give up soon! Getting the Joggler to be my music server was never meant to be a full-time hobby.
For running squeezeserver I've found it a lot easier to simply use a USB stick but plug it in internally in place of the WiFi card. No issues with running out of space that way (I'm using an 8G stick so plenty of space after resizing the partition in GParted
JimbobVFR400 wrote:Just a thought but do you use WiFi at all
For running squeezeserver I've found it a lot easier to simply use a USB stick but plug it in internally in place of the WiFi card. No issues with running out of space that way (I'm using an 8G stick so plenty of space after resizing the partition in GParted
JimbobVFR400 wrote:Just a thought but do you use WiFi at all
For running squeezeserver I've found it a lot easier to simply use a USB stick but plug it in internally in place of the WiFi card. No issues with running out of space that way (I'm using an 8G stick so plenty of space after resizing the partition in GParted
Yes I'm using wifi exclusively I'm afraid (although I could plug a wifi client into the ethernet port, I use one on my TV box to get iPlayer on it).
After a successful scan (after cache clearing) I have 33% free on the internal, so I'm still not wholly convinced space is the issue.
It's only 500-odd mostly FLAC albums with single cover.jpg per album (500x500).
Unless it needs to backup these DB files somewhere before creating new ones.
Maybe putting the OS on the 500GB external HDD along with the music is the answer! Although I like the fact that the HDD is spun down when I'm not playing files (i.e., even when listening to internet radio) and may have to keep it spinning for this to be usable.
Glenn2 wrote:I tried leaving the CACHEDIR as is and symlinking to the new location but that didn't work either.
Did you shut down LMS before creating the link? If it's storing the database where it says it is, that really should have worked.
Yes I did, but adding the new cache directory on the HDD as root is probably the issue, as it's not owned by user 'squeezeboxserver'.
I'm a linux noob (but these problems are great for picking up stuff!) and my attempts to change ownership of the new folder were denied.
Interesting. It could be that this is related to temporary space then, rather than total storage space. That would make sense - in that case even moving the database files wouldn't necessarily fix the problem.
As I remember it, /var/tmp has a very limited space setting in /etc/fstab. I've also been a bit cheeky in making /var/tmp a tmpfs mount. Try increasing the space available to /var/tmp in the fstab, or remove that line entirely to pop it back onto the root storage device.
Heh, not the first time i've seen this.. I have /tmp etc on tmpfs on my desktop and had some weird errors before (when something needed more tmp space than was available - i think it was mysql).. took me far too long to realise it was my tmpfs mount. typical, because if i'd made a note to myself, i might have caught it earlier.
Just to say thanks to all of you, not just for helping me fix these issues, but for creating the system in the first place. Truly great work!
One little tip, which is handy particularly when playing BBC stations. Once you have LMS, iPlayer, PlayWMA and PlayReal installed, go into the file types settings and disable FLAC streaming for anything other than FLAC files.
There's no point having the server transcode, e.g., WMA to FLAC, and then having Squeezeplay decode the FLAC to the native PCM format (which all digital audio ends up as before the hardware can play it).
All transcoding must decompress to PCM before encoding to the new format, even if it's only one module doing it. There is no decrease in quality as FLAC is lossless, but it all takes CPU cycles.
So for WMA this is LMS (WMA-->PCM, PCM-->FLAC) ---> Squeezeplay (FLAC-->PCM).
But if you have LMS (WMA-->PCM) --> Squeezeplay, the streams start to play instantly rather than after a few seconds and it all feels much more responsive.
If you are feeding other squeezeboxes via wifi, you will be using a bit of extra wifi bandwidth for the stream but it made no difference in my system, and I feed an external Squeezebox Classic as well as the internal Squeezeplay client.
JimbobVFR400 wrote:Just a thought but do you use WiFi at all
For running squeezeserver I've found it a lot easier to simply use a USB stick but plug it in internally in place of the WiFi card. No issues with running out of space that way (I'm using an 8G stick so plenty of space after resizing the partition in GParted
Can you boot from the stick?
Indeed I can. Boots straight from the stick. I had to remove the plastiic casing from the stick, which was a simple fingernail job. Not sure what happens if you insert a stick in the side as well, i.e. which stick it will boot from. Not tried that yet.
Version 1.07 is now available, running SqueezePlay for Joggler v1.51.
This is mainly a bugfix release, sorting out an issue with rescanning libraries on Logitech Media Server, reducing the number of installed packages (thanks to guidows, who provided some nice information on what extraneous packages could be removed) and shifting apt caches and lists into RAM instead of eating up precious storage.
Changelog copied out below:
v1.07 (25th July 2012)
Kernel 3.2.23jog1, overlay v1.43.
Removed /var/tmp from tmpfs, as this shouldn't be purged on every reboot.
Added /var/cache/apt and /var/lib/apt/lists to tmpfs to save drive space.
Increased default audio output level slightly.
Removed additional unnecessary packages.