janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
12.5k stars 1.32k forks source link

Calibre-Web has “archived” >1000k books, unprompted. #3101

Open tonystower opened 1 month ago

tonystower commented 1 month ago

Describe the bug/problem

I love Calibre-Web. Thanks so much for putting in so much hard work to make our lives easier.

Over a 1000k books in my calibre library have somehow ended up in the Calibre-Web archive. This happened some months ago during installation and was not at my request.

I cannot find a way to unarchive them en masse.

To Reproduce

Steps to reproduce the behavior:

  1. Go to my archives books section
  2. Find enormous numbers of archived books.

Logfile

I don’t think the logfile shows anything relevant here.

Expected behavior

A way to archive multiple books at a time, through some sort of “select all”.

Environment (please complete the following information):

Additional context None I can think of

OzzieIsaacs commented 1 month ago

There is indeed no option currently. Workaround is to open the app.db file in the calibre-web root folder with a SQLite editor, do a backup of the file before. Search for the ‚archived_book‘ table and delete all entries in this table.

OzzieIsaacs commented 1 month ago

I started working on a feature like this, but got distracted several month ago

tonystower commented 1 month ago

Thank you both for your help. I ended up just clicking through each title…

appreciate all your hard work!

OzzieIsaacs commented 1 month ago

One thing for the reason: I don't think it came out of nowhere. I assume the following story:

This is necessary, because otherwise you would start syncing books of a certain shelf, but all books would stay on the reader. This would lead to the question: "What to do" to remove the books from the reader. Answer: Archive them manually. So the automatic version is the better one, and we need the button unarchive all. There is meanwhile a PR for it on the way: #3113