- ug-videokeeper-sync | 2026-07-23 20:14:53 [INFO] ug-videokeeper 启动,扫描间隔: 3600 秒
- ug-videokeeper-sync | 2026-07-23 20:14:53 [WARNING] 无有效监控目录,Watchdog 未启动
- ug-videokeeper-sync | 2026-07-23 20:14:53 [INFO] ======== 同步开始 ========
- ug-videokeeper-sync | 2026-07-23 20:14:54 [ERROR] 同步失败: null value in column "old_category_id" of rel
- ation "ug_television_episode" violates not-null constraint
- ug-videokeeper-sync | DETAIL: Failing row contains (13391, c15dca181d1c80a50d70f3dee463b962, null, 1, 1, zh-CN, A, A, https://scraper.ugnas.com/images/1/kkZMKNZkHrqvyQTIuaowi2mbyfa_q..., c0f033561f12c439e0d57e4fdc338cc5, 1784808505, 1784808505, 1).
- ug-videokeeper-sync | Traceback (most recent call last):
- ug-videokeeper-sync | File "/app/scheduler.py", line 70, in _do_sync
- ug-videokeeper-sync | run_sync()
- ug-videokeeper-sync | File "/app/sync/executor.py", line 51, in run_sync
- ug-videokeeper-sync | _process_tv(conn, fr, folder, cache, stats)
- ug-videokeeper-sync | File "/app/sync/executor.py", line 229, in _process_tv
- ug-videokeeper-sync | _restore_tv_from_ugreen(conn, ug, folder)
- ug-videokeeper-sync | File "/app/sync/executor.py", line 243, in _res
- tore_tv_from_ugreen
- ug-videokeeper-sync | db_sync._update_episodes(conn, ug.category_id, ug.episodes)
- ug-videokeeper-sync | File "/app/db/sync.py", line 62, in _update_episodes
- ug-videokeeper-sync | cur.execute(
- ug-videokeeper-sync | psycopg2.errors.NotNullViolation: null value in column "old_category_id" of relation "ug_television_episode" violates not-null constraint
复制代码
还是在报错 |