C9Glax / tranga

Docker-Container to monitor (Manga) Scanlation-Sites for download new chapters.
GNU General Public License v3.0
108 stars 10 forks source link

[It broke]: Manganato crash #173

Closed Firehawke closed 1 month ago

Firehawke commented 2 months ago

What is broken?

Queueing Akuyako Ouji no Eiyuutan from Manganato seems to trigger a crash with minimal details on why in the log. This results in the docker container rapidly restarting itself from the crash.

Log-output

[04/23/2024 11:07:57.289]       JobBoss | Already Contains Job Tranga.Jobs.UpdateMetadata-aGFjaGluYW50dGVzb3Jld2FuYWlkZXNob3UyMDE1 Manga: Publication Hachinan tte, Sore wa Nai Deshou! aGFjaGluYW50dGVzb3Jld2FuYWlkZXNob3UyMDE1
[04/23/2024 11:07:57.289]       JobBoss | Adding Job to Queue. Tranga.Jobs.UpdateMetadata-aGFjaGluYW50dGVzb3Jld2FuYWlkZXNob3UyMDE1 Manga: Publication Hachinan tte, Sore wa Nai Deshou! aGFjaGluYW50dGVzb3Jld2FuYWlkZXNob3UyMDE1
[04/23/2024 11:07:57.289]     Manganato | Getting new Chapters for Publication Akuyaku Ouji no Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[04/23/2024 11:07:57.289]     Manganato | Getting chapters Publication Akuyaku Ouji no Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[04/23/2024 11:07:57.289] HttpDownloadC | Waiting 0.4981052 seconds

is one instance. A second instance is...

[04/23/2024 11:08:21.144]     Manganato | Getting new Chapters for Publication Akuyaku Ouji no Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[04/23/2024 11:08:21.144]     Manganato | Getting chapters Publication Akuyaku Ouji no Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[04/23/2024 11:08:21.144] HttpDownloadC | Waiting 0.4960534 seconds

Additional stuff

No response

C9Glax commented 2 months ago

Hmm can't really figure this one out...

[25.04.2024 21:41:08.53 ]     Manganato | Searching Publications. Term="Akuyaku Ouji no Eiyuutan"
[25.04.2024 21:41:08.743]     Manganato | 1 items.
[25.04.2024 21:41:10.137]     Manganato | Saving cover to C:\Users\Glax\AppData\Roaming\tranga-api\imageCache\638496780695308436.jpg
[25.04.2024 21:41:10.142]     Manganato | Retrieved 1 publications. Term="Akuyaku Ouji no Eiyuutan"
[25.04.2024 21:41:11.510]       JobBoss | Added Tranga.Jobs.DownloadNewChapters-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw== Manga: Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:41:11.511]       JobBoss | Exporting Job C:\Users\Glax\AppData\Roaming\tranga-api\jobs\Tranga.Jobs.DownloadNewChapters-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==.json
[25.04.2024 21:41:11.708]       JobBoss | Adding Job to Queue. Tranga.Jobs.DownloadNewChapters-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw== Manga: Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:41:11.748]     Manganato | Getting new Chapters for Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:41:11.749]     Manganato | Getting chapters Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:41:24.234]     Manganato | Got 16 chapters. Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:41:37.723]     Manganato | Checking for duplicates Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:41:48.944]     Manganato | 16 new chapters. Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:41:48.945]     Manganato | Copy cover Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:41:48.946]     Manganato | Cloning cover C:\Users\Glax\AppData\Roaming\tranga-api\imageCache\638496780695308436.jpg -> C:\Users\Glax\RiderProjects\Tranga\Tranga\bin\Debug\net7.0\Downloads\Akuyaku Ouji No Eiyuutan\cover.jpg

It is working for me. Rapid restarts would mean that something is actually crashing, and a stacktrace (that should(?) be printed to the log) would be very helpful.

I see however that the crash is occuring in the update-metadata job, so I will download the manga now, and see what happens.

C9Glax commented 2 months ago

Also are you running on master or cuttingedge?

C9Glax commented 2 months ago

Nope, can not reproduce...

[25.04.2024 21:55:32.820]       JobBoss | Added Tranga.Jobs.UpdateMetadata-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw== Manga: Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:55:32.821]       JobBoss | Exporting Job C:\Users\Glax\AppData\Roaming\tranga-api\jobs\Tranga.Jobs.UpdateMetadata-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==.json
[25.04.2024 21:55:32.904]       JobBoss | Adding Job to Queue. Tranga.Jobs.UpdateMetadata-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw== Manga: Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:55:34.528]     Manganato | Saving cover to C:\Users\Glax\AppData\Roaming\tranga-api\imageCache\638496789342467628.jpg
[25.04.2024 21:55:34.528]     Manganato | Overwriting Manga YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:55:34.529]     Manganato | Copy cover Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:55:34.529]     Manganato | Cover exists Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:55:34.529]       JobBoss | Exporting Job C:\Users\Glax\AppData\Roaming\tranga-api\jobs\Tranga.Jobs.DownloadNewChapters-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==.json
[25.04.2024 21:55:34.530]       JobBoss | Deleting old Job-file Tranga.Jobs.DownloadNewChapters-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:55:34.530]       JobBoss | Exporting Job C:\Users\Glax\AppData\Roaming\tranga-api\jobs\Tranga.Jobs.UpdateMetadata-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==.json
[25.04.2024 21:55:34.642]       JobBoss | Removing Tranga.Jobs.UpdateMetadata-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw== Manga: Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:55:34.642] UpdateMetadat | Cancelling Tranga.Jobs.UpdateMetadata-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw== Manga: Publication Akuyaku Ouji No Eiyuutan YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
[25.04.2024 21:55:34.642]       JobBoss | Deleting Job-file C:\Users\Glax\AppData\Roaming\tranga-api\jobs\Tranga.Jobs.UpdateMetadata-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==.json
[25.04.2024 21:55:34.642]       JobBoss | Next job in 02:46:14.4382482 Tranga.Jobs.DownloadNewChapters-YWt1eWFrdW91amlub2VpeXV1dGFuMjAyMw==
Firehawke commented 2 months ago

Was on cuttingedge. Something went very wrong, and I had to completely remove and reinstall. I'm slowly re-adding the titles little by little to see if I can reproduce what happened.

Firehawke commented 1 month ago

Can't reproduce it since the total reinstall, and I've re-added basically everything that was in there when it broke the first time. I'm just going to close this for now and I'll keep an eye on it; if I get anything substantial, I'll open a new issue at that time.