Closed Hooteo closed 6 hours ago
The logs are in loop. Sometimes when it restarts by itself I can access the web page and the only manga I can see is bleach and all the other ones disappeared. If I try to delete bleach the container crash.
Can you pull cuttingedge
again when this build is done: https://github.com/C9Glax/tranga/actions/runs/12166427356
And post the Exception again?
Looks like there is an issue with parsing Volume/Chapter-numbers from the webpage...
This with image glax/tranga-api:cuttingedge:
[12/04/2024 19:42:43.888] JobBoss | Adding Tranga.Jobs.DownloadNewChapters-638689300428106085.json
[12/04/2024 19:42:43.928] JobBoss | Adding Job Tranga.Jobs.DownloadNewChapters-638689381639255827 Manga: Publication Bleach 638689381639255827
[12/04/2024 19:42:43.929] JobBoss | Added Tranga.Jobs.DownloadNewChapters-638689381639255827 Manga: Publication Bleach 638689381639255827
[12/04/2024 19:42:43.929] JobBoss | Exporting Job /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadNewChapters-638689381639255827.json
[12/04/2024 19:42:43.956] JobBoss | Adding Tranga.Jobs.DownloadNewChapters-638689381007051118.json
[12/04/2024 19:42:43.957] JobBoss | Adding Job Tranga.Jobs.DownloadNewChapters-638689381639572411 Manga: Publication Bleach 638689381639572411
[12/04/2024 19:42:43.958] JobBoss | Already Contains Job Tranga.Jobs.DownloadNewChapters-638689381639572411 Manga: Publication Bleach 638689381639572411
[12/04/2024 19:42:43.958] JobBoss | Duplicate detected or otherwise not able to add job to list.
Moved job Tranga.Jobs.DownloadNewChapters-638689381639572411 Manga: Publication Bleach 638689381639572411 to /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadNewChapters-638689381007051118.json.duplicate
[12/04/2024 19:42:43.958] JobBoss | Adding Tranga.Jobs.DownloadChapter-638689277731929076-124.json
[12/04/2024 19:42:43.963] JobBoss | Adding Job Tranga.Jobs.DownloadChapter-638689381639594655-124 Chapter: Chapter Fairy Tail 638689381639594655 124
[12/04/2024 19:42:43.963] JobBoss | Added Tranga.Jobs.DownloadChapter-638689381639594655-124 Chapter: Chapter Fairy Tail 638689381639594655 124
[12/04/2024 19:42:43.963] JobBoss | Exporting Job /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadChapter-638689381639594655-124.json
[12/04/2024 19:42:43.966] JobBoss | Loading Job Tranga.Jobs.DownloadNewChapters-638689381639255827 Manga: Publication Bleach 638689381639255827
[12/04/2024 19:42:43.967] JobBoss | Loading Job Tranga.Jobs.DownloadChapter-638689381639594655-124 Chapter: Chapter Fairy Tail 638689381639594655 124
[12/04/2024 19:42:43.970] JobBoss | Next job in -20061.19:42:43.9694668 Tranga.Jobs.DownloadChapter-638689381639594655-124
[12/04/2024 19:42:43.973] JobBoss | Adding Job to Queue. Tranga.Jobs.DownloadChapter-638689381639594655-124 Chapter: Chapter Fairy Tail 638689381639594655 124
[12/04/2024 19:42:43.983] Mangaworld | Copy cover Publication Fairy Tail 638689381639594655
[12/04/2024 19:42:43.985] JobBoss | Deleting Job-file /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadChapter-638689381639594655-124.json
[12/04/2024 19:42:43.985] JobBoss | Exporting Job /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadChapter-638689381639594655-124.json
[12/04/2024 19:42:43.986] Tranga | {
"downloadLocation": "/Manga",
"workingDirectory": "/usr/share/tranga-api",
"apiPortNumber": 6531,
"userAgent": "Tranga (Unix; x64) / 1.0",
"aprilFoolsMode": true,
"version": 2,
"requestLimits": {
"MangaInfo": 250,
"MangaDexFeed": 250,
"MangaDexImage": 40,
"MangaImage": 60,
"MangaCover": 250,
"Default": 60
},
"bufferLibraryUpdates": false,
"bufferNotifications": false
}
[12/04/2024 19:42:43.991] Server | Listening on http://*:6531/
[12/04/2024 19:42:44.13 ] Mangaworld | Cover exists Publication Fairy Tail 638689381639594655
[12/04/2024 19:42:44.13 ] Mangaworld | Retrieving chapter-info Chapter Fairy Tail 638689381639594655 124 Publication Fairy Tail 638689381639594655
[12/04/2024 19:42:44.86 ] JobBoss | Adding Job to Queue. Tranga.Jobs.DownloadNewChapters-638689381639255827 Manga: Publication Bleach 638689381639255827
Okay, so far no issue?
I still had the issue but now i created again the persistent volume for tranga-api and readded all the mangas. This time with cuttingedge is working and downloading missing episodes. Can I keep this image? What's the difference with the latest image?
https://github.com/C9Glax/tranga/commit/85d7c07b13943d94dfe3903faaaf75b6f365cfc7 This is the only difference. With the next PR it will be the same again :)
What is broken?
Today I changed the config in portainer, i created a volume pointing to cifs folder and from that moment tranga is unusable. From web side there is a loop loading API screen and in settings nothing is set. This doesn’t happens everytime and after rebooting the container sometimes the settings are configured but in the manga list only bleach is shown. The permission is ok because i logged in the api container and with the command touch i can create files inside manga repository and the path logs has new info. Attaching logs.
Log-output
Additional stuff
I tried to recreate the container from zero