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?
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.
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
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.
usually it’s not needed to change qbittorrent.service. It’s totally fine to have it running as user qbittorrent. Important thing is to have user qbittorrent being a member of user group dietpi. This can be checked as follow