Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manga not updating #125

Open
IsXGeo opened this issue Aug 25, 2023 · 11 comments
Open

Manga not updating #125

IsXGeo opened this issue Aug 25, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@IsXGeo
Copy link

IsXGeo commented Aug 25, 2023

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

@IsXGeo IsXGeo added the bug Something isn't working label Aug 25, 2023
@Captainpax
Copy link

Captainpax commented Aug 25, 2023 via email

@ghost
Copy link

ghost commented Sep 6, 2023

Yeah im having a similar issue, i think i will drop this project and use FMD2, but there seems to be no linux version.

@Captainpax
Copy link

Captainpax commented Sep 6, 2023 via email

@ghost
Copy link

ghost commented Sep 6, 2023

I used this for a while
https://hub.docker.com/r/banhcanh/docker-fmd2

But 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 ?

@Captainpax
Copy link

Captainpax commented Sep 6, 2023 via email

@ghost
Copy link

ghost commented Sep 7, 2023

I found out a way to manually remove the cache and others to make kaizoku work.

@IsXGeo
Copy link
Author

IsXGeo commented Sep 10, 2023

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

@ghost
Copy link

ghost commented Sep 11, 2023

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

@ghost
Copy link

ghost commented Sep 11, 2023

I run this as a crontab with each a 10 minute delay every day at 4am

@notHiks
Copy link

notHiks commented Sep 21, 2023

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 👍

@zbejas
Copy link

zbejas commented Nov 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants