Changes to where a torrent is stored is lost after shutdown #8126

Closed
opened 2026-02-21 19:21:37 -05:00 by deekerman · 2 comments
Owner

Originally created by @outandabout on GitHub (Nov 30, 2018).

Please provide the following information

qBittorrent version and Operating System

qBittorrent v4.1.4
Operating System: Ubuntu 18.04.1 LTS
Kernel: Linux 4.15.0-39-generic
Architecture: x86-64

If on linux, libtorrent and Qt version

Qt: 5.9.5
Libtorrent 1.1.11.0

What is the problem

Changes to the file structure are not being saved properly and qBittorrent loses these changes after shutdown.

Download a file with the structure

Dir
File

Change the Dir to something simple for storage to something like
Season 02
File

Qbittorrent changes the structure and moves File into the Dir Season 02

Shutdown Qbittorrent and when it is restarted at a later time the Torrent will error out because it is looking for the File in the org Dir instead of Season 02

What is the expected behavior

Qbittorrent changes the structure and moves File into the Dir Season 02
This should be stored right after the change is made
Shutdown qBittorrent and restart
Qbittorrent should still look for the File in the directory Season 02

Steps to reproduce

This will happen randomly. I have seen it occur with normal shutdowns and with rebooting a slow machine. The amount of time the that has passed since the file was downloaded does not seem to matter. I had to reboot tonight and had 14 files fail to this error. The files were completed between 2018-11-19 and 2018-11-27

Originally created by @outandabout on GitHub (Nov 30, 2018). **Please provide the following information** ### qBittorrent version and Operating System qBittorrent v4.1.4 Operating System: Ubuntu 18.04.1 LTS Kernel: Linux 4.15.0-39-generic Architecture: x86-64 ### If on linux, libtorrent and Qt version Qt: 5.9.5 Libtorrent 1.1.11.0 ### What is the problem Changes to the file structure are not being saved properly and qBittorrent loses these changes after shutdown. Download a file with the structure Dir File Change the Dir to something simple for storage to something like Season 02 File Qbittorrent changes the structure and moves File into the Dir Season 02 Shutdown Qbittorrent and when it is restarted at a later time the Torrent will error out because it is looking for the File in the org Dir instead of Season 02 ### What is the expected behavior Qbittorrent changes the structure and moves File into the Dir Season 02 This should be stored right after the change is made Shutdown qBittorrent and restart Qbittorrent should still look for the File in the directory Season 02 ### Steps to reproduce This will happen randomly. I have seen it occur with normal shutdowns and with rebooting a slow machine. The amount of time the that has passed since the file was downloaded does not seem to matter. I had to reboot tonight and had 14 files fail to this error. The files were completed between 2018-11-19 and 2018-11-27
Author
Owner

@jmiller3 commented on GitHub (Dec 12, 2019):

I have had this happen to me as well.

It's particularly catastrophic as I am using a category management to determine download path, so when the settings are lost, the files are automatically moved to the default download directory, in this case an SD card, which renders the system unusable. It seems intermittent because out of 2,000 files, it happened to < 100, unfortunately some of those were 10+ Gb.

@jmiller3 commented on GitHub (Dec 12, 2019): I have had this happen to me as well. It's particularly catastrophic as I am using a category management to determine download path, so when the settings are lost, the files are automatically moved to the default download directory, in this case an SD card, which renders the system unusable. It seems intermittent because out of 2,000 files, it happened to < 100, unfortunately some of those were 10+ Gb.
Author
Owner

@ghost commented on GitHub (Jul 17, 2022):

Closing this as this was reported on a very old version. If you can still reproduce it with latest version please comment to re-open the thread or create a new thread.

@ghost commented on GitHub (Jul 17, 2022): Closing this as this was reported on a very old version. If you can still reproduce it with latest version please comment to re-open the thread or create a new thread.
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#8126
No description provided.