Unable to backup torrents.fastresume to torrents.fastresume.bak
Posted: Sun Apr 22, 2018 1:55 am
I have been running Deluge (1.3.12, Python 2.6) as a Thin Client (running as a service using NSSM) on my Windows 10 media server for over a year and everything has been working just fine. Now every time I connect to Deluge, the state of all my torrents is lost and I have to force-recheck all of them. I have changed nothing to prompt this. The only thing I can think of is a Windows update breaking something.
This error is repeated every 3 minutes in my log file:
Until finally this error is logged:
The service was running under the LocalSystem account, and I made sure the permissions for torrents.fastresume, torrents.state and the directory containing them were correct. I then changed the service to run under my own user account and made sure the permissions were correct again. I force-rechecked all my torrents and monitored my log file for a while and thought it was fixed. Opened Deluge today and the state was lost again.
I looked around for any threads with the same issue, but any I could find seemed to point to permission issues and/or an issue with running Deluge as a service. Maybe I'm doing something wrong here?
If there is any other information that I could provide to help solve this issue, please let me know.
EDIT: Here's a pastebin of my entire log file: https://pastebin.com/6dDeuA1r
This error is repeated every 3 minutes in my log file:
Code: Select all
[ERROR ] 17:06:38 torrentmanager:809 Unable to backup C:\deluge_config\state\torrents.fastresume to C:\deluge_config\state\torrents.fastresume.bak: [Error 2] The system cannot find the file specified
Unhandled Error
Traceback (most recent call last):
File "deluge\main.py", line 230, in start_daemon
File "deluge\core\daemon.py", line 171, in __init__
File "twisted/internet/base.py", line 1194, in run
File "twisted/internet/base.py", line 1203, in mainLoop
--- <exception caught here> ---
File "twisted/internet/base.py", line 825, in runUntilCurrent
File "deluge\core\torrentmanager.py", line 1119, in on_alert_save_resume_data
File "deluge\core\torrentmanager.py", line 813, in save_resume_data_file
exceptions.MemoryError:
Code: Select all
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
[ERROR ] 17:08:42 torrentmanager:809 Unable to backup C:\deluge_config\state\torrents.fastresume to C:\deluge_config\state\torrents.fastresume.bak: [Error 2] The system cannot find the file specified
I looked around for any threads with the same issue, but any I could find seemed to point to permission issues and/or an issue with running Deluge as a service. Maybe I'm doing something wrong here?
If there is any other information that I could provide to help solve this issue, please let me know.
EDIT: Here's a pastebin of my entire log file: https://pastebin.com/6dDeuA1r