Unable to backup torrents.fastresume to torrents.fastresume.bak

General support for problems installing or using Deluge
voytek
New User
New User
Posts: 2
Joined: Sun Apr 22, 2018 12:17 am
OS or Distro: W10

Unable to backup torrents.fastresume to torrents.fastresume.bak

Postby voytek » 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:

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:


Until finally this error is logged:

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


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

voytek
New User
New User
Posts: 2
Joined: Sun Apr 22, 2018 12:17 am
OS or Distro: W10

Re: Unable to backup torrents.fastresume to torrents.fastresume.bak

Postby voytek » Sun Apr 22, 2018 11:49 pm

I assume my torrents.fastresume file got corrupted somehow, probably a power-outage. I made a copy of my state folder, deleted the original and then re-added all the .torrent files contained in the original state folder. Took a bit of work, but luckily with Labelplus, the majority of my torrents were easily reorganized.

What I've learned from this is: it's a good idea to make periodic backups of your state folder in case of a power outage.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 8 guests