No. Logs roll over when they hit a certain size regardless, where the oldest is deleted.
@BigWheel I am on QNAP and have exactly the same issue - same firmware versions involved.
I started another thread and @dane22 could not find any issue in my logs.
Hereās that thread:
yep @rossinior , he added your info/logs to the bug report I made. hopefully the devs will be able to see the issue that me and him cannot.
Just for you to know⦠it can happen in ANY of my libraries, no matter if TV show or movie⦠if adding objects to the library. most of the time, stopping the scan in that library manually is enough to be able to successfully scan again.
But sooner or later, it happens again and again and again⦠(for me: each day multiple times)
This happens to me as well after i installed the latest version. Scanning hangs hours and nothing happens until i manually stop it and start again. Plex server running in Docker in Debian 11.
Here are the errors all over the place:
Jan 31, 2022 22:06:19.957 [0x7f717332cb38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:19.991 [0x7f716b244b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:20.002 [0x7f716e341b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:20.092 [0x7f716b0e6b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:20.252 [0x7f716b109b38] WARN - [EventSourceClient/mediaserver] Waited one whole second for a busy database.
Jan 31, 2022 22:06:21.099 [0x7f716b0e6b38] ERROR - Failed to begin transaction (/data/jenkins/server/1582476334/Library/MetadataItemSetting.cpp:91) (tries=2): Cannot begin transaction. database is locked
Jan 31, 2022 22:06:22.181 [0x7f717332cb38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:22.215 [0x7f716b244b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:22.225 [0x7f716e341b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:22.366 [0x7f716b0e6b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:22.475 [0x7f716b109b38] WARN - [EventSourceClient/mediaserver] Waited one whole second for a busy database.
Jan 31, 2022 22:06:23.372 [0x7f716b0e6b38] ERROR - Failed to begin transaction (/data/jenkins/server/1582476334/Library/MetadataItemSetting.cpp:91) (tries=3): Cannot begin transaction. database is locked
Jan 31, 2022 22:06:23.432 [0x7f716e341b38] ERROR - Soci Exception handled: sqlite3_statement_backend::loadOne: database is locked
Jan 31, 2022 22:06:23.432 [0x7f71760feb38] DEBUG - Completed: [172.17.0.1:25040] 500 GET /:/timeline?bufferedTime=230&col=0&context=preplay&duration=2523328&key=%2Flibrary%2Fmetadata%2F432314&location=wan&playQueueItemID=514864&playbackTime=131927&ratingKey=432314&row=0&state=paused&time=131590 (21 live) GZIP 44547ms 405 bytes (pipelined: 1)
Jan 31, 2022 22:06:23.683 [0x7f716b109b38] ERROR - Thread: Uncaught exception running async task which was spawned by thread 0x7f71760dbb38: sqlite3_statement_backend::loadOne: database is locked
Jan 31, 2022 22:06:24.132 [0x7f716c1e2b38] DEBUG - Request: [127.0.0.1:58958 (Loopback)] GET /identity (21 live) Signed-in
Jan 31, 2022 22:06:24.132 [0x7f71760dbb38] DEBUG - Completed: [127.0.0.1:58958] 200 GET /identity (21 live) 0ms 398 bytes (pipelined: 1)
Jan 31, 2022 22:06:24.409 [0x7f717332cb38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:24.439 [0x7f716b244b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:24.640 [0x7f716b0e6b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:25.647 [0x7f716b0e6b38] ERROR - Failed to begin transaction (/data/jenkins/server/1582476334/Library/MetadataItemSetting.cpp:91) (tries=4): Cannot begin transaction. database is locked
Jan 31, 2022 22:06:26.632 [0x7f717332cb38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:26.663 [0x7f716b244b38] WARN - Waited one whole second for a busy database.
Jan 31, 2022 22:06:26.914 [0x7f716b0e6b38] WARN - Waited one whole second for a busy database.
@genericbadboy would you mind sharing your full logs with me so I can add them to bug report. You can message them to me by clicking on my username of you donāt want to post them in this thread
Just updated to latest beta.
Will post if it still hangs
If you have trouble reproducing the issue, just add movies one at a time until it hangs.
Problem has not retired in latest version
Any word if this is still happening on 1.25.5.5492?
It is.
5409 is the latest without the issue.
If anyone has not please provide your server logs after it happens. preferably right after it happens if you notice it.
(you can message to me by clicking on my username/avatar)
Thanks for your helpā¦
Being a glutton for punishment i normally run the beta channel. There have been 2 updates since this problem, and it has not reoccured
OK thanks for letting us know.
What beta version are you on? Are you saying upgrading to the latest beta resolves this?
Latest version in beta is working fine for me. No more hang ups
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.