Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 上传书籍超过两本就会报错,变成一直在处理中我只能重新重启容器 #323

Open
1 task done
AbelKeithsun opened this issue Oct 11, 2024 · 1 comment

Comments

@AbelKeithsun
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

上传书籍超过两本就会报错,变成一直在处理中我只能重新重启容器

Expected Behavior

No response

Steps To Reproduce

  1. 找三本以上书籍上传。
  2. 会一直显示处理中。

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

容器的版本是0.6.23

Container logs

[2024-10-10 23:01:36,048]  INFO {cps.server:218} Starting Gevent server on [::]:8083
[2024-10-10 23:01:52,092]  WARN {py.warnings:109} /app/calibre-web/cps/editbooks.py:1376: SAWarning: Object of type <Books> not in session, add operation along 'Authors.books' won't proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation.)
  db_element = db_session.query(db_object).filter((func.lower(db_filter).ilike(add_element))).all()

[2024-10-10 23:01:52,115]  WARN {py.warnings:109} /app/calibre-web/cps/editbooks.py:1376: SAWarning: Object of type <Books> not in session, add operation along 'Languages.books' won't proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation.)
  db_element = db_session.query(db_object).filter((func.lower(db_filter).ilike(add_element))).all()

[2024-10-10 23:15:24,908]  INFO {cps.helper:978} Downloading file: /books/张磊/湛庐精选大套•高手必备的商业投资与工作生活思考方式 (138)/湛庐精选大套•高手必备的商业 - 张磊.epub
[2024-10-10 23:15:24,987]  INFO {cps.helper:978} Downloading file: /books/张磊/湛庐精选大套•高手必备的商业投资与工作生活思考方式 (138)/湛庐精选大套•高手必备的商业 - 张磊.epub
[2024-10-10 23:15:25,037]  INFO {cps.helper:978} Downloading file: /books/张磊/湛庐精选大套•高手必备的商业投资与工作生活思考方式 (138)/湛庐精选大套•高手必备的商业 - 张磊.epub
[2024-10-10 23:15:43,847]  INFO {cps.helper:978} Downloading file: /books/丹尼尔·科伊尔/像高手一样思维与行动(8册)(让你终生收益的思维模型,像高手一样 (137)/像高手一样思维与行动(8册) - 丹尼尔·科伊尔.epub
[2024-10-10 23:15:43,986]  INFO {cps.helper:978} Downloading file: /books/丹尼尔·科伊尔/像高手一样思维与行动(8册)(让你终生收益的思维模型,像高手一样 (137)/像高手一样思维与行动(8册) - 丹尼尔·科伊尔.epub
[2024-10-10 23:15:44,058]  INFO {cps.helper:978} Downloading file: /books/丹尼尔·科伊尔/像高手一样思维与行动(8册)(让你终生收益的思维模型,像高手一样 (137)/像高手一样思维与行动(8册) - 丹尼尔·科伊尔.epub
[2024-10-11 04:00:00,016]  INFO {apscheduler.executors.default:123} Running job "generate book covers (trigger: cron[hour='4'], next run at: 2024-10-12 04:00:00 CST)" (scheduled at 2024-10-11 04:00:00+08:00)
[2024-10-11 04:00:00,016]  INFO {apscheduler.executors.default:123} Running job "delete superfluous book covers (trigger: cron[hour='4'], next run at: 2024-10-12 04:00:00 CST)" (scheduled at 2024-10-11 04:00:00+08:00)
[2024-10-11 04:00:00,018]  INFO {apscheduler.executors.default:123} Running job "reconnect (trigger: cron[hour='4'], next run at: 2024-10-12 04:00:00 CST)" (scheduled at 2024-10-11 04:00:00+08:00)
[2024-10-11 04:00:00,026]  INFO {apscheduler.executors.default:123} Running job "delete temp (trigger: cron[hour='4'], next run at: 2024-10-12 04:00:00 CST)" (scheduled at 2024-10-11 04:00:00+08:00)
[2024-10-11 04:00:00,042]  INFO {apscheduler.executors.default:144} Job "delete superfluous book covers (trigger: cron[hour='4'], next run at: 2024-10-12 04:00:00 CST)" executed successfully
[2024-10-11 04:00:00,116]  INFO {apscheduler.executors.default:144} Job "reconnect (trigger: cron[hour='4'], next run at: 2024-10-12 04:00:00 CST)" executed successfully
[2024-10-11 04:00:00,118]  INFO {apscheduler.executors.default:144} Job "generate book covers (trigger: cron[hour='4'], next run at: 2024-10-12 04:00:00 CST)" executed successfully
[2024-10-11 04:00:00,124]  INFO {apscheduler.executors.default:144} Job "delete temp (trigger: cron[hour='4'], next run at: 2024-10-12 04:00:00 CST)" executed successfully
[2024-10-11 04:10:00,002]  INFO {apscheduler.executors.default:123} Running job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-10-12 04:10:00 CST)" (scheduled at 2024-10-11 04:10:00+08:00)
[2024-10-11 04:10:00,002]  INFO {apscheduler.executors.default:144} Job "end scheduled task (trigger: cron[hour='4', minute='10'], next run at: 2024-10-12 04:10:00 CST)" executed successfully
[2024-10-11 09:42:37,006]  WARN {cps.config_sql:384} Log path  not valid, falling back to default
[2024-10-11 09:42:37,154]  INFO {cps:175} Starting Calibre Web...
[2024-10-11 09:42:38,572]  WARN {py.warnings:109} /lsiopy/lib/python3.10/site-packages/flask_limiter/extension.py:333: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(

[2024-10-11 09:42:39,359]  INFO {apscheduler.scheduler:181} Scheduler started
[2024-10-11 09:42:39,361]  INFO {apscheduler.scheduler:895} Added job "reconnect" to job store "default"
[2024-10-11 09:42:39,362]  INFO {apscheduler.scheduler:895} Added job "delete temp" to job store "default"
[2024-10-11 09:42:39,363]  INFO {apscheduler.scheduler:895} Added job "delete superfluous book covers" to job store "default"
[2024-10-11 09:42:39,364]  INFO {apscheduler.scheduler:895} Added job "generate book covers" to job store "default"
[2024-10-11 09:42:39,366]  INFO {apscheduler.scheduler:895} Added job "end scheduled task" to job store "default"
[2024-10-11 09:42:39,367]  INFO {apscheduler.scheduler:895} Added job "immediately delete temp" to job store "default"
[2024-10-11 09:42:39,368]  INFO {apscheduler.executors.default:123} Running job "immediately delete temp (trigger: date[2024-10-11 09:42:39 CST], next run at: 2024-10-11 09:42:39 CST)" (scheduled at 2024-10-11 09:42:39.366746+08:00)
[2024-10-11 09:42:39,419]  INFO {apscheduler.scheduler:641} Removed job 99ec98c7855f4ff4a92617c8e3bec7f5
[2024-10-11 09:42:39,425]  INFO {apscheduler.executors.default:144} Job "immediately delete temp (trigger: date[2024-10-11 09:42:39 CST], next run at: 2024-10-11 09:42:39 CST)" executed successfully
[2024-10-11 09:42:41,879]  WARN {py.warnings:109} /lsiopy/lib/python3.10/site-packages/pypdf/_crypt_providers/_cryptography.py:32: CryptographyDeprecationWarning: ARC4 has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from this module in 48.0.0.
  from cryptography.hazmat.primitives.ciphers.algorithms import AES, ARC4

[2024-10-11 09:42:45,002]  INFO {cps.server:218} Starting Gevent server on [::]:8083
[2024-10-11 09:45:07,911]  WARN {py.warnings:109} /app/calibre-web/cps/editbooks.py:1376: SAWarning: Object of type <Books> not in session, add operation along 'Authors.books' won't proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation.)
  db_element = db_session.query(db_object).filter((func.lower(db_filter).ilike(add_element))).all()

[2024-10-11 09:45:07,919]  WARN {py.warnings:109} /app/calibre-web/cps/editbooks.py:1376: SAWarning: Object of type <Books> not in session, add operation along 'Languages.books' won't proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation.)
  db_element = db_session.query(db_object).filter((func.lower(db_filter).ilike(add_element))).all()

[2024-10-11 09:45:08,349] ERROR {cps.editbooks:304} Database error: UPDATE statement on table 'books' expected to update 1 row(s); 0 were matched.
[2024-10-11 10:03:23,575]  WARN {py.warnings:109} /app/calibre-web/cps/editbooks.py:1376: SAWarning: Object of type <Books> not in session, add operation along 'Tags.books' won't proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation.)
  db_element = db_session.query(db_object).filter((func.lower(db_filter).ilike(add_element))).all()

[2024-10-11 10:10:39,469]  WARN {cps.config_sql:384} Log path  not valid, falling back to default
[2024-10-11 10:10:39,587]  INFO {cps:175} Starting Calibre Web...
[2024-10-11 10:10:40,819]  WARN {py.warnings:109} /lsiopy/lib/python3.10/site-packages/flask_limiter/extension.py:333: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

2 participants