It's all gone... again

General support for problems installing or using Deluge
Post Reply
Anthrojeff
New User
New User
Posts: 3
Joined: Fri Dec 20, 2024 4:38 am

It's all gone... again

Post by Anthrojeff »

All my torrents are gone from Deluge! This happened about, maybe exactly, a year ago, too.
What happened?
Can they be restored?
Is it possible there is some setting I am missing that deletes all my torrents on a certain date?

I appreciate your help with this
User avatar
ambipro
Moderator
Moderator
Posts: 673
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: It's all gone... again

Post by ambipro »

They should still be present in your state folder (go to "run" and type "%APPDATA%" and it will launch the Roaming appdata directory.

Then you can go to deluge and there should be an "archive" folder and a "state" folder.

in "archive" there will be dated archives of the .state and .fastresume files that are the loaded torrents in your client, and in "state" you should still see all the .torrent files.

What is likely happening is that you're deluge is not shutting down properly for some reason, power failed, crash, etc, and when it does this your state file becomes corrupted.

If the .torrent files are all still present in "state" folder, simply open the latest archive you have (dated files) and replace them in the state folder, deluge should be stopped when you do this.

It should get you back to a somewhat recent state, and then you can rebuild from there.

You also can find the point in time you last have a torrent from in deluge after recovering the torrents.state file and just load every torrent dated after that manually. It should be fairly simple.

Finding the root cause of the crash/ungraceful shutdown would be the solution, there aren't any applications that can crash and not potentially experience problems.
Anthrojeff
New User
New User
Posts: 3
Joined: Fri Dec 20, 2024 4:38 am

Re: It's all gone... again

Post by Anthrojeff »

Such a good reply! Thank you so much. I know I accidentally started Deluge and closed it without letting it fully start. That is undoubtedly what happened.

I understand what you are saying, and I found the folders and files, but ...
How do I "simply open the latest archive you have (dated files) and replace them in the state folder"?
User avatar
ambipro
Moderator
Moderator
Posts: 673
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: It's all gone... again

Post by ambipro »

You can use something like 7zip or winrar to open the compressed tarballs.

Then just extract or copy the files into the state folder

Start Deluge after
Anthrojeff
New User
New User
Posts: 3
Joined: Fri Dec 20, 2024 4:38 am

Re: It's all gone... again

Post by Anthrojeff »

It worked! You are awesome Ambipro!
User avatar
ambipro
Moderator
Moderator
Posts: 673
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: It's all gone... again

Post by ambipro »

:)
Post Reply