Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 12 12311 ... LastLast
Results 1 to 10 of 113
  1. #1

    Howto: Install Squeezebox server 7.6 on the DNS-323

    This is an update of my older thread explaining how to install Squeezebox Server 7.6 on the D-Link DNS-323.
    Although Squeezebox Server 7.6 is still beta and although there are now out of the box easy to install packages to install Squeezebox Server 7.5 on the DNS-323, there are some advantages with installing 7.6:
    - Squeezebox Server 7.6 doesn't require MySQL anymore to run, but uses by default SQLite which is a lightweight embedded database, freeing up precious memory.
    - Even independently from MySQL the memory usage has been improved in 7.6. As a result, Squeezbox Server 7.6 with SQLLite consumes nearly as the memory which is necessary to run Squeezebox Server 7.5 or older together with MySQL.
    - This reduction in the memory usage is enough to solve the old problem with the hard disk not sleeping anymore when Squeezebox Server is running. At least this problem is now gone when ffp is installed on an usb stick, the swap remaining on the hard disk. There is no need anymore to use some plugins or other trick to save energy and disk life.
    - I found the scanning time in Squeezebox Server 7.6 much faster as in previous version.

    The installation steps are quite similar as in my previous thread for 7.2 (http://forums.slimdevices.com/showthread.php?t=52664). It is in fact even a bit simpler because there is no need anymore to setup the database. I am trying here to write down the updated installation steps in the same style as in my previous tutorial.
    I will paste the exact commands, so that the steps are easy to reproduce without any particular UNIX knowledge. However it has to be clear that this is a manual procedure which is longer to execute as installing fonz's ready to use package. If you don't feel comfortable in typing some commands in a telnet shell or editing some files using vi or other embedded editor, you may prefer to wait for an easy to install fonz package for Squeezebox Server 7.6 (which will probably only come out when 7.6 is not beta anymore).
    In other words, this tutorial is for those who don't want to wait for an official package and have time to follow these steps.

    Note that you can't break anything with following this manual procedure. You can even keep your existing Squeezebox Server 7.5.x installed in parallel and decide at the end which one you want to run.

    Having said that, here is the installation procedure.
    Enjoy...

    Yannick


    ------------------------------------

    Starting point: DNS-323, latest version of ffp 0.5 installed (preferably on an USB stick if you want the disk to sleep)
    I won't cover here the installation of ffp 0.5 on the DNS-323. For the basic steps, you can look at the section 1) of my older tutorial for installing SC 7.2, or look at http://www.inreto.de/dns323/fun-plug/0.5/ or on the internet.
    I have personally installed ffp on an USB stick. When doing this, and with Squeezebox server being installed on the usb stick as well, the disk do sleep even Squeezebox server is running, as long as no Squeezebox client is connected to it. You can follow exactly the same procedure with ffp on the hard disk. The procedure is the same but I can't tell you if the disk sleep in that case. Whoever tries it can maybe report the results.

    For installing ffp on an USB stick, you will find different scripts on the internet.
    I am using this one: http://forum.dsmg600.info/t3203-setu...ount-root.html
    and used the following instructions: http://bfg100k.blogspot.com/2008/11/...it-to-usb.html

    Prior to the installation of Squeezebox Server, I have installed all ffp packages from there: http://www.inreto.de/dns323/fun-plug/0.5/packages/
    You certainly don't need all of them, but I didn't take the time to find out which ones are really necessary. What you need for sure are the compilation tools (gcc, autoconf, automake, etc...), as well as the libraries libjpeg and libpng


    ################################################## ########
    1) Install Perl and some modules available as ffp packages
    ################################################## ########

    Download and install perl and some required modules.

    Code:
    / # cd /ffp/tmp
    /ffp/tmp # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-5.10-2.tgz
    /ffp/tmp # funpkg -i perl-5.10-2.tgz
    /ffp/tmp # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-mod-DBI-1.609-1.tgz
    /ffp/tmp # funpkg -i perl-mod-DBI-1.609-1.tgz
    /ffp/tmp # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-mod-Digest-SHA1-2.12-1.tgz
    /ffp/tmp # funpkg -i perl-mod-Digest-SHA1-2.12-1.tgz
    /ffp/tmp # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-mod-Sub-Name-0.04-1.tgz
    /ffp/tmp # funpkg -i perl-mod-Sub-Name-0.04-1.tgz
    /ffp/tmp # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-mod-XML-Parser-2.36-1.tgz
    /ffp/tmp # funpkg -i perl-mod-XML-Parser-2.36-1.tgz
    /ffp/tmp # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-mod-YAML-Syck-1.07-1.tgz
    /ffp/tmp # funpkg -i perl-mod-YAML-Syck-1.07-1.tgz
    /ffp/tmp # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-mod-HTML-Parser-3.62-1.tgz
    /ffp/tmp # funpkg -i perl-mod-HTML-Parser-3.62-1.tgz
    /ffp/tmp # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-mod-common-sense-2.01-1.tgz
    /ffp/tmp # funpkg -i perl-mod-common-sense-2.01-1.tgz
    ################################################## ########
    2) Download and install Squeezebox Server 7.6
    ################################################## ########

    2.1) Download and uncompress Squeezebox Server 7.6:

    Download the nightly build of Squeezebox Server 7.6. Choose the following tarball: "Unix Tarball - No CPAN Library"
    (You may want to change the URL below to a more recent build)
    Code:
    /ffp/tmp # cd /ffp/lib
    /ffp/lib # wget http://downloads.slimdevices.com/nightly/7.6/sc/31469/squeezeboxserver-7.6.0-31469-noCPAN.tgz
    /ffp/lib # tar xvfz squeezeboxserver-7.6.0-31469-noCPAN.tgz
    /ffp/lib # chown -R nobody squeezeboxserver-7.6.0-31469-noCPAN
    2.2) Create a symbolic link to simplify the path
    Code:
    /ffp/lib # ln -s squeezeboxserver-7.6.0-31469-noCPAN squeezeboxserver-7.6
    2.3) Modify the header of the .pl files so that it uses /ffp/bin/perl
    - Edit slimserverl.pl and scanner.pl and modify the first line to be:
    Code:
    #!/ffp/bin/perl
    Last edited by yannick; 2010-11-02 at 14:49.

  2. #2
    ################################################## ########
    3) Download and compile and install required perl modules
    ################################################## ########

    3.1) Compile and install EV
    Code:
    /ffp/lib # cd /ffp/tmp/
    /ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-4.00.tar.gz
    /ffp/tmp # tar xvfz EV-4.00.tar.gz 
    /ffp/tmp # cd EV-4.00/
    /ffp/tmp/EV-4.00 # perl Makefile.PL
    Skip further questions and use defaults (y/n)? [y]
    /ffp/tmp/EV-4.00 # make
    /ffp/tmp/EV-4.00 # make install
    3.2) Compile and install JSON-XS
    Code:
    /mnt/HD_a2/ffp/tmp/EV-4.00 # cd ..
    /mnt/HD_a2/ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-2.3.tar.gz
    /mnt/HD_a2/ffp/tmp # tar xvfz JSON-XS-2.3.tar.gz 
    /mnt/HD_a2/ffp/tmp # cd JSON-XS-2.3/
    /mnt/HD_a2/ffp/tmp/JSON-XS-2.3 # perl Makefile.PL
    /mnt/HD_a2/ffp/tmp/JSON-XS-2.3 # make
    /mnt/HD_a2/ffp/tmp/JSON-XS-2.3 # make install
    3.3) Compile and install Audio-Scan
    Code:
    /ffp/tmp/JSON-XS-2.3 # cd ..
    /ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/A/AG/AGRUNDMA/Audio-Scan-0.85.tar.gz
    /ffp/tmp # tar xvfz Audio-Scan-0.85.tar.gz
    /ffp/tmp # cd Audio-Scan-0.85/
    /ffp/tmp/Audio-Scan-0.85 # perl Makefile.PL
    /ffp/tmp/Audio-Scan-0.85 # make
    /ffp/tmp/Audio-Scan-0.85 # make install
    3.4) Compile and install Image-Scale
    Code:
    /mnt/HD_a2/ffp/tmp/Audio-Scan-0.85 # cd ..
    /mnt/HD_a2/ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/A/AG/AGRUNDMA/Image-Scale-0.06.tar.gz
    /mnt/HD_a2/ffp/tmp # tar xvfz Image-Scale-0.06.tar.gz
    /mnt/HD_a2/ffp/tmp # cd Image-Scale-0.06/
    /mnt/HD_a2/ffp/tmp/Image-Scale-0.06 # perl Makefile.PL --with-jpeg-includes /ffp/include --with-png-includes /ffp/include
    /mnt/HD_a2/ffp/tmp/Image-Scale-0.06 # make
    /mnt/HD_a2/ffp/tmp/Image-Scale-0.06 # make install
    3.5) Compile and install JSON-XS-VersionOneAndTwo
    Code:
    /ffp/tmp/Image-Scale-0.06 # cd ..
    /ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/JSON-XS-VersionOneAndTwo-0.31.tar.gz
    /ffp/tmp # tar xvfz JSON-XS-VersionOneAndTwo-0.31.tar.gz
    /ffp/tmp # cd JSON-XS-VersionOneAndTwo-0.31/
    /ffp/tmp/JSON-XS-VersionOneAndTwo-0.31 # perl Makefile.PL
    /ffp/tmp/JSON-XS-VersionOneAndTwo-0.31 # make
    /ffp/tmp/JSON-XS-VersionOneAndTwo-0.31 # make install
    3.6) Compile and install Class-XSAccessor
    Code:
    /ffp/tmp/JSON-XS-VersionOneAndTwo-0.31 # cd ..
    /ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Class-XSAccessor-1.08.tar.gz
    /ffp/tmp # tar xvfz Class-XSAccessor-1.08.tar.gz
    /ffp/tmp # cd Class-XSAccessor-1.08/
    /ffp/tmp/Class-XSAccessor-1.08 # perl Makefile.PL
    /ffp/tmp/Class-XSAccessor-1.08 # make
    /ffp/tmp/Class-XSAccessor-1.08 # make install
    3.7) Compile and install DBD-SQLite
    Code:
    /ffp/tmp/Class-XSAccessor-1.08 # cd ..
    /ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/DBD-SQLite-1.31.tar.gz
    /ffp/tmp # tar xvfz DBD-SQLite-1.31.tar.gz 
    /ffp/tmp # cd DBD-SQLite-1.31/
    /ffp/tmp/DBD-SQLite-1.31 # perl Makefile.PL
    /ffp/tmp/DBD-SQLite-1.31 # make
    /ffp/tmp/DBD-SQLite-1.31 # make install
    3.8) Compile and install UUID-Tiny
    Code:
    /ffp/tmp/DBD-SQLite-1.31 # cd ..
    /ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/C/CA/CAUGUSTIN/UUID-Tiny-1.03.tar.gz
    /ffp/tmp # tar xvfz UUID-Tiny-1.03.tar.gz
    /ffp/tmp # cd UUID-Tiny-1.03/
    /ffp/tmp/UUID-Tiny-1.03 # perl Makefile.PL
    /ffp/tmp/UUID-Tiny-1.03 # make
    /ffp/tmp/UUID-Tiny-1.03 # make install
    3.9) Compile and install Template-Toolkit
    Code:
    /ffp/tmp # wget http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-2.22.tar.gz
    /ffp/tmp # tar xvfz Template-Toolkit-2.22.tar.gz 
    /ffp/tmp # cd Template-Toolkit-2.22/
    /ffp/tmp/Template-Toolkit-2.22 # perl Makefile.PL
    Do you want to build the XS Stash module? [y] 
    Do you want to use the XS Stash by default? [y]
    /ffp/tmp/Template-Toolkit-2.22 # make
    /ffp/tmp/Template-Toolkit-2.22 # make install
    ################################################## ########
    4) Remove from Squeezebox server the CPAN modules having incompatible version numbers
    ################################################## ########
    Code:
    /ffp/tmp # cd /ffp/lib/squeezeboxserver-7.6/CPAN/
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # rm -r YAML/
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # rm -r JSON/
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # rm -r Class/XSAccessor
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # rm Class/XSAccessor.pm   
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # rm -r DBD/
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # rm -r Template
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # rm Template.pm 
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # rm -r Digest/
    ################################################## ########
    5) Create /ffp/etc/squeezeboxserver-7.6
    ################################################## ########
    Code:
    /ffp/lib/squeezeboxserver-7.6.0-31469-noCPAN/CPAN # cd /ffp/etc/
    /ffp/etc # mkdir squeezeboxserver-7.6
    /ffp/etc # chown nobody squeezeboxserver-7.6/
    ################################################## ########
    6) Create the starting script
    ################################################## ########
    Go to the directory /ffp/start and create the following script

    /ffp/start/squeezeboxserver76.sh
    Code:
    #!/ffp/bin/sh
    
    # PROVIDE: squeezeboxserver76
    # REQUIRE: LOGIN
    
    . /ffp/etc/ffp.subr
    
    name="squeezeboxserver76"
    command="/ffp/lib/squeezeboxserver-7.6/slimserver.pl"
    slimserver_flags="--prefsdir /ffp/etc/squeezeboxserver-7.6 --pidfile /ffp/lib/squeezeboxserver-7.6/Logs/slimserver.pid --nodebuglog --nosb1slimp3sync --notranscoding"
    
    start_cmd="slimserver_start"
    stop_cmd="slimserver_stop"
    
    slimserver_start()
    {
        if pidof slimserver.pl >/dev/null 2>&1; then
            echo "Already running"
        else
            cd $(dirname $command)
            # this su command uses busybox-specific syntax!
            /ffp/bin/su nobody -p -c "/ffp/bin/nohup ./$(basename $command) $slimserver_flags >/dev/null 2>&1 &"
    # /ffp/bin/su nobody -p -c "/ffp/lib/squeezeboxserver-7.6/slimserver.pl $slimserver_flags" 
        fi
    }
    
    slimserver_stop()
    {
        if [ -r /ffp/lib/squeezeboxserver-7.6/Logs/slimserver.pid ]; then
            kill $(cat /ffp/lib/squeezeboxserver-7.6/Logs/slimserver.pid)
        fi
        killall slimserver.pl 2>/dev/null
        sleep 45
    }
    
    run_rc_command "$1"
    Note that this script is based on the start script for the squeezebox server package prepared by fonz.
    The credit for this script go to fonz.

    ################################################## ########
    7) Start squeezebox server
    ################################################## ########

    You can now start squeezebox server manually with
    Code:
    sh /ffp/start/squeezeboxserver76.sh start
    Or you can set the permission of the script so that it starts automatically at system start
    Code:
    chmod 755 /ffp/start/squeezeboxserver76.sh
    You can have squeezeboxserver76 installed in parallel with other versions of squeezebox server. The only limitation is that only one version can run at a time.

    Once the server is running, connect with a web browser to the IP address of your DNS323 at port 9000 to open the web interface and set up squeezebox server.
    Once the basic settings are setup, go to the advanced settings / performance and disable the settings for automatic detection of new music.


    ################################################## #########
    How to move to a new version of squeezebox server
    ################################################## #########

    To move to a newer build:
    - repeat the section 2.1 to 2.3 and the section 4
    - Copy the Cache directory from the older version to the newer version
    - Start Squeezebox server. If it complains that some perl modules don't have the required version (because in the meanwhile a new version is required), you may have to repeat one of the steps in section 3 to download the latest version of the said module (get the module at http://search.cpan.org/). If it still complains after the successful installation of the module, try to delete the local version of it in the squeezebox server CPAN directory as done in section 4.
    Last edited by yannick; 2010-11-17 at 15:04. Reason: Added rm -r Digest/ in Section 4

  3. #3
    Junior Member
    Join Date
    Oct 2010
    Posts
    7

    Scanning issues

    Hi Yannick,

    great how-to, thanks so much.
    Installation actually works great, however I encounter issues with the music scan / database:
    The scanner sometimes doesn't work at all ("abort scan" link shown but no progress), sometimes completes discovering files (step 1) but doesn't proceed with database update.
    Also it seems that complete rescan never works, while look for changes does sometimes.
    And finally, only explicitly triggered scans really start, while automatic ones (e.g. start SBS with manually deleted database) never do.

    Scanner.log isn't created at all, server.log either reports nothing specific or some SQlite exception like the one below.

    Any idea?
    Aschde

    Code:
    [10-11-16 20:55:08.7871] main::init (345) Starting Squeezebox Server (v7.6.0, r31499, Mon Nov  8 03:05:52 MST 2010) perl 5.010000
    [10-11-16 21:20:04.0951] Slim::Utils::Scanner::Local::rescan (143) Discovering files in /mnt/HD_a2/Media/Music
    [10-11-16 21:23:22.4281] Slim::Schema::Storage::throw_exception (119) Error: DBI Exception: DBD::SQLite::db selectrow_array failed: disk I/O error [for Statement "
    			SELECT COUNT(*) FROM ( 
    			SELECT DISTINCT url
    			FROM            tracks
    			WHERE           url NOT IN (
    				SELECT url FROM scanned_files
    				WHERE filesize != 0
    			)
    			AND             url LIKE 'file:///mnt/HD_a2/Media/Music%'
    			AND             virtual IS NULL
    			AND             content_type != 'dir'
    		 ) AS t1
    		"]
    Last edited by Aschde; 2010-11-21 at 06:25.

  4. #4
    Hi Aschde,

    I think I had forgotten one thing in the instructions:
    go to the CPAN directory under the directory where SB is installed and delete Digest/. (I have updated the instructions - see the last line of section 4).
    If it doesn't help, try to invoke scanner.pl from the command line.
    Try ./scanner.pl --wipe /mnt/HD_a2/Media/Music (check for the possible command line options by typing scanner.pl without any parameter).

    If you get some errors there, post them here. They should give a good hint of what is wrong.

    Yannick

  5. #5
    Junior Member
    Join Date
    Oct 2010
    Posts
    7
    Hi Yannick,

    just deleting the Digest folder didn't help - would have been too easy `-┤
    Here the result of the command line scan.
    The DB file squeezebox.db is there in the Cache folder, right as it should be I assume.

    Aschde

    Code:
    [10-11-18 01:03:14.7765] main::main (204) Starting Squeezebox Server scanner (v7.6.0, r31499, Mon Nov  8 03:05:52 MST 2010) perl 5.010000
    [10-11-18 01:03:25.0034] Slim::Utils::SQLiteHelper::beforeScan (355) Warning: Unable to copy_and_switch: /squeezebox.db does not exist at /mnt/HD_a2/usbstorage/ffp/lib/squeezeboxserver-7.6.0-31499-noCPAN/Slim/Utils/SQLiteHelper.pm line 355.
    Last edited by Aschde; 2010-11-21 at 06:25.

  6. #6
    Hi Aschde,

    one thing is strange in what you pasted: the path /mnt/HD_a2/usbstorage/ffp/lib/squeezeboxserver-7.6.0-31499-noCPAN
    Did you install ffp on an USB stick? If yes, why is the directory under /mnt/HD_a2? On my system the usb partition is under /mnt/usb, so ffp is under /mnt/usb/ffp when running from the USB stick, and /mnt/HD_a2/ffp when running from the hard disk.

    Anyway, for some reason, the system doesn't manage to write in Cache/squeezebox.db. You can check for the ownership and permission of this file (ls -al). On my system the permission is like this:
    Code:
    -rw-r--r--  1 nobody 501  3851264 Oct 24 11:19 squeezebox.db
    You can also check on /ffp/etc/squeezeboxserver-7.6/server.prefs for the values of librarycachedir and cachedir. Maybe they are pointing to the wrong directory.

    If it doesn't help, you can try to install from scratch on the Hard disk first to be sure it works, before you try to move the the USB stick, or you simply try to delete the cache and prefs directory and let the system recreate it.

    Yannick

  7. #7
    Junior Member
    Join Date
    Oct 2010
    Posts
    7
    Hi Yannick,

    I also found the USB mountpoint kind of strange and therefore double checked with Uli, whose instructions I did use for installing ffp on my USB stick:
    http://wolf-u.li/3329/fun_plug-0-5-a...#comment-16755

    Everything seems to be fine, and also the df command confirms that the USB stick in use:
    Code:
    root@NAS:~# df
    Filesystem      1K-blocks      Used Available Use% Mounted on
    %root%               9911      7735      1664  83% /
    /dev/ram0            9911      7735      1664  83% /
    /image.cfs           5760      5760         0 100% /sys/crfs
    /dev/sda2       960404324 252067984 708336340  27% /mnt/HD_a2
    /dev/sda4          497861     19369    478492   4% /mnt/HD_a4
    /dev/sdb1         1014360    857244    105588  90% /mnt/HD_a2/usbstorage
    Once I have time maybe it's a good idea to do the complete re-install, including the USB instruction you used. That could exclude potential differences in there as reason for my scanning problems.

    The permissions for my Cache/squeezebox.db are even less restrictive than yours. I don't assume that this could be an issue?
    Code:
    -rwxrwxrwx  1 nobody 501 5941248 Nov 20 14:00 squeezebox.db
    The Cache directories all are OK and I already did try deleting/re-creating the prefs and cache dirs a couple of times.

    What I didn't mention so far is that the playlist folder sometimes is scanned correctly and that even for the music folder (or better a sub-folder) the database was created once. But I was never able to re-produce that...

    Aschde
    Last edited by Aschde; 2010-11-21 at 06:24.

  8. #8
    Junior Member
    Join Date
    Dec 2010
    Posts
    27

    No scan on my DNS-323 either

    Hi,

    I ran into a similar problem. I installed the server on my DNS-323 as described above and it doesn't find my music.

    System log:

    Code:
    [10-12-16 22:47:06.4549] main::init (345) Starting Squeezebox Server (v7.6.0, r31642, Thu Dec 16 03:06:22 MST 2010) perl 5.010000
    [10-12-16 22:50:41.1997] Slim::Schema::init (157) Warning: Creating new database - empty database or database from 6.3.x found
    [10-12-16 22:50:48.6049] Slim::Utils::Scanner::Local::rescan (144) Discovering files in /mnt/HD_a2/AUDIO/playlist
    [10-12-16 22:51:14.7703] Slim::Utils::Scanner::Local::__ANON__ (216) Removing deleted files (0)
    [10-12-16 22:51:14.9504] Slim::Utils::Scanner::Local::__ANON__ (269) Scanning new files (0)
    [10-12-16 22:51:14.9584] Slim::Utils::Scanner::Local::__ANON__ (322) Rescanning changed files (0)
    [10-12-16 22:59:17.7873] Slim::Control::Request::execute (1926) Error: While trying to run function coderef [Slim::Utils::SQLiteHelper::_notifyFromScanner]: []
    [10-12-16 22:59:18.0547] Slim::Web::JSONRPC::requestMethod (358) Request failed with error: Bad dispatch!
    The lines at 22:51 resulted from the initial automatic scan, the ones at 22:59 from manually invoking scanner.pl --wipe /mnt/HD_a2/AUDIO

    Scanner log:

    Code:
    [10-12-16 22:58:59.9548] main::main (204) Starting Squeezebox Server scanner (v7.6.0, r31642, Thu Dec 16 03:06:22 MST 2010) perl 5.010000
    [10-12-16 22:59:16.2059] Slim::Utils::SQLiteHelper::updateProgress (479) Warning: Server aborted scan, shutting down
    I'd appreciate any help.

    Ed

  9. #9
    Junior Member
    Join Date
    Dec 2010
    Posts
    20
    Quote Originally Posted by yannick View Post
    Hi Aschde,

    I think I had forgotten one thing in the instructions:
    go to the CPAN directory under the directory where SB is installed and delete Digest/. (I have updated the instructions - see the last line of section 4).
    If it doesn't help, try to invoke scanner.pl from the command line.
    Try ./scanner.pl --wipe /mnt/HD_a2/Media/Music (check for the possible command line options by typing scanner.pl without any parameter).

    If you get some errors there, post them here. They should give a good hint of what is wrong.

    Yannick
    Ok, so I tried to run scanner.pl manually and get the following error

    Code:
    root@DLinkNAS:/mnt/usb/ffp/lib/squeezeboxserver-7.6.0-31672-noCPAN# perl scanner
    .pl --wipe /mnt/HD_a2/Public/Media/Music/Weezer
    Your locale was detected as C, you may have problems with non-Latin filenames.  Consider changing your LANG variable to the correct locale, i.e. en_US.utf8
    NOTE: Class::XSAccessor 1.05+ not found, install it for better performance
    [10-12-27 15:17:11.1391] main::main (203) Starting Squeezebox Server scanner (v7.6.0, r31672, Thu Dec 23 03:07:17 MST 2010) perl 5.010000
    [10-12-27 15:17:31.1960] Slim::Utils::SQLiteHelper::beforeScan (399) Warning: Unable to copy_and_switch: /squeezebox.db does not exist at /mnt/usb/ffp/lib/squeezeboxserver-7.6.0-31672-noCPAN/Slim/Utils/SQLiteHelper.pm line 399.
    root@DLinkNAS:/mnt/usb/ffp/lib/squeezeboxserver-7.6.0-31672-noCPAN#
    Last edited by SirVilhelm; 2010-12-27 at 16:20. Reason: I am a dumbass

  10. #10

    squeezeboxserver-7.6.0-31469-noCPAN.tgz

    Hi,

    There isn't a current noCPAN version online. Are you able to put a copy of squeezeboxserver-7.6.0-31469-noCPAN.tgz
    online ?

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •