Suwayomi / Suwayomi-Server

A rewrite of Tachiyomi for the Desktop
Mozilla Public License 2.0
3.95k stars 201 forks source link

[Feature Request]Add Upload Files on WebUI #1010

Open TPAXcc opened 3 weeks ago

TPAXcc commented 3 weeks ago

What feature should be added to Suwayomi?

Uploading comic files directly through the web UI

Why/Project's Benefit/Existing Problem

After installing Suwayomi-docker with Podman and enabling Usermode Network in Podman Desktop, you may find that the podman cp command does not work for transferring files into the container. The only practical solution available might be to directly upload manga files through the web UI.

Additionally, this feature should not only be able to transfer manga to a Local source, because Tachyomi's backup files do not support directly backing up downloaded manga (regardless of which source they were downloaded from).

Robonau commented 3 weeks ago

is there a reason you can use a mounted path for the local folder and downlaods folder

TPAXcc commented 3 weeks ago

is there a reason you can use a mounted path for the local folder and downlaods folder

The podman cp command is useful for copying files between the host and containers, but it doesn't work in my setup. I need to migrate manga files from my old local source to Suwayomi-Docker. Using a mounted path is necessary because the Podman container user is different from the default WSL user, making file transfers challenging. But during testing, I noticed that the Suwayomi-Docker container does not mount Windows storage to /mnt, leaving it empty.

Robonau commented 3 weeks ago

can u not change the user/group in podman? like in docker compose you would do

services:
  suwayomi:
    image: ...
    user: 99:100
    ...

(99:100 is for unraid, idk what wsl is) in the regular docker cli u would just add --user 99:100

as for what and where it mounts Windows storage thats something you do, not what the Suwayomi-Docker container does by itself