# Cannot download files via torrent client to exfat external hddisk

**URL:** <https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499>\
**Category:** Troubleshooting\
**Created:** [29 July 2023 14:33 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499 "2023-07-29T14:33:55Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![shlatchz](https://dietpi.com/forum/user_avatar/dietpi.com/shlatchz/32/4421_2.png) [@shlatchz](https://dietpi.com/forum/u/shlatchz)\
**Post date:** [29 July 2023 14:33 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/1 "2023-07-29T14:33:56Z")

</div>

### Creating a bug report/issue

#### Required Information

- DietPi version | `cat /boot/dietpi/.version`

G\_DIETPI\_VERSION\_CORE=8  
G\_DIETPI\_VERSION\_SUB=19  
G\_DIETPI\_VERSION\_RC=1  
G\_GITBRANCH=‘master’  
G\_GITOWNER=‘MichaIng’  
G\_LIVE\_PATCH\_STATUS[0]=‘applied’  
G\_LIVE\_PATCH\_STATUS[1]=‘applied’  
G\_LIVE\_PATCH\_STATUS[2]=‘not applicable’

- Distro version | `echo $G_DISTRO_NAME $G_RASPBIAN`  
bookworm
- Kernel version | `uname -a`  
Linux DietPi 6.1.0-10-amd64 #1 SMP PREEMPT\_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86\_64 GNU/Linux
- Architecture | `dpkg --print-architecture`  
amd64
- SBC model | `echo $G_HW_MODEL_NAME` or (EG: RPi3)  
Native PC (x86\_64)
- Power supply used | (EG: 5V 1A RAVpower)
- SD card used | (EG: SanDisk ultra)

#### Additional Information (if applicable)

- Software title | (EG: Nextcloud)
- Was the software title installed freshly or updated/migrated?
- Can this issue be replicated on a fresh installation of DietPi?  
3b0cd5c5-8000-40c6-ac83-14972cc6877b
- Bug report ID | `echo $G_HW_UUID`

#### Steps to reproduce

#### Expected behaviour

#### Actual behaviour

Hi,  
I have an exfat external HD, and for the past 6 months I haven’t been able to download torrents that are written to it.  
It is shown by the drive manager under PIHDD  
I can browse it and all

 ![image](https://dietpi.com/forum/uploads/default/original/2X/8/82d1fac9941642f9bac0ba2d4981bf2a7a659d40.png)  
I switched from deluge to qbittorrent and it didn’t help  
When I change location to local storage, it works.. I assume it’s a permission issue.

please help me fix it!

Thanks!

#### Extra details

- …

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [29 July 2023 14:37 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/2 "2023-07-29T14:37:47Z")

</div>

> [@shlatchz](#):
>
> I have an exfat external HD

`exfat` is not supporting Linux file system permission at all. You should think of a different file system format.

---

<div class="post-metadata">

**Author:** ![shlatchz](https://dietpi.com/forum/user_avatar/dietpi.com/shlatchz/32/4421_2.png) [@shlatchz](https://dietpi.com/forum/u/shlatchz)\
**Post date:** [29 July 2023 14:41 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/3 "2023-07-29T14:41:46Z")

</div>

But… it worked before

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [29 July 2023 14:55 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/4 "2023-07-29T14:55:39Z")

</div>

> [@shlatchz](#):
>
> past 6 months I haven’t been able to download torrents

Means you are _ **not** _ able to download stuff for 6 month now? Or was this a misunderstanding?

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [29 July 2023 17:30 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/5 "2023-07-29T17:30:58Z")

</div>

Actually we mount exFAT filesystems by default as `dietpi` group with R/W permissions, so the BitTorrent software installed via `dietpi-software` should be able to download there. If you installed it manually, run it as `dietpi` user or add the run user to the `dietpi` group.

---

<div class="post-metadata">

**Author:** ![shlatchz](https://dietpi.com/forum/user_avatar/dietpi.com/shlatchz/32/4421_2.png) [@shlatchz](https://dietpi.com/forum/u/shlatchz)\
**Post date:** [29 July 2023 19:01 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/6 "2023-07-29T19:01:38Z")

</div>

actually looks like it’s not connected to permissions…  
after reinstalling qbittorrent and setting the path to the exfat drive, it started to work  
then after a while, it stopped.  
and no logs no nothing.  
frustrating ☹

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [29 July 2023 23:29 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/7 "2023-07-29T23:29:22Z")

</div>

It might be anecdotal but I had many problems with exFAT drives, this file system always manages to corrupt some files. It seems to be fragile. There is no journaling. As an added bonus, it doesn’t support obvious features like symbolic links. What I’m trying to say is: how about reformatting the drive as NTFS (or ext4 if you don’t care about windows compatibility)?

---

<div class="post-metadata">

**Author:** ![Vladimi2boom](https://dietpi.com/forum/user_avatar/dietpi.com/vladimi2boom/32/4928_2.png) [@Vladimi2boom](https://dietpi.com/forum/u/Vladimi2boom)\
**Post date:** [30 July 2023 05:34 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/8 "2023-07-30T05:34:41Z")

</div>

same problem,  
internal hdd with ext4  
owner - sshd if change to root, download is OK, next time again…

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [30 July 2023 09:07 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/9 "2023-07-30T09:07:33Z")

</div>

Yeah ok, if it’s owned by another user and has not 777 or something like that the use who is starting the torrent software can not wirte to it.  
But how should it be possible when you set it to root, which is more strict then a “normal” user? You also changed permissions?

---

<div class="post-metadata">

**Author:** ![Vladimi2boom](https://dietpi.com/forum/user_avatar/dietpi.com/vladimi2boom/32/4928_2.png) [@Vladimi2boom](https://dietpi.com/forum/u/Vladimi2boom)\
**Post date:** [20 August 2023 18:55 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/10 "2023-08-20T18:55:15Z")

</div>

I solved for me, in /etc/transmission-daemon/settings.json

```auto
"incomplete-dir": "/mnt/disk1/Downloads/transmission/incomplete",
"incomplete-dir-enabled": true,

```

---

<div class="post-metadata">

**Author:** ![shlatchz](https://dietpi.com/forum/user_avatar/dietpi.com/shlatchz/32/4421_2.png) [@shlatchz](https://dietpi.com/forum/u/shlatchz)\
**Post date:** [21 August 2023 17:03 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/11 "2023-08-21T17:03:35Z")

</div>

I don’t have transmission-daemon in etc

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [21 August 2023 18:06 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/12 "2023-08-21T18:06:52Z")

</div>

Because you use qbittorrent and not transmission. The `qBittorrent.conf` is in `/home/qbittorrent/.config/qBittorrent` but you don’t need to edit anything there, you can do this via the webinterface.

I installed qBittorrent and loaded a file without issues to an exFAT stick.  
Do you maybe use a hard drive which is only powered via the USB ports?

Logfile is btw in `/var/log/qbittorrent/qbittorrent.log` maybe you can find some hints there.

---

<div class="post-metadata">

**Author:** ![shlatchz](https://dietpi.com/forum/user_avatar/dietpi.com/shlatchz/32/4421_2.png) [@shlatchz](https://dietpi.com/forum/u/shlatchz)\
**Post date:** [21 August 2023 18:24 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/13 "2023-08-21T18:24:14Z")

</div>

My HDD has a power cable

---

<div class="post-metadata">

**Author:** ![shlatchz](https://dietpi.com/forum/user_avatar/dietpi.com/shlatchz/32/4421_2.png) [@shlatchz](https://dietpi.com/forum/u/shlatchz)\
**Post date:** [21 August 2023 18:29 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/14 "2023-08-21T18:29:13Z")

</div>

![image](https://dietpi.com/forum/uploads/default/original/2X/8/8c0a2d481229ac23483517a9d5ec85b45c73b098.png)  
hopefully this will help, thanks

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [21 August 2023 19:58 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/15 "2023-08-21T19:58:50Z")

</div>

I will also check tomorrow if it is still working.  
cheers

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [22 August 2023 17:00 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/16 "2023-08-22T17:00:16Z")

</div>

I added another torrent today, but I had 0 peers and seeds. I tried to stop qbittorrent `sytemctl stop qbittorrent` but the command never “ended”, I had to CTRL+C and kill the process via `htop`.  
After a restart of `qbittorrent-nox` the web-GUI does not show any torrents, for around 2 minutes. Then they popped up and startet immidiately.  
I restarted to check if the drive gets mounted automatically, which it does.  
Also the downloads functioned properly after the restart, not sure what happend there.

I checked also the logs and the only interesting entries are:

```auto
(W) 2023-08-22T18:36:28 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using NAT-PMP[192.168.178.34]: not authorized"
(W) 2023-08-22T18:36:28 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using NAT-PMP[192.168.178.34]: not authorized"
(W) 2023-08-22T18:36:28 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using NAT-PMP[192.168.178.34]: not authorized"
(W) 2023-08-22T18:36:28 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.178.34]: unknown UPnP error (403)"
(W) 2023-08-22T18:36:28 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.178.34]: unknown UPnP error (403)"

```

But this is expected since I deactivated UPnP in my router and did not deactive this feature in the qbittorrent config.

edit: maybe your ISP blocking your torrent traffic? I know there is an encrypted mode for torrent protocoll, I also saw an anonymous mode in the qbittorrent config.

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [22 August 2023 19:23 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/17 "2023-08-22T19:23:22Z")

</div>

just for testing, how does it behave if you use local storage instead of an attached drive?

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [23 August 2023 17:31 UTC](https://dietpi.com/forum/t/cannot-download-files-via-torrent-client-to-exfat-external-hddisk/17499/18 "2023-08-23T17:31:10Z")

</div>

I made a folder `/home/qbittorrent/download` chown’d it to `qbittorrent:dietpi`, it’s working without problems.
