You are here: Home » Topic » nslu2 setup broken after uprgade to svn-1696

nslu2 setup broken after uprgade to svn-1696

This topic contains 7 replies, has 4 voices, and was last updated by  rpedde 9 years, 11 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2115

    Anonymous

    Hi, Until this morning i had a nicely functioning firefly setup on an nslu2.
    I decided to upgrade to the lastest nightly and now i am having problems with firefly crashing. At first i thought it was a bad music file crashing the system but after i increased the log level to 6 i couldnt find any specific file mentioned.

    Below is the log i get with the tail -100 /var/log/messages command after a system restart and an attemted manual restart of firefly.

    <25>Jan  9 11:17:38 mt-daapd[468]: Config entry general/playlist is deprecated.
    Please review the sample config
    <25>Jan 9 11:17:38 mt-daapd[468]: Firefly Version svn-1696: Starting with debug
    level 6
    <25>Jan 9 11:17:38 mt-daapd[468]: Plugin loaded: ssc-script/svn-1696
    <25>Jan 9 11:17:38 mt-daapd[468]: Plugin loaded: daap/svn-1696
    <25>Jan 9 11:17:38 mt-daapd[468]: Plugin loaded: rsp/svn-1696
    <25>Jan 9 11:17:38 mt-daapd[468]: Starting rendezvous daemon
    <25>Jan 9 11:17:38 mt-daapd[468]: Starting signal handler
    <46>Jan 9 11:17:39 klogd: usb.c: registered new driver usblp
    <46>Jan 9 11:17:39 klogd: printer.c: usblp0: USB Bidirectional printer dev 2 if
    1 alt 0 proto 2 vid 0x04A9 pid 0x170C
    <46>Jan 9 11:17:39 klogd: printer.c: v0.11: USB Printer Device Class driver
    <25>Jan 9 11:17:39 mt-daapd[470]: Initializing database
    <25>Jan 9 11:17:52 mt-daapd[470]: Starting web server from /opt/share/mt-daapd/
    admin-root on port 3689
    <25>Jan 9 11:17:52 mt-daapd[470]: Registering rendezvous names
    <25>Jan 9 11:17:52 mt-daapd[470]: Serving 2212 songs. Startup complete in 14 s
    econds
    <25>Jan 9 11:17:52 mt-daapd[470]: Rescanning database
    <25>Jan 9 11:17:52 mt-daapd[491]: Write error: Connection reset by peer
    <25>Jan 9 11:17:52 mt-daapd[469]: Rendezvous socket closed (daap server crashed
    ?) Aborting.
    <78>Jan 9 11:18:00 cron[409]: loading crontab file /etc/crontab
    <38>Jan 9 11:18:37 login[512]: root login on `ttyp0' from `192.168.1.123'
    <25>Jan 9 11:21:16 mt-daapd[520]: Config entry general/playlist is deprecated.
    Please review the sample config
    <25>Jan 9 11:21:16 mt-daapd[520]: Firefly Version svn-1696: Starting with debug
    level 6
    <25>Jan 9 11:21:16 mt-daapd[520]: Plugin loaded: ssc-script/svn-1696
    <25>Jan 9 11:21:16 mt-daapd[520]: Plugin loaded: daap/svn-1696
    <25>Jan 9 11:21:16 mt-daapd[520]: Plugin loaded: rsp/svn-1696
    <25>Jan 9 11:21:16 mt-daapd[520]: Starting rendezvous daemon
    <25>Jan 9 11:21:16 mt-daapd[520]: Starting signal handler
    <25>Jan 9 11:21:16 mt-daapd[522]: Initializing database
    <25>Jan 9 11:21:26 mt-daapd[522]: Starting web server from /opt/share/mt-daapd/
    admin-root on port 3689
    <25>Jan 9 11:21:26 mt-daapd[522]: Registering rendezvous names
    <25>Jan 9 11:21:26 mt-daapd[522]: Serving 2212 songs. Startup complete in 10 s
    econds
    <25>Jan 9 11:21:26 mt-daapd[522]: Rescanning database
    <25>Jan 9 11:22:05 mt-daapd[522]: Error reading mp4 data: Unknown error
    <25>Jan 9 11:22:08 mt-daapd[522]: Starting playlist scan
    <25>Jan 9 11:23:22 mt-daapd[541]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:23:55 mt-daapd[544]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:24:28 mt-daapd[546]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:24:28 mt-daapd[522]: Updating playlists
    <25>Jan 9 11:24:29 mt-daapd[522]: Updating playlists
    <25>Jan 9 11:24:32 mt-daapd[522]: Updating playlists
    <25>Jan 9 11:24:32 mt-daapd[522]: Updating playlists
    <25>Jan 9 11:25:06 mt-daapd[551]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:25:06 mt-daapd[522]: Updating playlists
    <25>Jan 9 11:25:06 mt-daapd[522]: Updating playlists
    <25>Jan 9 11:25:44 mt-daapd[552]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:26:22 mt-daapd[553]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:26:55 mt-daapd[556]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:27:28 mt-daapd[558]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:27:28 mt-daapd[522]: Attempt to add duplicate playlist: '90ÔÇÖs Mu
    sic' type: 3, path: /share/flash/data/music/iTunes/iTunes Library.xml, idx: 6686
    80829
    <25>Jan 9 11:27:28 mt-daapd[522]: err adding playlist 90ÔÇÖs Music
    <25>Jan 9 11:27:29 mt-daapd[522]: Attempt to add duplicate playlist: 'Music' ty
    pe: 3, path: /share/flash/data/music/iTunes/iTunes Library.xml, idx: 229801574
    <25>Jan 9 11:27:29 mt-daapd[522]: err adding playlist Music
    <25>Jan 9 11:27:33 mt-daapd[522]: Attempt to add duplicate playlist: 'Podcasts'
    type: 3, path: /share/flash/data/music/iTunes/iTunes Library.xml, idx: -1589597
    658
    <25>Jan 9 11:27:33 mt-daapd[522]: err adding playlist Podcasts
    <25>Jan 9 11:28:06 mt-daapd[560]: Error: enum_begin failed (error 1): ?
    <25>Jan 9 11:28:06 mt-daapd[522]: Attempt to add duplicate playlist: 'Recently
    Added' type: 3, path: /share/flash/data/music/iTunes/iTunes Library.xml, idx: -9
    79910979
    <25>Jan 9 11:28:06 mt-daapd[522]: err adding playlist Recently Added
    <25>Jan 9 11:28:11 mt-daapd[522]: Attempt to add duplicate playlist: 'Recently
    Played' type: 3, path: /share/flash/data/music/iTunes/iTunes Library.xml, idx: -
    1675858870
    <25>Jan 9 11:28:11 mt-daapd[522]: err adding playlist Recently Played
    <25>Jan 9 11:28:11 mt-daapd[522]: Attempt to add duplicate playlist: 'Top 25 Mo
    st Played' type: 3, path: /share/flash/data/music/iTunes/iTunes Library.xml, idx
    : -1423555999
    <25>Jan 9 11:28:11 mt-daapd[522]: err adding playlist Top 25 Most Played
    <25>Jan 9 11:28:14 mt-daapd[522]: Updating playlists
    <25>Jan 9 11:28:15 mt-daapd[522]: Scanned 2212 songs (was 2212) in 409 seconds

    My skills are pretty limited in this area, but i am willing to learn!

    any ideas whats going wrong here? and what i can do to fix it (apart from learning that when something is working fine dont mess with it!)

    thanks 🙂

    #15776

    stretch
    Participant

    svn-1696 has a bug that causes it to crash/hang when doing a file rescan

    Your options are to switch to an sqlite3 database using svn-1696 or revert to an older version of Firefly.

    #15777

    Anonymous

    Thanks, thats good to know, at least it isnt something i have done!

    @stretch wrote:

    Your options are to switch to an sqlite3 database using svn-1696

    Is swithcing to an sqlite3 database as easy as just selecting it in the configuration page, or does it need installing seperately?

    Does anyone using a Nslu2 know the easiest way to install and earlier nightly version? i.e. svn-1695. Can it be done through ipkg?

    #15778

    Anonymous

    ah, a little searching brings up

    ipkg install sqlite3

    🙂

    edit: I have tried this command and there seems to be not ipkg package for sqlite3

    can anyone give me a clue to the easiest way to install sqlite3 on a nslu2?

    thanks

    #15779

    rsl360
    Participant

    @colincliff wrote:

    ah, a little searching brings up

    ipkg install sqlite3

    🙂

    edit: I have tried this command and there seems to be not ipkg package for sqlite3

    can anyone give me a clue to the easiest way to install sqlite3 on a nslu2?

    I think you need to do “ipkg install sqlite2”, plus change your mt-daapd.conf file to say “db_type = sqlite3” and everything works, at least for me.

    I don’t know why 2=3 🙂

    rsl

    #15780

    rpedde
    Participant

    @rsl360 wrote:

    @colincliff wrote:

    ah, a little searching brings up

    ipkg install sqlite3

    🙂

    edit: I have tried this command and there seems to be not ipkg package for sqlite3

    can anyone give me a clue to the easiest way to install sqlite3 on a nslu2?

    I think you need to do “ipkg install sqlite2”, plus change your mt-daapd.conf file to say “db_type = sqlite3” and everything works, at least for me.

    I don’t know why 2=3 🙂

    rsl

    actually, it’s “sqlite”. on the nslu2, sqlite is sqlite3, sqlite2 is sqlite2. Were it me, I would have made “sqlite” sqlite2, and sqlite3 sqlite3, but that’s me… someone had already checked in a 3 package as sqlite when I added sqlite2.

    — Ron

    #15781

    rsl360
    Participant

    @rpedde wrote:

    actually, it’s “sqlite”. on the nslu2, sqlite is sqlite3, sqlite2 is sqlite2. Were it me, I would have made “sqlite” sqlite2,
    and sqlite3 sqlite3, but that’s me… someone had already checked in a 3 package as sqlite when I added sqlite2.

    — Ron

    sheesh, and people wonder why the public has trouble with computers……

    It gets more interesting. There appear to be _two_ packages with the name “sqlite” on the ipkg system (for the NSLU2).
    Both appear to be version 3, but different builds. (and I should have realized the version number was in the description…..)
    This seems bogus to me.
    With my NSLU2 I see:

    bash-3.2# ipkg list | grep lite
    sqlite – 3.5.4-1 – SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    sqlite – 3.4.1-1 –
    sqlite2 – 2.8.16-1 – SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    bash-3.2#
    bash-3.2# ipkg list_installed | grep lite
    sqlite – 3.4.1-1 –
    sqlite2 – 2.8.16-1 – SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    bash-3.2#

    Which version of three did you put up? Or more to the point, which one should we be using, and is it the one I’m running?
    I cannot say how I got my particular versions of sqlite, as at this point I don’t recall if I loaded sqlite myself,
    if it’s part of the basic package, or if it loaded autmagically as part of mt-daapd install.

    Anything I should try?

    rsl

    #15782

    rpedde
    Participant

    @rsl360 wrote:

    @rpedde wrote:

    actually, it’s “sqlite”. on the nslu2, sqlite is sqlite3, sqlite2 is sqlite2. Were it me, I would have made “sqlite” sqlite2,
    and sqlite3 sqlite3, but that’s me… someone had already checked in a 3 package as sqlite when I added sqlite2.

    — Ron

    sheesh, and people wonder why the public has trouble with computers……

    It gets more interesting. There appear to be _two_ packages with the name “sqlite” on the ipkg system (for the NSLU2).
    Both appear to be version 3, but different builds. (and I should have realized the version number was in the description…..)
    This seems bogus to me.
    With my NSLU2 I see:

    bash-3.2# ipkg list | grep lite
    sqlite – 3.5.4-1 – SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    sqlite – 3.4.1-1 –
    sqlite2 – 2.8.16-1 – SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    bash-3.2#
    bash-3.2# ipkg list_installed | grep lite
    sqlite – 3.4.1-1 –
    sqlite2 – 2.8.16-1 – SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    bash-3.2#

    Which version of three did you put up? Or more to the point, which one should we be using, and is it the one I’m running?
    I cannot say how I got my particular versions of sqlite, as at this point I don’t recall if I loaded sqlite myself,
    if it’s part of the basic package, or if it loaded autmagically as part of mt-daapd install.

    Anything I should try?

    rsl[/quote

    Hrm… I’d say whatever one comes down should be okay, but it might be that it won’t link to 3.5. I guess stick with 2. It works okay, so long as you turn off background rescans (scan_interval = 0).

    — Ron

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.