Hi there,
I connected an external HDD and mounted it on mnt/ext and then created a few folders on Windows using Samba. My samba conf looks like this for this:
[External Drive]
path = /mnt/ext
browseable = yes
writeable=Yes
create mask=0777
directory mask=0777
public=yes
I have Qbittorrent installed and I forwarded its port on my router settings on my Dietpi local IP.
As I have already created a Downloads folder, I set qbittorrent download folder to mnt/ext/Downloads
However, as soon as I add a new torrent, it mght connect to 1 or 2 peers and then everything drops to 0 and the torrent gets stalled. Am I missing something?
I searched on the forum and found this topic, which describes the same situation I´m having: viewtopic.php?t=6902
Thanks!
Qbittorrent and stalled downloads Topic is solved
Re: Qbittorrent and stalled downloads
Hi,
did you tried changing download directory to some other place like /mnt/dietpi_userdata/downloads to rule out issues with the external device.
did you tried changing download directory to some other place like /mnt/dietpi_userdata/downloads to rule out issues with the external device.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Qbittorrent and stalled downloads
Yep, with a local location like that one it works. But not with the external drive. On the bottom of qBitorrent where it says the drive capacity it says "unknown", so a connection with it between qBitorrent and the external drive is not being established I guess.
Re: Qbittorrent and stalled downloads
Just solved it by chmoding 777 the folder!
Re: Qbittorrent and stalled downloads
what file system format you are using on your disk? ext4? You would need to ensure write permission of Qbittorrent user. Yes 777 is an option but not really secure 

Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Qbittorrent and stalled downloads
Hi Joulinar, thanks for your asnwer.
I´m indeed using EXT4 on my external drive, but not sure what you say I should do instead of the chmod 777.
Thanks
I´m indeed using EXT4 on my external drive, but not sure what you say I should do instead of the chmod 777.
Thanks
Re: Qbittorrent and stalled downloads
can you provide following
Code: Select all
ls -la /mnt/ext/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Qbittorrent and stalled downloads
Sure, here you go:
total 44
drwxrwxr-x 8 root users 4096 Dec 17 01:57 .
drwxr-xr-x 7 root root 4096 Dec 16 21:25 ..
drwxrwxr-x 2 root users 4096 Dec 17 01:08 Backups
drwxrwxrwx 4 root users 4096 Dec 17 19:42 Downloads
drwxrwxr-x 2 root users 4096 Dec 17 01:08 Movies
drwxrwxr-x 2 root users 4096 Dec 17 01:07 Pictures
drwxrwxr-x 2 root users 4096 Dec 17 01:08 TV
drwxrwxr-x 2 root users 16384 Dec 16 17:21 lost+found
total 44
drwxrwxr-x 8 root users 4096 Dec 17 01:57 .
drwxr-xr-x 7 root root 4096 Dec 16 21:25 ..
drwxrwxr-x 2 root users 4096 Dec 17 01:08 Backups
drwxrwxrwx 4 root users 4096 Dec 17 19:42 Downloads
drwxrwxr-x 2 root users 4096 Dec 17 01:08 Movies
drwxrwxr-x 2 root users 4096 Dec 17 01:07 Pictures
drwxrwxr-x 2 root users 4096 Dec 17 01:08 TV
drwxrwxr-x 2 root users 16384 Dec 16 17:21 lost+found
Re: Qbittorrent and stalled downloads
ok all files and directories are owned by user root and group user. For sure Qbittorrent is not able to write to your disk. You could change group ownership to group dietpi and ensure that Qbittorrent is part of this group.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Qbittorrent and stalled downloads
Thank you, I´ll see if I can find on Google how to change group ownership and add qBitorrent to that group.
Regards!
Regards!