qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.64k stars 4.01k forks source link

Files not downloading to SMB drive. #20929

Open BugZappa opened 5 months ago

BugZappa commented 5 months ago

qBittorrent & operating system versions

qBittorrent: v4.6.5 (64-bit) Operating System: Debian 12 (Bookworm) Qt: 5.15.10 LibTorrent: 1.2.19.0

What is the problem?

My SMB server which my raspberry pi hosts is mapped to my Laptop, both devices run Debian 12, i can access my SMB server no problem using the GNOME gui on my laptop and can modify files as needed with no issues. I recently installed qBit and downloaded a file to my SMB server however, the file isn’t there even though qBit is claiming it is complete.

I’ve tried different download locations on the SMB server but have had no luck.

Steps to reproduce

1) Download & Install qBittorrent 2) Modify qBittorrent preferences and point the default install path to a samba drive / network drive 3) Download a file to samba drive

Additional context

When i right click the completed file on qBittorrent and click on “Open Destination Folder” it does not open anything When i right click on the completed file on qBittorrent and click on “Select location…” and specify another path on the Samba drive the program soft-locks and has to be killed to operate the GUI again

The path qBittorrent sees for my drive is: : /run/user/1000/gvfs/smb-share:server=192.168.1.14,share=homes/media/usb/main

Edit:

When i right click on the completed file on qBittorrent and click on “Select location…” and move the destination folder to a local path (/home/username/Downloads/Test) i am able to access the file and manually move it to my SMB server.

Should also mention that i experience no issues like this on the Windows version of qBittorrent, downloading straight to the SMB drive is quite seamless.

Log(s) & preferences file(s)

No response

chruez commented 4 months ago

i can only imagine that you do not have the correct permission set if you check the permissions ls -l /homes/media/usb/main is the owner the user you are running the service with? with this command you can change the ownership of the folder including subdirectories sudo chown -R new_owner:new_group /homes/media/usb/main

BugZappa commented 4 months ago

i can only imagine that you do not have the correct permission set

is the owner the user you are running the service with?

Wow i posted this well over a month ago aha, to answer your questions. Yes i did have ownership of the directory path & rwx permissions however, since i posted this so long ago i found a docker image for qbit so instead of running qbit on my laptop and having to SMB to my raspberry pi i just access the files locally now a manage via my web browser.