You are here: Home » Topic » How to rollback

How to rollback

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

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2029

    Anonymous

    1696 is crashing on my NSLU2 during scan when I use M3U playlists. How do I rollback to 1586? I have tried every ipkg option with no luck and have searched the forum. I keep getting an ipkg message to the effect that svn-1696-1 is installed and there is no action to take. Thanks.

    #15196

    Anonymous

    This is what I’ve tried so far to rollback….

    # ipkg remove mt-daapd_svn-1696-1_armeb.ipk
    No packages removed.
    Nothing to be done
    # ipkg install -force-overwrite /tmp/mt-daapd_svn-1586-1_armeb.ipk
    Package mt-daapd (svn-1696-1) installed in root is up to date.
    Nothing to be done
    # ipkg remove svn-1696-1
    No packages removed.
    Nothing to be done
    # ipkg -force-downgrade install mt-daapd_svn-1586-1_armeb.ipk
    Package mt-daapd (svn-1696-1) installed in root is up to date.
    Nothing to be done
    # ipkg -force-overwrite install mt-daapd_svn-1586-1_armeb.ipk
    Package mt-daapd (svn-1696-1) installed in root is up to date.
    Nothing to be done
    #

    #15197

    fizze
    Participant

    -force-depends is your friend.

    #15198

    Anonymous

    Thanks, fizze, but same result:

    # ipkg install -force-depends /tmp/mt-daapd_svn-1586-1_armeb.ipk
    Package mt-daapd (svn-1696-1) installed in root is up to date.
    Nothing to be done
    #

    #15199

    fizze
    Participant

    Weird. Well, ipkg is really icky at times.
    Time to teach it a lesson!

    Cd to /tmp/ first!

    Do this to uncompress the contents of the ipk:

    tar -xvzf /tmp/mt-daapd_svn-1586-1_armeb.ipk 

    You’ll get a file called data.tar.gz and one called conf.tar.gz

    Untar the data.tgz again:

    tar xvzf /tmp/data.tar.gz

    Then you find the mt-daapd binary in /tmp/opt/bin.
    Make sure your mt-daapd is stopped, and then just overwrite the mt-daapd with this _stable_ one.

    #15200

    rpedde
    Participant

    @fizze wrote:

    Weird. Well, ipkg is really icky at times.
    Time to teach it a lesson!

    Cd to /tmp/ first!

    Do this to uncompress the contents of the ipk:

    tar -xvzf /tmp/mt-daapd_svn-1586-1_armeb.ipk 

    You’ll get a file called data.tar.gz and one called conf.tar.gz

    Untar the data.tgz again:

    tar xvzf /tmp/data.tar.gz

    Then you find the mt-daapd binary in /tmp/opt/bin.
    Make sure your mt-daapd is stopped, and then just overwrite the mt-daapd with this _stable_ one.

    Yeah, I noticed that too — downgrading has been broken for a while. An ipkg bug.

    I moved my repo config out of /etc/ipkg.d, ipkg update and ipkg install from local file.

    Stupid, but there it is until they fix ipkg.

    – Ron

    #15201

    Anonymous

    Then you find the mt-daapd binary in /tmp/opt/bin.
    Make sure your mt-daapd is stopped, and then just overwrite the mt-daapd with this _stable_ one.

    Must be more to it than that, I now get the following when I start:

    2007-12-22 17:43:41 (00000400): Firefly Version svn-1586: Starting with debuglevel 2
    2007-12-22 17:43:41 (00000400): Error loading plugin /opt/share/mt-daapd/plugins/rsp.so: /opt/share/mt-daapd/plugins/rsp.so: undefined symbol: pi_db_enum_dispose
    2007-12-22 17:43:41 (00000400): Error loading plugin /opt/share/mt-daapd/plugins/out-daap.so: /opt/share/mt-daapd/plugins/out-daap.so: undefined symbol: pi_db_enum_dispose
    2007-12-22 17:43:41 (00000400): Error loading plugin /opt/share/mt-daapd/plugins/ssc-script.so: /opt/share/mt-daapd/plugins/ssc-script.so: undefined symbol: pi_log
    2007-12-22 17:43:41 (00000400): Warning: Could not load plugins

    The server comes up, but my ROKU can’t find it…
    What all else needs to be copied?

    -Scott

    #15202

    Anonymous

    OK, so I copied the plugins and mt-daapd-ssc.sh back and things seem to be normal again, at least as far as the ROKU is concerned. I then tried to connect from iTunes on one of my Win boxes (something I rarely do, so this may have been broken for some time and not related to the upgrade/rollback) and it just hangs. Looking in the log file I find:

    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songalbumartist
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songcategory
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songextradata
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songcontentdescription
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songlongcontentdescription
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songkeywords
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.is-podcast
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.mediakind
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.series-name
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.network-name
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.episode-num-str
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.episode-sort
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.season-num
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songgapless
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-enc-del
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-heur
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-enc-dr
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-dur
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-resy
    2007-12-22 19:00:24 (00017c03): Unknown meta code: com.apple.itunes.is-podcast-playlist
    2007-12-22 19:00:24 (00017c03): Unknown meta code: com.apple.itunes.special-playlist

    Is this a known bug, or do I still have things screwed up?

    -Scott

    #15203

    rpedde
    Participant

    @scurrie wrote:

    OK, so I copied the plugins and mt-daapd-ssc.sh back and things seem to be normal again, at least as far as the ROKU is concerned. I then tried to connect from iTunes on one of my Win boxes (something I rarely do, so this may have been broken for some time and not related to the upgrade/rollback) and it just hangs. Looking in the log file I find:

    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songalbumartist
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songcategory
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songextradata
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songcontentdescription
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songlongcontentdescription
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songkeywords
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.is-podcast
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.mediakind
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.series-name
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.network-name
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.episode-num-str
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.episode-sort
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.season-num
    2007-12-22 19:00:15 (00017c03): Unknown meta code: daap.songgapless
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-enc-del
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-heur
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-enc-dr
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-dur
    2007-12-22 19:00:15 (00017c03): Unknown meta code: com.apple.itunes.gapless-resy
    2007-12-22 19:00:24 (00017c03): Unknown meta code: com.apple.itunes.is-podcast-playlist
    2007-12-22 19:00:24 (00017c03): Unknown meta code: com.apple.itunes.special-playlist

    Is this a known bug, or do I still have things screwed up?

    -Scott

    The library thing happened because the location the plugins are stored changed between some versions. They are now in /opt/lib/mt-daapd, I believe, whereas before they were in /opt/share/mt-daapd/plugins.

    It’s possible you moved back down to the point where the plugins weren’t in the same place anymore.

    As far as the meta codes, those are just reminders to me that I’m not emulating iTunes as well as I might, and that I should work on getting that metadata from aac files.

    Not a big deal, iTunes happily ignores it if the daap server doesn’t support that metadata.

    — Ron

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

You must be logged in to reply to this topic.