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

Titles are downloaded to the /app/manga folder inside the Kaizoku docker container instead of the mapped data volume #155

Open
gabaldos opened this issue Jan 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@gabaldos
Copy link

Describe the bug

The data folder is mapped to a location in the host machine, and its contents show in the container.
/mnt/user/Media/Books/Manga:/data

However, all downloads are not saved there, but in the /app/manga folder instead (manga is the name of the library).

image

See reddit post for reference:
https://www.reddit.com/r/selfhosted/comments/yazsjw/kaizoku_manga_downloader/ji6eam2/

Reproduction steps

Use the docker compose example from github page.
Bind the /data volume anywhere in the host computer.
Download any manga.
It is kept inside the container, not in the bound folder.

Expected behavior

The manga should be downloaded to the data folder instead

Additional context

No response

@gabaldos gabaldos added the bug Something isn't working label Jan 16, 2024
@Lemonbro
Copy link

Im sorry if this isnt the place to put this and i wouldnt say this is a work around but i found if you use:

docker cp kaizoku:/app/Manga/<Manga_Folder> /host/path/to/destination

It will move it out of the container. I used it to move them out to my external hdd.

@gabaldos
Copy link
Author

Thanks!
Yeah, I can take them out of the container and put them in the right folder, but I'd rather not keep the data inside the container as well, since it becomes bloated after a time.

@OIDAM98
Copy link

OIDAM98 commented Feb 12, 2024

hello, is there any progress with this bug? I'm facing the same issue when using the latest tag in docker.
have binded a folder like the README.md but it defaulted to creating the new library in /app and not /data

@gabaldos
Copy link
Author

I found a workaround.
Instead of using the mount suggested in the docker compose:
/mnt/user/Media/Books/Manga:/data
Map instead to the /app/manga folder (manga is the name of the library I created when starting kaizoku, files are downloaded there. If you use another name, change the mapping accordingly)
/mnt/user/Media/Books/Manga:/app/manga

@ApatheticRiku
Copy link

+1
Followed the workaround above, and it helped, but either the docs or the code needs updating.

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