Logitech Media Server Problem

0 Members and 1 Guest are viewing this topic. Read 15963 times.

Saturn94

  • Full Member
  • Posts: 1778
Logitech Media Server Problem
« on: 5 Aug 2012, 04:09 pm »
I decided to give music streaming a try (I'm a complete novice) and ordered a Squeezebox Touch which I received yesterday.  Intitial setup went smoothly, but I cannot get Media Server (v7.7.2) to scan all my music files.  All my music files are in my Music folder, btw.

At first I thought I was having a problem with my firewall (Norton Internet Security, latest version) since Media Server kept reporting "failed" on 3 ports.  I contacted Norton and they made sure it was set properly so those ports would not be blocked.

The music files that do get scanned stream fine, but each time I try to rescan, it will only scan a few hundred music files then abort (I have about 2k files on my laptop, running Vista SP2).  Sometimes when it aborts the ports will show failed again.  If I restart Media Server, the ports will show OK again.  I tried turning off the firewall to see what would happen, and Media Server still exhibits the same behavior, so it's not an issue with my firewall.

I did search and found many other complaints about Media Server having scanning issues.  Some reported going back to v7.6.1 solved their problem.  I tried that, and while it doesn't report errors like v7.7.2, it still will only scan a few hundred files.

I emailed Logitech and am waiting for a response, but frankly given all the other owners who are complaining about this issue (seems to have been going on since 2011!), I'm not confident that they will be able to provide a solution.

As someone who is not computer saavy, this is extremely frustrating (I've spent MANY hours working on this crap! :cuss:) and just reinforces why I do not like computers.  Unless this is fixed soon, I'll be returning it and go back to good old reliable CDs (I've NEVER had an issue with them since starting my CD collection in 1982!).

Any suggestions or guidence is greatly appreciated.

bprice2

Re: Logitech Media Server Problem
« Reply #1 on: 5 Aug 2012, 04:21 pm »
If you're running MS Security Essentials, that might be the problem.  If so, turn off "real-time protection"  before running your scan and turn it back on when the scan is finished. You will probably need to restart your computer before going through this process.

Saturn94

  • Full Member
  • Posts: 1778
Re: Logitech Media Server Problem
« Reply #2 on: 5 Aug 2012, 05:29 pm »
If you're running MS Security Essentials, that might be the problem.  If so, turn off "real-time protection"  before running your scan and turn it back on when the scan is finished. You will probably need to restart your computer before going through this process.

Doing a search, I cannot find MS Security Essentials on my computer.  I did find Windows Firewall With Advance Security, but it is already turned off (I suspect it's been off since installing Norton a few years ago).

I appreciate the tip.  Any other things I should check?

bprice2

Re: Logitech Media Server Problem
« Reply #3 on: 5 Aug 2012, 06:03 pm »
The problem you described sounds like the same scanning issue I have.  The solution I've discovered is to turn off my virus scanning software (MS Sec. Ess.).  My very uniformed understanding is that the database application used by LMS (mySQL) does not play well with many virus scanners. 

In my case, when I start a music scan with virus scanning on, LMS will start the scan, scan a few tracks and then abort before finishing.  Maybe it would help you if you turned off whatever virus protection you're using.

That's all I know.  :scratch:  I hope it it helps.  I'd hate to see someone walk away from the Touch.  It's an awesome product.

galyons

  • Full Member
  • Posts: 483
Re: Logitech Media Server Problem
« Reply #4 on: 5 Aug 2012, 06:19 pm »
I have not had this problem. My Norton AV does not like the Logitek server program, but i just turn it off.

More from a morale support position, "Get this to work!!".  No CD player, transport, etc. that I have used sounds as good as the PC => Touch => DAC combo.  Eliminating the issues that the electro-mechanical interface of a CD reader/transport/deck interject into the music signal has amazingly positive effects.

Hang in there!  You will be rewarded!!

Cheers,
Geary

Saturn94

  • Full Member
  • Posts: 1778
Re: Logitech Media Server Problem
« Reply #5 on: 5 Aug 2012, 06:33 pm »
The problem you described sounds like the same scanning issue I have.  The solution I've discovered is to turn off my virus scanning software (MS Sec. Ess.).  My very uniformed understanding is that the database application used by LMS (mySQL) does not play well with many virus scanners. 

In my case, when I start a music scan with virus scanning on, LMS will start the scan, scan a few tracks and then abort before finishing.  Maybe it would help you if you turned off whatever virus protection you're using.

That's all I know.  :scratch:  I hope it it helps.  I'd hate to see someone walk away from the Touch.  It's an awesome product.

I tried turning off everything in Norton, but still won't scan properly. :(

I have not had this problem. My Norton AV does not like the Logitek server program, but i just turn it off.

More from a morale support position, "Get this to work!!".  No CD player, transport, etc. that I have used sounds as good as the PC => Touch => DAC combo.  Eliminating the issues that the electro-mechanical interface of a CD reader/transport/deck interject into the music signal has amazingly positive effects.

Hang in there!  You will be rewarded!!

Cheers,
Geary

It does sound great, that is with the few files it will scan. :roll:

I'm going to try it on my partner's laptop (Windows 7, different antivirus program [some free program]) and see what happens.

HAL

  • Industry Contributor
  • Posts: 5532
Re: Logitech Media Server Problem
« Reply #6 on: 5 Aug 2012, 06:41 pm »
No experience with Vista.  The latest version of Logitech Media Server for the Touch has been very stable with Windows 7 x32 and x64 Home Premium on my PC's.

JerryM

  • Full Member
  • Posts: 4711
  • Where's The Bar?
Re: Logitech Media Server Problem
« Reply #7 on: 5 Aug 2012, 06:42 pm »
Have you checked the "Diagnostics" tab within LMS? It should show you/test the ports it's wanting to use. Then you can double check your AV software to ensure it's not looking at those ports. It sure seems like a security conflict of some sort.  :scratch:

srb

Re: Logitech Media Server Problem
« Reply #8 on: 5 Aug 2012, 06:46 pm »
Have you checked the "Diagnostics" tab within LMS? It should show you/test the ports it's wanting to use. Then you can double check your AV software to ensure it's not looking at those ports. It sure seems like a security conflict of some sort.  :scratch:

Logic would dictate that if there is a security conflict or port blocking then it wouldn't be able to scan any files.

Steve

JerryM

  • Full Member
  • Posts: 4711
  • Where's The Bar?
Re: Logitech Media Server Problem
« Reply #9 on: 5 Aug 2012, 06:50 pm »
Logic would dictate that if there is a security conflict or port blocking then it wouldn't be able to scan any files.

Steve

Unless the logic uses a run time on the port and then closes it. Thus *looking at* (monitoring) the port vs. always *blocking* the port.  :thumb:

Saturn94

  • Full Member
  • Posts: 1778
Re: Logitech Media Server Problem
« Reply #10 on: 5 Aug 2012, 07:24 pm »
The Diagnostics tab reports OK for the ports.

I also posted my problem on AVS and someone suggested this:

Quote
Open "Settings->Information" in the web interface and have a look at the log files linked there. They should show which file causes trouble when scanning.

I tried that; here's my results:

Quote
Ah, progress!

 Keep in mind I'm not sure what I'm looking at, but I did see a file listed there but there wasn't any message about a problem. So I deleted that file (I do have a backup so I won't completely lose it) and ran a scan again. This time LMS did not stop or shut down. Instead of the previous 400 or so files it scanned, this time its reporting 1299 tracks. When I look at my Music folder properties on my computer it says 1695 files, so I'm still not sure LMS got everything. Is there an easy way to tell, other than manually counting all my music files?

Looks like I'm getting on the right track (no pun intended :thumb:).  It appears that the issue is LMS quits if it runs into a file it doesn't like (why wouldn't it just skip it and move along? :scratch:)

I'm still not sure it scanned everything, but at least it didn't abort or shut down.

Keep the input/suggestions coming. :)

bprice2

Re: Logitech Media Server Problem
« Reply #11 on: 5 Aug 2012, 07:36 pm »
I have read comments by posters at the Squeezebox Forum about scanning issues with files that LMS didn't like. They usually had something to do with embedded artwork or some other tagging issue.

Saturn94

  • Full Member
  • Posts: 1778
Re: Logitech Media Server Problem
« Reply #12 on: 5 Aug 2012, 07:58 pm »
.......I'm going to try it on my partner's laptop (Windows 7, different antivirus program [some free program]) and see what happens.

Loaded LMS on my partner's laptop, everything went without a hitch. Computers.....go figure. :scratch:

Now he has to figure out how to stream his Rhapsody files.  I guess he will need to download the Rhapsody app and perhaps call Rhapsody to add the SBT as an authorized device?? :scratch:

I took a listen to several file types.  While the mp3 and wma (lossy) files sound about the same as hooking my computer directly via my hiFace USB to SPDIF converter, the high res FLAC files definately suffer some when streaming vs. direct/wired connection via the hiFace.  But its fine for casual listening.  BTW, the SBT is connected to my processor (Anthem AVM20) via digital coax.

Saturn94

  • Full Member
  • Posts: 1778
Re: Logitech Media Server Problem
« Reply #13 on: 5 Aug 2012, 08:08 pm »
I have read comments by posters at the Squeezebox Forum about scanning issues with files that LMS didn't like. They usually had something to do with embedded artwork or some other tagging issue.

It would be nice if they would make it so any problem files would just be skipped and perhaps generate a report letting you know which files were skipped.  That would be far less aggrevating that the way it is now, especially for us amateurs!

bprice2

Re: Logitech Media Server Problem
« Reply #14 on: 5 Aug 2012, 09:02 pm »
Glad you got it up and running.  Now, have fun.  :thumb:

andy_c

Re: Logitech Media Server Problem
« Reply #15 on: 5 Aug 2012, 10:18 pm »
Looks like I'm getting on the right track (no pun intended :thumb:).  It appears that the issue is LMS quits if it runs into a file it doesn't like (why wouldn't it just skip it and move along? :scratch:)

I'm still not sure it scanned everything, but at least it didn't abort or shut down.

Keep the input/suggestions coming. :)

I just noticed that if the collection is large, viewing the scanner log file via Settings->Information in the web interface doesn't show the entire scanner log file.  You can see the entire file by doing Start Menu->All Programs->Logitech Media Server->Control Panel, choosing the "Advanced" tab and clicking on the "Show scanner log" button.  The entries in the log should show if anything unusual happened during the scan.

If you're not sure about what's in the scanner log file, you might save a copy, zip it up and attach it to a post.

Saturn94

  • Full Member
  • Posts: 1778
Re: Logitech Media Server Problem
« Reply #16 on: 5 Aug 2012, 10:43 pm »
I just noticed that if the collection is large, viewing the scanner log file via Settings->Information in the web interface doesn't show the entire scanner log file.  You can see the entire file by doing Start Menu->All Programs->Logitech Media Server->Control Panel, choosing the "Advanced" tab and clicking on the "Show scanner log" button.  The entries in the log should show if anything unusual happened during the scan.

If you're not sure about what's in the scanner log file, you might save a copy, zip it up and attach it to a post.

Hmmmm....it doesn't seem to show the last scan I did, just an unsuccessful scan from earlier.  Here's what it says:

Quote
[12-08-05 12:49:25.9586] main::main (200) Starting Logitech Media Server scanner (v7.7.2, r33893, Wed Mar 14 05:47:42 PDT 2012) perl 5.014001
[12-08-05 12:49:30.0146] Slim::Schema::forceCommit (2118) Warning: Trying to commit transactions before DB is initialized!
[12-08-05 12:49:37.2690] Slim::Music::Import::runImporter (485) Starting Slim::Media::MediaFolderScan scan
[12-08-05 12:49:37.2714] Slim::Utils::Scanner::Local::rescan (171) Discovering audio files in C:\Users\Jim\Music
[12-08-05 12:49:38.0174] Slim::Utils::SQLiteHelper::updateProgress (405) Warning: Server aborted scan, shutting down

I'll defer to someone who is more computer literate than I to interpret this. :oops:

JEaton

  • Full Member
  • Posts: 472
Re: Logitech Media Server Problem
« Reply #17 on: 5 Aug 2012, 10:54 pm »
Loaded LMS on my partner's laptop, everything went without a hitch. Computers.....go figure. :scratch:

Scanning the exact same music files?

You don't have a port-blocking (firewall) problem, since you were able to browse the library (the part of it that was successfully scanned, anyway) and play music on the Touch.

It's possible that an anti-virus problem could cause the scanner to fail by blocking access to certain types of database file, but I doubt it. Usually, it would fail immediately during the process. That's really easy to troubleshoot, though, just by disabling the AV during a scan and seeing if it completes.

As andy_c suggests, examine the scanner.log file. BTW, this is only created when you run a full "clear library & rescan everything" type of scan. The "new & changed" scan takes place within the server and problems there are logged to the server.log file. You should be running full "clear library" scans until you're able to scan your whole music library. Hopefully, by examining the scanner.log you can identify any problem file. If the scanner chokes on a different file each time that it's run, then the problem can be a lot more difficult to trace.

andy_c

Re: Logitech Media Server Problem
« Reply #18 on: 5 Aug 2012, 10:54 pm »
Quote
[12-08-05 12:49:30.0146] Slim::Schema::forceCommit (2118) Warning: Trying to commit transactions before DB is initialized!

I'm not sure what that message is all about, but my log files say the same thing too, even with a successful scan.  I guess it's nothing to worry about.

Quote
[12-08-05 12:49:38.0174] Slim::Utils::SQLiteHelper::updateProgress (405) Warning: Server aborted scan, shutting down

Well, that's not a very helpful error message!  :green:

When you rescanned, did you choose "Look for new and changed media files" or "Clear library and rescan everything"?  The latter is necessary if the library gets in a bad state.

Edit: I see JEaton beat me to it. :D

Saturn94

  • Full Member
  • Posts: 1778
Re: Logitech Media Server Problem
« Reply #19 on: 6 Aug 2012, 12:00 am »
Scanning the exact same music files?

You don't have a port-blocking (firewall) problem, since you were able to browse the library (the part of it that was successfully scanned, anyway) and play music on the Touch.

It's possible that an anti-virus problem could cause the scanner to fail by blocking access to certain types of database file, but I doubt it. Usually, it would fail immediately during the process. That's really easy to troubleshoot, though, just by disabling the AV during a scan and seeing if it completes.

As andy_c suggests, examine the scanner.log file. BTW, this is only created when you run a full "clear library & rescan everything" type of scan. The "new & changed" scan takes place within the server and problems there are logged to the server.log file. You should be running full "clear library" scans until you're able to scan your whole music library. Hopefully, by examining the scanner.log you can identify any problem file. If the scanner chokes on a different file each time that it's run, then the problem can be a lot more difficult to trace.

No, we did not scan the same music files.  I have my music on my laptop and he has his music on his laptop.  We do not have a dedicated/separate media server.  Thanks for the tip on which type of scan to run.