Sciamano wrote:
I've followed the instructions but it does not work.
It seems that the squeezebox server is not starting even though I've done the required steps above.
Maybe there is something wrong/missing?
If I try launching from the command line, this is the output:
Looks like missing CPAN modules. If we install the 7.9 CPAN's :
Code: Select all
wget http://dietpi.com/downloads/binaries/all/logitechmediaserver_7.9.0_CPAN_5.20_armv6hf.tar.gz -O package.tar
tar xvzf package.tar -C /
rm package.tar
We are left with:
root@DietPi:~# squeezeboxserver
The following modules failed to load: DBI JSON::XS
So lets compile those missing CPAN modules:
Code: Select all
apt-get install -y cpanminus build-essential yasm nasm libxml-parser-perl zlib1g-dev libjpeg-dev libpng-dev
cpanm DBI JSON::XS
Copy them over to LMS:
Code: Select all
cp -R /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2/* /usr/share/squeezeboxserver/CPAN/
LMS 7.8 requires a specific version of Audio::Scan:
Audio::Scan object version 0.95 does not match bootstrap parameter 0.93
So lets compile that Audio Scan version 0.93:
Copy them over to LMS, again:
Code: Select all
cp -R /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2/* /usr/share/squeezeboxserver/CPAN/
Running fine (minus optional cpan module):
Code: Select all
root@DietPi:~# squeezeboxserver
NOTE: Class::XSAccessor 1.05+ not found, install it for better performance
[16-10-26 18:31:33.3785] main::init (368) Starting Logitech Media Server (v7.8.0, 1395409907, Thu Mar 27 13:20:53 PDT 2014) perl 5.020002
[16-10-26 18:31:33.3883] main::changeEffectiveUserAndGroup (983) Warning: Logitech Media Server must not be run as root! Trying user squeezeboxserver instead.
[16-10-26 18:31:34.6240] Slim::Utils::SQLiteHelper::postConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table
[16-10-26 18:31:36.1939] main::checkDataSource (1089) Warning: Schema updated or no media found in the database, initiating scan.
NOTE: Class::XSAccessor 1.05+ not found, install it for better performance
[16-10-26 18:31:37.8168] main::main (202) Starting Logitech Media Server scanner (v7.8.0, 1395409907, Thu Mar 27 13:20:53 PDT 2014) perl 5.020002
[16-10-26 18:31:38.8719] Slim::Schema::forceCommit (2130) Warning: Trying to commit transactions before DB is initialized!
[16-10-26 18:31:39.1424] Slim::Music::Import::runImporter (488) Starting Slim::Media::MediaFolderScan scan
[16-10-26 18:31:39.1437] Slim::Music::Import::endImporter (620) Completed Slim::Media::MediaFolderScan Scan in 0 seconds.
[16-10-26 18:31:39.1657] Slim::Music::Artwork::precacheAllArtwork (608) Starting precacheArtwork for 0 albums
[16-10-26 18:31:39.1669] Slim::Music::Import::endImporter (620) Completed precacheArtwork Scan in 0 seconds.
[16-10-26 18:31:39.1805] Slim::Music::Import::runScanPostProcessing (403) Starting Database optimization.
[16-10-26 18:31:39.1843] Slim::Music::Import::endImporter (620) Completed dbOptimize Scan in 0 seconds.
[16-10-26 18:31:39.3909] Carp::carp (168) Warning: Can't locate auto/Compress/Raw/Zlib/autosplit.ix: ./auto/Compress/Raw/Zlib/autosplit.ix: Permission denied at /usr/share/perl/5.20/AutoLoader.pm line 181.
at /usr/share/squeezeboxserver/CPAN/Compress/Raw/Zlib.pm line 6.
[16-10-26 18:31:39.4178] Slim::Utils::Misc::msg (1311) Warning: [18:31:39.4173] Can't locate auto/Compress/Raw/Zlib/autosplit.ix: ./auto/Compress/Raw/Zlib/autosplit.ix: Permission denied at /usr/share/perl/5.20/AutoLoader.pm line 181.
at /usr/share/squeezeboxserver/CPAN/Compress/Raw/Zlib.pm line 6.
[16-10-26 18:31:39.4834] Slim::Utils::SQLiteHelper::postConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table