Qbittorrent won't download to mounted USB drive.

Having issues with your DietPi installation or found a bug? Post it here.
User avatar
Joulinar
Posts: 4203
Joined: Sat Nov 16, 2019 12:49 am

Re: Qbittorrent won't download to mounted USB drive.

Post by Joulinar »

usually previous permissions should have been working. Let's try to adjust as follow

Code: Select all

chown -R qbittorrent:dietpi /mnt/torrent
chmod -R 775 /mnt/torrent
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2780
Joined: Sat Nov 18, 2017 6:21 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by MichaIng »

Previously with 760 mode, execute permissions for the group were missing, required to allow reading a directories content, so 770 is the minimum when using dietpi:dietpi ownership. The qbittorrent user btw has dietpi as it's major group, so that it creates files with this group as well, assuring R/W access for media applications that are members of the dietpi group as well.
That is the case with most download services, including Sonarr/Radarr/Lidarr, so all cases where often other daemons want to import those downloads.
scheiner
Posts: 22
Joined: Mon Oct 29, 2018 1:50 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by scheiner »

Did a new/fresh install of dietpi wirh qBittorrent.
Installed and formated (EXT4) a new USB drive for downloads. Successfully mounted as /mnt/download

As expected qBittorrent not working. Log shows :
(N) 2021-04-02T13:19:06 - An I/O error occurred, 'Album' paused. Album.flac) error: Permission denied

Code: Select all

dietpi@DietPi:/mnt$ cd download/
dietpi@DietPi:/mnt/download$ ls -la
total 2
drwxr-xr-x 3 root root  4096 Apr  2 13:16 .
drwxr-xr-x 7 root root  4096 Apr  2 13:17 ..
drwx------ 2 root root 16384 Apr  2 13:16 lost+found
dietpi@DietPi:/mnt/download$ 
would like to make a step by step to fix this permission problem (chmod, chown etc).
Any ideas ?
User avatar
MichaIng
Site Admin
Posts: 2780
Joined: Sat Nov 18, 2017 6:21 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by MichaIng »

Please see and apply the two commands suggested by Joulinar above already ;): #p30557
scheiner
Posts: 22
Joined: Mon Oct 29, 2018 1:50 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by scheiner »

Just did. bitTorrent now starts fine and download procceed.

however i'm having a weid situation. after a few minutes when try to look the folder .. it returns this

Code: Select all

dietpi@DietPi:/mnt/download$ ls -la
ls: reading directory '.': Input/output error
total 0
dietpi@DietPi:/mnt/download$ 
and then when I launch drive-manager .... the mount shows it's filesystem as "Filesystem: Net" and not Ext4 as before.

the USB drive still there (plugged in)

Code: Select all

dietpi@DietPi:/mnt/download$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            168M     0  168M   0% /dev
tmpfs            48M  4.4M   44M  10% /run
/dev/mmcblk0p1   15G  2.2G   13G  16% /
tmpfs           238M     0  238M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           238M     0  238M   0% /sys/fs/cgroup
tmpfs           1.0G     0  1.0G   0% /tmp
tmpfs            50M   32K   50M   1% /var/log
/dev/sda1       293G  4.6G  288G   2% /mnt/download
dietpi@DietPi:/mnt/download$ 
User avatar
trendy
Posts: 282
Joined: Tue Feb 25, 2020 2:54 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by trendy »

Can you check the health of the hard drive? I/O errors out of the blue are usually due to hardware failure.
scheiner
Posts: 22
Joined: Mon Oct 29, 2018 1:50 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by scheiner »

The hard drive is ok. the problem was the dock station. Problem solved. Thank you.
ekonomstudenten
Posts: 3
Joined: Fri Apr 02, 2021 7:56 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by ekonomstudenten »

scheiner wrote: Sat Apr 03, 2021 2:30 am The hard drive is ok. the problem was the dock station. Problem solved. Thank you.
I'm having the exact same problem. The drive starts out fine, but after using for a while qBittorrent stops downloading and drive manager reports the file system as 'net'. What was the issue with the dock station? I'm using a 4TB drive with an USB 3.0 enclosure, and I'd love to know what you did to fix the problem. Both the drive and the dock are brand new.
scheiner
Posts: 22
Joined: Mon Oct 29, 2018 1:50 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by scheiner »

I was using my dock with a wrong power supply. Not providing enough power.
ekonomstudenten
Posts: 3
Joined: Fri Apr 02, 2021 7:56 pm

Re: Qbittorrent won't download to mounted USB drive.

Post by ekonomstudenten »

scheiner wrote: Mon Apr 05, 2021 1:31 am I was using my dock with a wrong power supply. Not providing enough power.
Hm, okay. I'm pretty sure that I'm having another issue then, since I'm using the supplied power adaptor.
Post Reply