qBittorrent
qBittorrent copied to clipboard
qBittorrent 5.0 error when trying to save a torrent on a network location (NAS). It cannot create folders.
qBittorrent & operating system versions
qBittorrent: 5.0.0 x64 Operating system: Windows 11 Pro x64 (23H2) 22631.4317 - I've tried it on two different PCs. But it does work on Debian. Qt: 6.8.0 Libtorrent: 2.0.10.0 Boost: 1.86.0 OpenSSL: 3.3.2 zlib: 1.3.1 Found Python executable. Name: . Version: "3.9.13"
What is the problem?
When I open a torrent file and choose a network location to save it, qbittorrent gives an error. This happens when a new directory for the torrent should be created.
I get - "Parameter error" and qbittorrent is unable to make a directory for the torrent, If I choose qbittoreent not to create a directory then all torrent files are written properly to the NAS SSD. Or if I create the directory manually before adding the torrent file then the torrent files writing to disk is OK.
The program creates a file without any extension with an unrecognized empty icon under Windows File Explorer.
When I choose to remove the torrent and data from the qbittorrent the file is not removed and remains on the NAS drive.
All of this started with version 5.0.0 and current alpha 5.1.0. Before that everything was OK.
In my case I have a SSD USB3 (formatted with F2FS file system) attached to my OpenWrt router and I use it as a NAS device.
Everything else works OK with this setup. I have automated backups on that NAS drive.
Using other torrent clients like uTorrent with the same torrent files results in successful operation.
Screenshots below.
Steps to reproduce
Steps to reproduce are like opening any other torrent the usual way but choose to create folder for the torrent. I cannot tell if the F2FS file system have any impact here because I tried to save the same torrent to another shared network folder on a Windows 11 PC and it was OK. But this issue was not present with older qbittorrent versions. I know that this may be somewhat unusual setup (F2FS mostly) and maybe because of this the issue went unnoticed. I suppose (my speculation here) that the issue maybe caused by recent commits introduced with the kernel 6.6.54. https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.54 There are lots of F2FS related commits there. And probably qbittorrent has some issues with those commits too.
Additional context
Log(s) & preferences file(s)
22.10.2024 г. 16:57 - File error alert. Torrent: "xxxxxxxxxxxxxxxxxxx". File: "\qnap\qnap-usb1". Reason: " error: The parameter is incorrect"