Page 1 of 1
Lost torrent list from qBittorrent v 3.3.3
Posted: Sat Apr 09, 2016 7:29 pm
by jack1
Hi,
I use Arch Linux and recently I updated my system. I am using qBittorrent v 3.3.3. I had more than 50 torrents, some I was seeding and some I was downloading. I had power cutoff today. I started my system when I got electicity again and I saw that qBittorrent now has only 4 torrents in the list. Others were gone. After 5 mins, I again got power cutoff and after I again got power I started system and saw now qBittorrent has only 2 torrents in the list. Though I have found a way to go in USER_HOME/.local/share/data/qBittorrent/BT_backup and load individual torrent files and locate the torrent data and reload it, but it is taking too much time. Is there faster way so that I can recover all the torrents I had in my list?
I must mention that I do have power cutoffs very often at the place where I live. But I have been using qBittorrent for very long time now. In the past when I used to have power cutoff and when I used to restart system, qBittorrent never lost it's torrent list. It only used to check the torrent data of some torrents again. Thats all. But after I updated qBittorrent few days back, now I lose torrent list when I get power cutoff.
Re: Lost torrent list from qBittorrent v 3.3.3
Posted: Sun Apr 10, 2016 9:28 am
by Peter
Power cutoff effect depends on your filesystem.
Some of them fares better than others, but all can take a hit from a cutoff.
You can make your system more cutoff-proof (again, depends on what FS you use atm), but:
1) It will slow down writes on your system - if barriers/write order are currently set to something different
2) The cutoff can still be fatal to your hard drive(s) any time
So.. yeah. Get a UPS. As soon as possible.
(UPS can be configured to issue a shutdown command to your computer if the power goes down. Thus it will enable your system to do a clean shutdown before the battery depletes.)
Re: Lost torrent list from qBittorrent v 3.3.3
Posted: Sun Apr 10, 2016 11:47 am
by jack1
I use ext4 file system. I also had other torrent clients running like deluge and transmission but they have all their torrents in their list.
As I mentioned I have been using qBittorrent from long time but never faced this issue before though I had power cutoffs many times before as well and I don't have UPS. I started getting this issue only after I updated to new version of qBittorrent. Anyway thanks for reply.
Re: Lost torrent list from qBittorrent v 3.3.3
Posted: Sun Apr 10, 2016 2:19 pm
by jack1
I just want to add more to this is what I think is power cutoff can give problem to the active torrents (torrents which are connected to peers and doing some operation ), but why it lost torrent list which I do not understand. Many of the torrents were in PAUSED state (Red color). But I alomost lost all torrents. Note that I have torrent data on my harddisk. Only thing which I lost is torrent list from qBittorrent.
Re: Lost torrent list from qBittorrent v 3.3.3
Posted: Sun Apr 10, 2016 2:31 pm
by Peter
If it's a regression, just create a ticket. This does not sound like one.
You may be right. The code responsible for the save may have changed.
You can check that on Github, if you want.
But. I still turn to my previous points.
No application should be or will be ever designed to be 'cut off proof'.
1) You can still lose your ENTIRE hard drive this way. Any single moment.
Hell, the cut offs may have already caused damage to it, and it's a ticking time bomb right now.
2) ext4 tries to fix corruptions, just like NTFS.
You could have a live Linux on a pendrive, and run that after a cut off.
Check 'fsck.ext4' and see how much damage you done to the filesystem.
Re: Lost torrent list from qBittorrent v 3.3.3
Posted: Sun Apr 10, 2016 3:12 pm
by jack1
I don't deny what you are saying about physically damaging harddisk but I think I shouldn't have lost torrent list because
I have 4 partitions in linux
/home (ext4) ( I don't know but my guess is here qBittorrent keeps it's session data, torrent list and all configuration data )
/ (ext4)
/boot (ext4)
/swap swap
Plus I have external harddisk which is ntfs where I have saved torrents.
So since I lost torrent list , then power cutoff shoud have damaged /home partition. But I have checked it is clean.
Please also note that when I upgraded qBittorrent two weeks ago, and started it. First start after upgrade gave me message that was something like "setting and data will be migrated to new version and can not be reverted to old version, do you want to continue" ( I don't remember exact sentence but meaning was something similar to this)
Please note that I am not linux expert. I have already migrated all my torrents to different client. The reason I am positing this is because I used to like qBittorrent but if this problem is because I upgraded to new version, then I will not be able to use it. I even tried to downgrade qBittorrent to previous version on Arch Linux but the dependecies were giving problems. So I decided to move my torrents to deluge for time being.
I searched for similar problems on Google where I found utorrent client has this problem of losing torrent list but it has some file like resume.dat which allows to restore session. But I never did something like that because I don't use Windows and utorrent. I checked .local/share/data/qBittorrent/BT_backup folder where I found .torrent files and some fastresume.0, fastresume.3, fastresume.51 etc files. So why it does not resume the session and list all torrents again. Maximum it can recheck the torrent data which it used to do in previous version.
Anyway thank you for trying to help.
Re: Lost torrent list from qBittorrent v 3.3.3
Posted: Sun Apr 10, 2016 4:43 pm
by jack1
To give more information this was message after upgrading and first start, this was message "You updated from an older version that saved things differently. You must migrate to the new saving system. If you continue, you will not be able to use an older version than v3.3.0 again."
OK Abort.
After clicking OK it migrated.
Anyway I have restored most of the torrent list from old backup of .config and .local folders. I have lost few torrents which I added after taking this backup. No problem, I will add them manually.