Torrent list empty after restart

General support for problems installing or using Deluge
Post Reply
sassycat
New User
New User
Posts: 4
Joined: Fri Dec 05, 2014 6:43 pm

Torrent list empty after restart

Post by sassycat »

Hi Guys,

Newbie here, just switched over to Deluge from Rtorrent and generally I like it better, even if it has less plugins. Don't know anyone using Deluge on linux, so please bear with me.

I installed Deluge using this fairly new guide: http://www.filesharingguides.com/torren ... ebian-vps/

After a few days of using it, I decided to restart the server to see if the new port number I assigned would actually work, as well as the start up script at the bottom of the guide, but I was greeted with the default password and a blank torrent list.

This is what my ~/.config/ folder looks: http://puu.sh/dihhG/b7bd0292cf.png - The state folder is filled with with .torrents, a .fastresume and a .state file.

Not sure if turning loggin on would work, it downloads torrents fine now.

Can someone point me in the right direction?

Thanks.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Torrent list empty after restart

Post by Cas »

It's likely that Deluge was not shutdown properly when you restarted your server and corrupted the state/resume data.
sassycat
New User
New User
Posts: 4
Joined: Fri Dec 05, 2014 6:43 pm

Re: Torrent list empty after restart

Post by sassycat »

Thanks, so I take it the steps in the guide was sound?

Is there anything I need to do to remove old files from the previous state?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Torrent list empty after restart

Post by Cas »

Well that guide is not very good acutally because it is recommending the old init service, you should just read our guides: http://dev.deluge-torrent.org/wiki/UserGuide

I'm not sure what you mean about old files.
sassycat
New User
New User
Posts: 4
Joined: Fri Dec 05, 2014 6:43 pm

Re: Torrent list empty after restart

Post by sassycat »

Ok, I followed the link and removed the old init stuff but the Upstart won't work, not sure if I edited the deluged.conf file correctly. Config files look like this:

Code: Select all

GNU nano 2.2.6          File: /etc/init/deluged.conf

# deluged - Deluge daemon
#
# The daemon component of Deluge BitTorrent client. Deluge UI clients
# connect to this daemon via DelugeRPC protocol.

description "Deluge daemon"
author "Deluge Team"

start on filesystem and stopped networking
stop on runlevel [016]

respawn
respawn limit 5 30

env uid=sassycat
env gid=sassycat
env umask=007

exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d

Code: Select all

# deluge-web - Deluge Web UI
#
# The Web UI component of Deluge BitTorrent client, connects to deluged and
# provides a web application interface for users. Default url: http://localhost$

description "Deluge Web UI"
author "Deluge Team"

start on started deluged
stop on stopping deluged

respawn
respawn limit 5 30

env uid=sassycat
env gid=sassycat
env umask=027

exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluge-web
It starts then stops shortly after if I go by what "ps -u" gives me. Don't want it on a separate user, so I didn't follow the stuff in 'User Management'.

Image

Can't seed anything atm, so any help is appreciated.

-M
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Torrent list empty after restart

Post by Cas »

Verify the bin path for deluged and deluge-web is correct. Check upstart logs and also check deluge logs for any issues, these scripts work so double-check you have done everything correctly.
sassycat
New User
New User
Posts: 4
Joined: Fri Dec 05, 2014 6:43 pm

Re: Torrent list empty after restart

Post by sassycat »

OK, I restarted the server again just in case and afterwards did the steps in the Upstart guide to enable logging, did them but not sure if they're working and started deluged using the command 'sudo start deluged' and it works fine
now BUT it's using the state it had before it was wiped (first post) the first time (iow a lot of torrents are missing). Not sure what happened.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Torrent list empty after restart

Post by Cas »

If the state was corrupted there is no way back from that unless you have backups. The point of using upstart scripts is that it is more likely that it will shutdown Deluge correctly.
Post Reply