Receiving message "Errored: The filename, directory name, or volume label syntax is incorrect" for all torrents after a reboot #10078

Closed
opened 2026-02-21 20:33:06 -05:00 by deekerman · 4 comments
Owner

Originally created by @gphelan on GitHub (Apr 3, 2020).

Please provide the following information

qBittorrent version and Operating System

Windows 10
qBittorrent v4.2.2 (64-bit)

What is the problem

Receiving message "Errored: The filename, directory name, or volume label syntax is incorrect" for all torrents after a reboot.

What is the expected behavior

That they'd keep going.

Steps to reproduce

Seems to happen every time I reboot the host on which this windows VM is running.

Extra info(if any)

This happens for all torrents active whenever the reboot occurs.

Appears to be related to issue #11552, but is still presenting despite that being marked fixed in 4.2.1. Did not have this issue at all before upgrading to 4.2.2, but I can't confirm that I ever rebooted the host between 4.2.0 and 4.2.2.

Logs do indeed indicate an issue with the path, but they have the incorrect path listed:

(W) 2020-04-03T18:44:49 - File error alert. Torrent: "{TORRENT NAME}". File: "C:/Program Files/qBittorrent/{CORRECT PATH TO TORRENT}". Reason: {TORRENT NAME} file_stat (C:/Program Files/qBittorrent/{CORRECT PATH TO TORRENT}) error: The filename, directory name, or volume label syntax is incorrect

{CORRECT PATH TO TORRENT}: SMB network share that I've confirmed the host OS has full read/write access to (new torrents work fine)

In Progress & Completed torrents are being stored in separate locations, but share a root directory, on the same network share.
image

For some reason, upon reboot, qBittorrent appears to be adding its own install directory to the front of the network path I'm using for everything. I'm not sure why this is, but forcing a re-check results in no change. Setting the location pulls up the correct location, and lets me save it, but produces no change. Neither does forcing a re-check after resetting the location.

The majority of these torrents are being automatically added by other media management suites (ex: radarr, sonarr, etc), but this issue occurs for manually added torrents also. Any torrents added after the reboot work fine, though they're saving to the same locations.

If I had to guess, qBittorrent is adding its own install path to the start of every torrent's current path for some reason. I expect this data is stored in the .pdb file, but I've found no way of opening and manually editing the paths.

Originally created by @gphelan on GitHub (Apr 3, 2020). **Please provide the following information** ### qBittorrent version and Operating System Windows 10 qBittorrent v4.2.2 (64-bit) ### What is the problem Receiving message "Errored: The filename, directory name, or volume label syntax is incorrect" for all torrents after a reboot. ### What is the expected behavior That they'd keep going. ### Steps to reproduce Seems to happen every time I reboot the host on which this windows VM is running. ### Extra info(if any) This happens for all torrents active whenever the reboot occurs. Appears to be related to issue #11552, but is still presenting despite that being marked fixed in 4.2.1. Did not have this issue at all before upgrading to 4.2.2, but I can't confirm that I ever rebooted the host between 4.2.0 and 4.2.2. Logs do indeed indicate an issue with the path, but they have the incorrect path listed: (W) 2020-04-03T18:44:49 - File error alert. Torrent: "{TORRENT NAME}". File: "C:/Program Files/qBittorrent/{CORRECT PATH TO TORRENT}". Reason: {TORRENT NAME} file_stat (C:/Program Files/qBittorrent/{CORRECT PATH TO TORRENT}) error: The filename, directory name, or volume label syntax is incorrect {CORRECT PATH TO TORRENT}: SMB network share that I've confirmed the host OS has full read/write access to (new torrents work fine) In Progress & Completed torrents are being stored in separate locations, but share a root directory, on the same network share. ![image](https://user-images.githubusercontent.com/24687105/78411775-d1b96880-75de-11ea-9568-20613196d5b5.png) For some reason, upon reboot, qBittorrent appears to be adding its own install directory to the front of the network path I'm using for everything. I'm not sure why this is, but forcing a re-check results in no change. Setting the location pulls up the correct location, and lets me save it, but produces no change. Neither does forcing a re-check after resetting the location. The majority of these torrents are being automatically added by other media management suites (ex: radarr, sonarr, etc), but this issue occurs for manually added torrents also. Any torrents added after the reboot work fine, though they're saving to the same locations. If I had to guess, qBittorrent is adding its own install path to the start of every torrent's current path for some reason. I expect this data is stored in the .pdb file, but I've found no way of opening and manually editing the paths.
Author
Owner

@xavier2k6 commented on GitHub (Apr 3, 2020):

@gphelan update to 4.2.3 as this issue should be fixed.

@xavier2k6 commented on GitHub (Apr 3, 2020): @gphelan update to 4.2.3 as this issue should be fixed.
Author
Owner

@gphelan commented on GitHub (Apr 3, 2020):

Check for Updates within the application says I'm already on the latest version, or I'd probably have already caught that. Guess I'll update manually!

@gphelan commented on GitHub (Apr 3, 2020): Check for Updates within the application says I'm already on the latest version, or I'd probably have already caught that. Guess I'll update manually!
Author
Owner

@gphelan commented on GitHub (Apr 4, 2020):

Updating fixed it. I had to force a recheck on every single torrent, but they worked immediately after that.

In case anyone encounters this in the future, I found a workaround by:

  1. Right-clicking a torrent, Copy > Magnet Link
  2. Delete Torrent, do not delete files
  3. Add Magnet Link
  4. Paste in the copied link
  5. Once metadata downloads quickly right-click and force recheck
@gphelan commented on GitHub (Apr 4, 2020): Updating fixed it. I had to force a recheck on every single torrent, but they worked immediately after that. In case anyone encounters this in the future, I found a workaround by: 1. Right-clicking a torrent, Copy > Magnet Link 2. Delete Torrent, do not delete files 3. Add Magnet Link 4. Paste in the copied link 5. Once metadata downloads *quickly* right-click and force recheck
Author
Owner

@FranciscoPombal commented on GitHub (Apr 4, 2020):

Updating fixed it. I had to force a recheck on every single torrent, but they worked immediately after that.

In case anyone encounters this in the future, I found a workaround by:

1. Right-clicking a torrent, Copy > Magnet Link

2. Delete Torrent, do not delete files

3. Add Magnet Link

4. Paste in the copied link

5. Once metadata downloads _quickly_ right-click and force recheck

Couldn't you have just paused everything and do right click -> force recheck?

@FranciscoPombal commented on GitHub (Apr 4, 2020): > Updating fixed it. I had to force a recheck on every single torrent, but they worked immediately after that. > > In case anyone encounters this in the future, I found a workaround by: > > 1. Right-clicking a torrent, Copy > Magnet Link > > 2. Delete Torrent, do not delete files > > 3. Add Magnet Link > > 4. Paste in the copied link > > 5. Once metadata downloads _quickly_ right-click and force recheck Couldn't you have just paused everything and do right click -> force recheck?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#10078
No description provided.