Hi Jeff and Michael,

I got it working, with all your excellent feedback. Let me explain what
I did:

- Uninstalled all logitech RPMs, stopped the TAR-based LMS server,
deleted all the stuff in /var/lib/squeezeboxserver/. Clean.

- I tried Jeff's steps right there in the CentOS 7 baremetal Server
where I've had my problems up til now (before making a VM to test... to
be scientific)
-> LMS ran, as it has, but the media scan now worked.

Since there was no OS change, no change in the media files, not even a
reboot of the server since the last tests with the TAR install, then it
must be the RPMs.

Here is what I installed that I had up until then NOT installed:

- deltarpm
- perl-App-cpanminus
- perl-Linux-Inotify2


Code:
--------------------
    Dependencies Resolved
  
  Installing:
  perl-App-cpanminus                   
  perl-Linux-Inotify2                  
  Installing for dependencies:
  mailcap                              
  perl-Algorithm-Diff                  
  perl-Archive-Zip                     
  perl-Business-ISBN                   
  perl-Business-ISBN-Data              
  perl-CPAN-Meta                       
  perl-CPAN-Meta-Requirements          
  perl-CPAN-Meta-YAML                  
  perl-Digest-SHA1                     
  perl-Encode-Locale                   
  perl-ExtUtils-CBuilder               
  perl-File-Listing                    
  perl-HTML-Parser                     
  perl-HTML-Tagset                     
  perl-HTTP-Cookies                    
  perl-HTTP-Daemon                     
  perl-HTTP-Date                       
  perl-HTTP-Message                    
  perl-HTTP-Negotiate                  
  perl-IO-HTML                         
  perl-IPC-Cmd                         
  perl-JSON-PP                         
  perl-LWP-MediaTypes                  
  perl-Locale-Maketext                 
  perl-Locale-Maketext-Simple          
  perl-Module-Build                    
  perl-Module-CoreList                 
  perl-Module-Load                     
  perl-Module-Load-Conditional         
  perl-Module-Metadata                 
  perl-Module-Signature                
  perl-Net-HTTP                        
  perl-PAR-Dist                        
  perl-Params-Check                    
  perl-Parse-CPAN-Meta                 
  perl-Perl-OSType                     
  perl-Text-Diff                       
  perl-URI                             
  perl-WWW-RobotRules                  
  perl-YAML                            
  perl-YAML-Tiny                       
  perl-libwww-perl                     
  
  Install  2 Packages (+42 Dependent packages)
--------------------


I'm guessing that *perl-App-cpanminus* is the important one.

Results:

Server.log is empty except for one line saying LMS has started, and
scanner.log contains nice happy messages:

[16-01-21 14:00:13.0215] Slim::Utils::Scanner::Local::__ANON__ (450)
Rescanning changed audio files (0)
[16-01-21 14:00:13.0218] Slim::Music::Import::endImporter (643)
Completed Slim::Music::PlaylistFolderScan Scan in 0 seconds.
[16-01-21 14:00:13.0220] Slim::Music::Import::runImporter (511) Starting
Slim::Plugin::FullTextSearch::Plugin scan
[16-01-21 14:00:13.0224]
Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (396) Starting
fulltext index build
[16-01-21 14:00:13.0226]
Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (400) Initialize
fulltext table
[16-01-21 14:00:13.0372]
Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (406) Create
fulltext index for tracks
[16-01-21 14:00:14.4084]
Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (416) Create
fulltext index for albums
[16-01-21 14:00:14.7016]
Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (425) Create
fulltext index for contributors
[16-01-21 14:00:14.7359]
Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (435) Create
fulltext index for playlists
[16-01-21 14:00:14.7469]
Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (470) Optimize
fulltext index
[16-01-21 14:00:14.8025]
SLIM::PLUGIN::FULLTEXTSEARCH::PLUGIN::_REBUILDINDEX (485) FULLTEXT INDEX
BUILD DONE!
[16-01-21 14:00:14.8027] SLIM::MUSIC::IMPORT::ENDIMPORTER (643)
COMPLETED SLIM::PLUGIN::FULLTEXTSEARCH::PLUGIN SCAN IN 1 SECONDS.
[16-01-21 14:00:14.8519] SLIM::MUSIC::ARTWORK::PRECACHEALLARTWORK (619)
STARTING PRECACHEARTWORK FOR 610 ALBUMS
[16-01-21 14:00:19.5938] SLIM::MUSIC::ARTWORK::__ANON__ (738)
PRECACHEARTWORK FINISHED IN 4.73911285400391
[16-01-21 14:00:19.5940] SLIM::MUSIC::IMPORT::ENDIMPORTER (643)
COMPLETED PRECACHEARTWORK SCAN IN 4 SECONDS.
[16-01-21 14:00:19.6403] SLIM::MUSIC::IMPORT::RUNSCANPOSTPROCESSING
(435) STARTING DATABASE OPTIMIZATION.
[16-01-21 14:00:21.1082] SLIM::MUSIC::IMPORT::ENDIMPORTER (643)
COMPLETED DBOPTIMIZE SCAN IN 1 SECONDS.

Yay!!

Michael: you had suggested I was perhaps interuppting the scan. I wasn't
doing anything at all other than having defined where the files live and
waiting. The server.log contained an abort message, but at that point
the browser was still open to the LMS page, which variable was
non-repsonsive or simply immediately resturned from the scan with "0"
files found. Probably it wasn't user-error. ;)

Jeff:  I think I'll make that VM anyway, because boy is LMS touchy, and
the best way to protect against a broken LMS is to keep it running all
to itself.


------------------------------------------------------------------------
Zn0rt's Profile: http://forums.slimdevices.com/member.php?userid=21567
View this thread: http://forums.slimdevices.com/showthread.php?t=102275

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to