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

    Is there a repair/rebuild option without loosing data?

    Scheduled Pinned Locked Moved
    Technical Help
    3
    5
    204
    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
              • First post
                Last post
              Powered by NodeBB | Contributors