Please help with Squeezeserver configuration

Discussion for non Joggler hardware / software including software for devices that share similarities with the O2 Joggler Hardware. This section has been opened for discussion of things like the settings up the EMGD drivers on other hardware using Ubuntu, as discussion of this has been banned at the official Ubuntu Forums.
Post Reply
User avatar
pete
Posts: 2642
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Please help with Squeezeserver configuration

Post by pete » Wed Aug 10, 2016 10:23 pm

Here have been updating / redoing many (well all now) of my Ubuntu 14.04 boxes to Ubuntu 16.04.

I run the Squeeze server on the MythTV box here.

The update to MythTV totally trashed it (more DB related) so I built it from scratch.

Concurrently here install Squeezeserver V79 (most current one).

Squeezeserver appears to be running fine except

It doesn't see my music on a NAS drive.

That said I did the following relating to my music.

1 - created a /media/music directory
2 - changed fstab to auto mount the directory

IE:

//ipofnas/music /media/music/ cifs username=name,password=password 0 0

3 - I can see all of my music via ssh after I manually mount the entry in fstab

IE: sudo mount -a

And after I reboot.

4 - That said when I go to the Squeezebox server to the same directory; it doesn't see it and I cannot put my music in the squeezebox configuration.

Discovering playlists: /media/music (0 of 0) Complete 00:00:04

Log shows:

Code: Select all

[16-08-10 10:45:32.5842] main::main (205) Starting Logitech Media Server scanner (v7.9.0, 1470801836, Wed Aug 10 04:43:33 UTC 2016) perl 5.022001
[16-08-10 10:45:32.7302] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[16-08-10 10:45:32.8932] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
[16-08-10 10:45:32.8935] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in /media
[16-08-10 10:45:32.9786] Slim::Utils::Scanner::Local::__ANON__ (193) Start processing found tracks
[16-08-10 10:45:32.9789] Slim::Utils::Scanner::Local::__ANON__ (201) Connect do DB
[16-08-10 10:45:32.9790] Slim::Utils::Scanner::Local::__ANON__ (204) Get latest ID
[16-08-10 10:45:32.9793] Slim::Utils::Scanner::Local::__ANON__ (226) Delete temporary table if exists
[16-08-10 10:45:32.9795] Slim::Utils::Scanner::Local::__ANON__ (229) Re-build temporary table
[16-08-10 10:45:32.9800] Slim::Utils::Scanner::Local::__ANON__ (278) Get deleted tracks count
[16-08-10 10:45:32.9801] Slim::Utils::Scanner::Local::__ANON__ (285) Get new tracks count
[16-08-10 10:45:32.9804] Slim::Utils::Scanner::Local::__ANON__ (290) Get changed tracks count
[16-08-10 10:45:32.9805] Slim::Utils::Scanner::Local::__ANON__ (296) Removing deleted audio files (0)
[16-08-10 10:45:32.9807] Slim::Utils::Scanner::Local::__ANON__ (374) Scanning new audio files (1)
[16-08-10 10:45:33.1593] Slim::Utils::Scanner::Local::__ANON__ (454) Rescanning changed audio files (0)
[16-08-10 10:45:33.3992] Slim::Music::Import::endImporter (644) Completed Slim::Media::MediaFolderScan Scan in 0 seconds.
[16-08-10 10:45:33.4776] Slim::Music::Import::runImporter (511) Starting Slim::Music::PlaylistFolderScan scan
[16-08-10 10:45:33.4779] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in /media/music
[16-08-10 10:45:33.4796] main::main (331) Error: Failed when running main scan: [/media/music: Permission denied at /usr/share/squeezeboxserver/CPAN/File/Next.pm line 217.
]
[16-08-10 10:45:33.4798] main::main (332) Error: Skipping post-process & Not updating lastRescanTime!
Curious why I see this. I know I have posted about this here before. Personally here put in /media/music but Sqeezebox doesn't see that music directory under /media which doesn't make sense to me.

What am I doing wrong here?
Please help.
- Pete

Auto mater

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: Please help with Squeezeserver configuration

Post by castalla » Wed Aug 10, 2016 10:38 pm

You need to go to Settings-Basic Settings - set a Media Library name - then add /media/music to both Media folders and Playlist folder - then do a full Claer Library scan under Rescan Media Library. Don't forget to hit Apply.

User avatar
pete
Posts: 2642
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Please help with Squeezeserver configuration

Post by pete » Thu Aug 11, 2016 4:34 am

Thank you castalla.

Done that. Same errors. Last time I change something in the mounted directory such that LMS saw it. I know it's a rights issue from LMS to the directory.

Code: Select all

ICS-MythTV:/# cd /media/music
ICS-MythTV:/media/music# ls
0Bb7t0AxC0.opml
2004 Soundtrack
20 Years of MTV
7aFdm6i7Vo.opml
a3zfWKxymD.opml.....
logitech-1.jpg
logitech-2.jpg
- Pete

Auto mater

User avatar
pete
Posts: 2642
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Please help with Squeezeserver configuration

Post by pete » Thu Aug 11, 2016 4:59 am

Fixed it. Installing LMS via a posted script doesn't give any rights to the user lms.

Looked and found my old post here with the same issue.

Did it totally different.

First tried this:

sudo chmod -R 666 /media/music

Didn't work. Just errors with the music directory.

Edited fstab such that it wouldn't mount the music directory, rebooted.

did this again

sudo chmod -R 666 /media/music

edited the fstab to mount the music directory.

rebooted (or you can just load all of the fstab stuff via command line).

and it worked.

Code: Select all

Discovering files/directories: /media/music   (34009 of 34009)   Complete  00:00:56

Scanning new music files: /media/music   (11037 of 15994)   Running  00:05:30

/media/music/Time Life - Guitar Rock/Time Life - Guitar Rock - The Late 60s/16 - Deep Purple - Kentucky Woman.mp3
- Pete

Auto mater

Post Reply