You are here: Home » Topic » Setting up Firefly

Setting up Firefly

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1062
    JRudner
    Participant

    Hello, I am trying to install Firefly, but I’m having some problems:

    1) I cannot access the firefly web interface, I get an ‘this page does not exist’ message.

    2) Through the slug web interface, how can I browse or create a folder called MP3?

    Thanks for any help

    JRudner

    #8956
    rpedde
    Participant

    @JRudner wrote:

    Hello, I am trying to install Firefly, but I’m having some problems:

    1) I cannot access the firefly web interface, I get an ‘this page does not exist’ message.

    2) Through the slug web interface, how can I browse or create a folder called MP3?

    Thanks for any help

    JRudner

    What version? The stable, using 0.2.4, or the nightlies?

    If you can’t access the web interface, then it’s either not running, or its still doing the initial scan. You can look at your process list “ps auxw” to see if it’s running.

    If not, then check the syslog to see why not. You should see an error there.

    You may also want to look at the docs on NSLU2 install to see if that helps any.

    #8957
    JRudner
    Participant

    Hi, I installed the nightlies.

    What version? The stable, using 0.2.4, or the nightlies?

    I ran ps auxw, but I dont know the process name that I should be looking for.

    Thanks,

    JRudner

    #8958
    rpedde
    Participant

    @JRudner wrote:

    Hi, I installed the nightlies.

    What version? The stable, using 0.2.4, or the nightlies?

    I ran ps auxw, but I dont know the process name that I should be looking for.

    Thanks,

    JRudner

    You are looking for something called “mt-daapd”. Should be either two of them, if it’s still scanning for music, or four of them if it’s running and ready to serve music.

    You can edit /opt/etc/mt-daapd/mt-daapd.conf and set the debuglevel to 9, and set the logfile to a path on your hard drive. Then start it, and see what the log says.

    Another way to do nearly the same thing would be to run it like this:


    # /opt/sbin/mt-daapd -d9 -f -m -c /opt/etc/mt-daapd/mt-daapd.conf

    If it dies, it should leave a message on the screen describing why.

    — Ron

    #8959
    JRudner
    Participant

    BusyBox v0.60.4 (2005.03.22-06:52+0000) Built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.

    # /opt/sbin/mt-daapd -d9 -f -m -c /opt/etc/mt-daapd/mt-daapd.conf
    Found 1 tokens in /share/hdd/data/public/mp3
    Token 1: /share/hdd/data/public/mp3
    Expanding precomments to 2048
    Expanding precomments to 4096
    Checking existence of /opt/share/mt-daapd/admin-root
    Checking existence of /opt/share/mt-daapd/admin-root
    Config entry general/db_dir is deprecated. Please review the sample config
    Checking existence of /opt/var/mt-daapd
    Checking existence of /opt/var/mt-daapd
    Loading new config file.
    Firefly Version svn-1498: Starting with debuglevel 9
    Starting signal handler
    Opening database
    db_sqlite2_open: unable to open database: /var/cache/mt-daapd/songs.db (/var/cac
    he/mt-daapd/songs.db)
    Results: 1
    Error opening db: Misc SQL Error: unable to open database: /var/cache/mt-daapd/s
    ongs.db
    #

    #8960
    rpedde
    Participant

    @JRudner wrote:

    db_sqlite2_open: unable to open database: /var/cache/mt-daapd/songs.db (/var/cac
    he/mt-daapd/songs.db)
    #

    Hrm. Should be there. Maybe permissions are wrong, though. Try:


    # mkdir -p /var/cache/mt-daapd
    # chown -R 777 /var/cache/mt-daapd

    Which is kind of gross, but probably isn’t a problem on a non-multi-user system.

    — Ron

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.