• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Is there a repair/rebuild option without loosing data?

    Scheduled Pinned Locked Moved Technical Help
    5 Posts 3 Posters 881 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marneuM
      marneu
      last edited by marneu

      After updating to 1.1.3 (bookworm) an error is shown and can be reproduced using:

      sqlite3 ~/.local/share/strawberry/strawberry/strawberry.db "pragma integrity_check"
      

      results in:

      row 64934 missing from index idx_url
      row 64943 missing from index idx_url

      I do not want to delete it as there are some really nice playlists and other stuff maintained over the years.

      btw: This might be an option/feature request in tools "repair db"

      T jonasJ 2 Replies Last reply
      Reply Quote 1
      • T
        trincowski @marneu
        last edited by

        @marneu You don't use Timeshift?
        Is the "strawberry.db.bak" also corrupt?

        marneuM 1 Reply Last reply
        Reply Quote 0
        • jonasJ
          jonas @marneu
          last edited by

          @marneu said in Is there a repair/rebuild option without loosing data?:

          sqlite3 ~/.local/share/strawberry/strawberry/strawberry.db "

          Try:

          sqlite3 ~/.local/share/strawberry/strawberry/strawberry.db "REINDEX idx_url"
          
          marneuM 1 Reply Last reply
          Reply Quote 0
          • marneuM
            marneu @jonas
            last edited by marneu

            @jonas said in Is there a repair/rebuild option without loosing data?:

            sqlite3 ~/.local/share/strawberry/strawberry/strawberry.db "REINDEX idx_url"

            Great, that did the trick. Error message is gone. Thanks.

            1 Reply Last reply
            Reply Quote 2
            • marneuM
              marneu @trincowski
              last edited by marneu

              @trincowski Yes I do (now 😊 )

              1 Reply Last reply
              Reply Quote 1

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Powered by NodeBB | Contributors