qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.5k stars 3.91k forks source link

Temp directory stops being used whenever program is restarted #1608

Closed RealPariah closed 10 years ago

RealPariah commented 10 years ago

I just upgraded my xUbuntu box from Saucy to Trusty, and I notice it is a newer version of qBit as it is now downloading metadata for a torrent when I am looking at the pop-up that lets me label the torrent and set whether to start the torrent or not and where to save it which never happened before. Not to mention a few of the icons have changed and I enjoy having more options for dealing with trackers.

Now when using qBit it stops using the set temp directory on program restarts. The temp directory remains where I set it and it is set to allow all users read/write so not like it fails due to permissions, but if I go in to qBit settings I see it specifying the temp directory in settings, if I remove the entry in settings restart qBit, and then put it back qBit begins to use it as it should. Then if I restart the computer or program it goes right back to putting all temp files where it is set to place all COMPLETED torrents. Very annoying, but at least it is not using the system temp or writing to RAM filling it up and then not writing the files so it could be much worse that's for sure. Also, this was never an issue when using xUbuntu Saucy it always without fail used the SAME set temp directory in the SAME place with the SAME permissions.

OH, and yes I made sure it is using ~/.config/qBittorrent as settings folder and that is set to my user and group for read/write and my user is only one that runs qBit and no I never use sudo to start it as that would be kinda overkill.

I really wish I could set a list of default trackers to be applied to all torrents added to qBit instead of having to go to every single torrent and set trackers. Even better would be if I could multi select torrents in list and if I add or remove trackers while multi highlighting it would add or remove those affected trackers from all torrents that have been selected instead of the first or last one selected only, but not a deal breaker, just mentioning it while I was at it with the error info :-).

Much Love to qBit for not forcing Java on me, I highly dislike that tempermental, full of security holes, and resource intensive code stack, so thank you VERY much!

RealPariah commented 10 years ago

Wait, I may have figured this out... I out of curiosity just ran

sudo dpkg-reconfigure qbittorrent [MAKE SURE qBit is CLOSED FIRST FULLY]

and that seems to have done it I just started it back up and it began using the temp folder without me having to manually adjust it and adjust it back! It did not remove my personal settings folder but I did copy it out to a backup directory first just incase but it all started up as it should with my settings as they were before.

I will try running things for a bit and report back if this has not fully fixed me up but appears to have done so.

sledgehammer999 commented 10 years ago

Since this appears to be solved, I'll close it. If it happens again comment here and I'll reopen it.