kaizoku icon indicating copy to clipboard operation
kaizoku copied to clipboard

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

Open gabaldos opened this issue 5 months ago • 5 comments

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 avatar Jan 16 '24 21:01 gabaldos

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.

Lemonbro avatar Jan 18 '24 03:01 Lemonbro

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.

gabaldos avatar Jan 18 '24 08:01 gabaldos

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

OIDAM98 avatar Feb 12 '24 16:02 OIDAM98

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

gabaldos avatar Mar 13 '24 09:03 gabaldos

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

ApatheticRiku avatar Mar 27 '24 02:03 ApatheticRiku