Upgrade deleted config folder

General support for problems installing or using Deluge
SASDOE
Member
Member
Posts: 19
Joined: Thu Jan 03, 2013 10:19 pm
OS or Distro: Ubuntu

Upgrade deleted config folder

Postby SASDOE » Thu Feb 28, 2013 3:43 pm

After running sudo apt-get upgrade, i launched deluge-web, whose password was set back to default deluge. So i went to the deluge home folder /home/deluge/ and saw that the config file had entirely disappeared. How on earth did this happen ? And how do i fix it ?

For the background, i have a ubuntu server, deluge has it's own user (not used to run the apt-get upgrade command), and i had set it up with the new upstart file.

Running

Code: Select all

sudo deluged start


Outputs this :

Code: Select all

$ [ERROR   ] 16:45:16 rpcserver:375 Couldn't listen on localhost:58846: [Errno 98] Address already in use.


And crashes the bash window (or however you call it when i can never input a new command, and pressing say left outputs its code).

Cas
Top Bloke
Top Bloke
Posts: 3557
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Upgrade deleted config folder

Postby Cas » Thu Feb 28, 2013 3:58 pm

Was this from PPA or Ubuntu repo?

SASDOE
Member
Member
Posts: 19
Joined: Thu Jan 03, 2013 10:19 pm
OS or Distro: Ubuntu

Re: Upgrade deleted config folder

Postby SASDOE » Thu Feb 28, 2013 4:02 pm

Installed following this guide http://linuxhomeserverguide.com/mediaserver/deluge.php, since i added no repos i suppose it's ubuntu

Cas
Top Bloke
Top Bloke
Posts: 3557
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Upgrade deleted config folder

Postby Cas » Thu Feb 28, 2013 7:40 pm

I have no idea how that could occur but in order to fix it you would need to use something like extundelete

SASDOE
Member
Member
Posts: 19
Joined: Thu Jan 03, 2013 10:19 pm
OS or Distro: Ubuntu

Re: Upgrade deleted config folder

Postby SASDOE » Fri Mar 01, 2013 10:12 am

completely uninstalled deluge with

Code: Select all

sudo apt-get remove --purge deluge*


and reinstalled it. Brought my config files back somehow. Everything back to usual anyway. Didn't use extundelete, but will sure use it when i'll need it, which is bound to happen. Thanks.

ratzeputz
Member
Member
Posts: 16
Joined: Wed May 09, 2012 1:32 pm
OS or Distro: debian/osx

Re: Upgrade deleted config folder

Postby ratzeputz » Sun Mar 10, 2013 12:54 pm

SASDOE wrote:completely uninstalled deluge with

Code: Select all

sudo apt-get remove --purge deluge*


and reinstalled it. Brought my config files back somehow. Everything back to usual anyway. Didn't use extundelete, but will sure use it when i'll need it, which is bound to happen. Thanks.


I can confirm this. Same thing happend on my system (squeeze). I did a backup before, so i had no problems. thanks a lot for your advice :)


Return to “Support”

Who is online

Users browsing this forum: No registered users and 9 guests