Manga not updating
IsXGeo opened this issue · 11 comments
Describe the bug
None of the manga I have set to update manage to actually do so.
The logs look as such:
{"level":30,"time":1692977882069,"pid":296,"hostname":"d4681fb29c34","msg":"Get chapters with following command: mangal inline --source Manganato --query \"Magic Emperor\" --manga exact --chapters all -j"} {"level":30,"time":1692977882127,"pid":296,"hostname":"d4681fb29c34","msg":"There are no missing chapter files for Magic Emperor"}
If I run the mangal query on my local machine it returns this:
{"query":"\\Magic Emperor\\","result":[]}
However if I remove the slashes from the query:
mangal inline --source Manganato --query "Magic Emperor" --manga exact --chapters all -j"
It successfully returns a lot of data.
{"query":"Magic Emperor","result":[{"source":"Manganato","mangal":{"name":"Magic Emperor","url":"https://chapmanganato.com/manga-gr983826",
blah blah lots of data
This also seems to extend to removing and re-adding titles. Doing so makes no difference, however I haven't tested deleting all the data and attempting another redownload but that's pretty extreme to do so every time a new chapter is released.
Thanks,
Reproduction steps
No response
Expected behavior
No response
Additional context
No response
Yeah im having a similar issue, i think i will drop this project and use FMD2, but there seems to be no linux version.
I used this for a while
https://hub.docker.com/r/banhcanh/docker-fmd2But it works best on windows. I'm using a VM on my server.
On Tue, Sep 5, 2023, 10:13 PM ElryWeeb @.***> wrote:
Yeah im having a similar issue, i think i will drop this project and use
FMD2, but there seems to be no linux version.—
Reply to this email directly, view it on GitHub
#125 (comment), or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYEYFO7IXZVT2QNWYQ76BSTXZAWA5ANCNFSM6AAAAAA36WJP6Y
.
You are receiving this because you commented.Message ID:
@.***>
Does this also have automated updating / checking for new episodes ?
Also how to set it up seems to be a bit sparse.
Do you have discord ?
I found out a way to manually remove the cache and others to make kaizoku work.
I found out a way to manually remove the cache and others to make kaizoku work.
Mind explaining how? Would love this temp measure also
I found out a way to manually remove the cache and others to make kaizoku work.
Mind explaining how? Would love this temp measure also
docker stop kaizoku kaizoku-db-1 kaizoku-redis-1
rm -rf "$(docker inspect -f '{{ .GraphDriver.Data.UpperDir }}' kaizoku)~/.cache/mangal/" && rm -rf "$(docker inspect -f '{{ .GraphDriver.Data.UpperDir }}' kaizoku)/tmp/rod/user-data/"
docker start kaizoku kaizoku-db-1 kaizoku-redis-1
I run this as a crontab with each a 10 minute delay every day at 4am
is this fix source dependant ? i found two sources that work and thje rest don't
edit: seems to fix evey source that wasn't updating 👍
As @ElryWeeb and @notHiks mentioned, clearing the cache seems to work. I took a similar approach with a bash script, so I could customize it on the fly. Credits for the rm
part @ElryWeeb .
#!/bin/bash
# Editable variables
SLEEP_TIMER=60
DOCKER_LIST=("kaizoku_gluetun" "kaizoku" "kaizoku_redis" "kaizoku_postgres") # kaizoku_gluetun for them IP changes
# Non-editable variables
IFS=' '
DOCKER_LIST_STRING="${DOCKER_LIST[*]}"
# Stopping containers
docker stop $DOCKER_LIST_STRING
sleep $SLEEP_TIMER
# Removing specific directories for kaizoku (mangal cache)
rm -rf "$(docker inspect -f '{{ .GraphDriver.Data.UpperDir }}' kaizoku)/.cache/mangal/" && rm -rf "$(docker inspect -f '{{ .GraphDriver.Data.UpperDir }}' kaizoku)/tmp/rod/user-data/"
sleep $SLEEP_TIMER
# Starting containers
docker start $DOCKER_LIST_STRING
I have tried tinkering with Mangal, specifically with this fork. I managed to build with the modified Dockerfile, but not everything worked.
While new sources did seem to register, nothing seemed to download after adding the manga. I haven't taken the time to go through the entire source to check where it could go wrong.
I have replaced the mangal download if/else in Dockerfile with:
RUN curl -L "https://github.com/Belphemur/mangal/releases/download/v4.6.2/mangal_Linux_x86_64.tar.gz" -o mangal.tar.gz
I wonder if anyone tried something similar and possibly worked it out.