janeczku / calibre-web

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

Clicking "Books" results in different books listed for different users #3028

Closed Irv007 closed 3 months ago

Irv007 commented 3 months ago

Description:

My calibre-web has two users: (1) admin and (2) Maria.

If I login as "admin" and click "Books", the books listed look fine. If I login as "Maria" and click "Books", the books listed are different the the books listed as "admin". Seems, that a lot of books added recently are not listed. URL says https://xbuch.eu/?data=root&sort_param=stored in both cases

To Reproduce

Steps to reproduce the behavior:

  1. Login as User admin and click "Books"
  2. Login as User Maria and click "Books"
  3. Listed books are not the same

Logfile

[2024-03-30 16:28:53,306] DEBUG {cps.ub:81} Login and store session : f2d597f888903ac5c71060c716287669b882be9a67a6cf87a132eeec80edd2bbbf6a34298219e1ade0de1b5ef8fce6244dd83a0f11871bfb87e350a8754d514a [2024-03-30 16:28:53,313] DEBUG {cps.ub:83} Found stored session: f2d597f888903ac5c71060c716287669b882be9a67a6cf87a132eeec80edd2bbbf6a34298219e1ade0de1b5ef8fce6244dd83a0f11871bfb87e350a8754d514a [2024-03-30 16:28:53,317] DEBUG {cps.web:1326} You are now logged in as: 'Maria' [2024-03-30 16:29:41,681] DEBUG {cps.ub:93} Deleted session_key: f2d597f888903ac5c71060c716287669b882be9a67a6cf87a132eeec80edd2bbbf6a34298219e1ade0de1b5ef8fce6244dd83a0f11871bfb87e350a8754d514a [2024-03-30 16:29:41,691] DEBUG {cps.web:1353} User logged out [2024-03-30 16:29:53,640] DEBUG {cps.ub:81} Login and store session : f2d597f888903ac5c71060c716287669b882be9a67a6cf87a132eeec80edd2bbbf6a34298219e1ade0de1b5ef8fce6244dd83a0f11871bfb87e350a8754d514a [2024-03-30 16:29:53,642] DEBUG {cps.ub:83} Found stored session: f2d597f888903ac5c71060c716287669b882be9a67a6cf87a132eeec80edd2bbbf6a34298219e1ade0de1b5ef8fce6244dd83a0f11871bfb87e350a8754d514a [2024-03-30 16:29:53,643] DEBUG {cps.web:1326} You are now logged in as: 'admin' [2024-03-30 16:30:12,734] DEBUG {cps.ub:93} Deleted session_key: f2d597f888903ac5c71060c716287669b882be9a67a6cf87a132eeec80edd2bbbf6a34298219e1ade0de1b5ef8fce6244dd83a0f11871bfb87e350a8754d514a [2024-03-30 16:30:12,743] DEBUG {cps.web:1353} User logged out [2024-03-30 16:30:21,871] DEBUG {cps.ub:81} Login and store session : f2d597f888903ac5c71060c716287669b882be9a67a6cf87a132eeec80edd2bbbf6a34298219e1ade0de1b5ef8fce6244dd83a0f11871bfb87e350a8754d514a [2024-03-30 16:30:21,874] DEBUG {cps.ub:83} Found stored session: f2d597f888903ac5c71060c716287669b882be9a67a6cf87a132eeec80edd2bbbf6a34298219e1ade0de1b5ef8fce6244dd83a0f11871bfb87e350a8754d514a [2024-03-30 16:30:21,875] DEBUG {cps.web:1326} You are now logged in as: 'Maria' [2024-03-30 16:52:21,598] DEBUG {cps.ub:81} Login and store session : ef11d1471c706ff032d6ab186d35821f0082c5896b3fe3deeb56e5b7e1a41e10ba1e86ab78cfbaea9af4150332d490a4f95a76d7179720564929b7b2581a6463 [2024-03-30 16:52:21,601] DEBUG {cps.ub:83} Found stored session: ef11d1471c706ff032d6ab186d35821f0082c5896b3fe3deeb56e5b7e1a41e10ba1e86ab78cfbaea9af4150332d490a4f95a76d7179720564929b7b2581a6463 [2024-03-30 16:52:21,602] DEBUG {cps.web:1326} You are now logged in as: 'Maria' [2024-03-30 16:55:17,901] DEBUG {cps.web:1408} Profile updated [2024-03-30 16:55:37,040] DEBUG {cps.web:1408} Profile updated [2024-03-30 16:55:40,238] DEBUG {cps.updater:329} Stable version: {'version': '0.6.19'} [2024-03-30 16:55:47,123] INFO {cps.admin:1468} Update status requested [2024-03-30 16:55:47,123] DEBUG {cps.updater:329} Stable version: {'version': '0.6.19'} [2024-03-30 16:55:47,505] DEBUG {cps.updater:633} Updater status: OK [2024-03-30 17:05:05,973] DEBUG {cps.updater:329} Stable version: {'version': '0.6.19'} [2024-03-30 17:05:40,708] DEBUG {cps.updater:329} Stable version: {'version': '0.6.19'}

Expected behavior

The book display if clicking "Books" is the same list for every user.

Screenshots

books_as_user_admin books_as_user_Maria

Environment:

Irv007 commented 3 months ago

Oh my god ... the sort order was diffent for the two users.

Problem "solved". Problem was sitting in front of the computer.