openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.89k stars 3.4k forks source link

transmission: 'Unable to save resume file. File exists' Error #13243

Open ahmar20 opened 3 years ago

ahmar20 commented 3 years ago

Maintainer: @neheb

Environment: OpenWrt SNAPSHOT Kernel v5.4.60 BT HomeHub 5A - xrx200 Transmission v3.00-4

Description: The resume file that gets saved in the resume folder in transmission config is not being saved if it exists already. In v19.07.3 this does not seem to be an issue. I presume that transmission code was changed to implement something and may have not been tested in this regard. Anyways, the file can be saved successfully if you delete the old file manually and so an updated file gets saved. Now this issue seems pretty important because if a resume file gets saved at the start and does not save after that then in an event of restart, the transmission would think that it did not even download the file although a substantial portion may have been downloaded.

To reproduce this error, you just need to add a torrent file, start it and then pause it. If there is no error then the resume file has been saved just now so start it again and pause it and there you go. The error pops up instantly. [Edit: Fix typos]

ahmar20 commented 3 years ago

Is it possible that this particular error is present in OpenWrt because transmission is broken somewhere? Currently luci-app-transmission seems broken because the config produces error even on a new install in Kernel v5.4.61.

See the attached screenshot. 2020-09-03