deluged not creating core.conf
-
- Member
- Posts: 36
- Joined: Thu Dec 02, 2010 12:23 pm
deluged not creating core.conf
I am setting up a seedbox on a ubuntu server with the latest deluge and rasterbar from the ubuntu repos since they are more updated. After installing them I ran deluged and it created the .config dir inside the home dir. I downloaded the core.conf to my desktop because I wanted to id certain line numbers because I am writing a bash script to automate the process for us(three of us,1 transmission and 2 instances of deluge) in the future. I wanted to wipe the slate clean and test from scratch using the script. So I removed the .config dir since deluged should create a new one, or so I thought. Now when I run deluged, it recreates the config dir, but it does not create a new core.conf or auth file. How do I get deluged to recreate core.conf and such? I tried purging deluge and restalling but nothing changes.
Re: deluged not creating core.conf
core.conf is only usually created once a preference has been changed as up until that point it would be using default values. Have you considered using the console/json api/python client script to get/set values instead of the conf file?
-
- Member
- Posts: 36
- Joined: Thu Dec 02, 2010 12:23 pm
Re: deluged not creating core.conf
Cas wrote:core.conf is only usually created once a preference has been changed as up until that point it would be using default values.
Ok so as I understand it if I do deluged -p 10000 and then deluged I should get a new core.conf right? I tried this and the ~/.config/deluge/core.conf still is not created.
You mean deluge-console?Have you considered using the console/json api/python client script to get/set values instead of the conf file?
Re: deluged not creating core.conf
Actually I forgot it writes out the core.conf on shutdown.
YesTechN9ne1730 wrote:You mean deluge-console?
-
- Member
- Posts: 36
- Joined: Thu Dec 02, 2010 12:23 pm
Re: deluged not creating core.conf
So deluged then deluged -q should write a new conf file? It didn't.Atleast no in home/$user/.config/deluge but when I start deluged and go to the console and type config, it spits out a config file but it is still not in the location.Cas wrote:Actually I forgot it writes out the core.conf on shutdown.
Update as I type: For some reason deluge is running as root instead of the user. I checked /root/.config/deluge and found what I believe is the core.conf it is using. If I am logged in as a user how is it running as root?
Does it offer any real advantage?YesTechN9ne1730 wrote:You mean deluge-console?
Re: deluged not creating core.conf
For scripting it would be simpler to use it to get/set core values e.g.:
Code: Select all
deluge-console "config -s max_active_downloading 5"
-
- Member
- Posts: 36
- Joined: Thu Dec 02, 2010 12:23 pm
Re: deluged not creating core.conf
Thanks, that would be much cleaner then using sed.
Still, why is it creating the config as root and not the user like it did originally?
EDIT: After deleting the config foler in root, it now created all the proper files in ~/.config/deluge.
Still, why is it creating the config as root and not the user like it did originally?
EDIT: After deleting the config foler in root, it now created all the proper files in ~/.config/deluge.
-
- Member
- Posts: 36
- Joined: Thu Dec 02, 2010 12:23 pm
deluge-console hangs when using config -s or config --set
For example If I use
or
my terminal just hangs there doing nothing.
Specs:
Ubuntu 12.04
Xeon W3520
24GB of DDR3 RAM
2x2TB disks in RAID0
Deluge 1.3.5
libtorrent 0.15.10.0
EDIT: Sorry deluge-console was not connect to a running daemon.
Code: Select all
deluge-console "config -s max_active_downloading 5"
Code: Select all
deluge-console "config --set max_active_downloading 5"
Specs:
Ubuntu 12.04
Xeon W3520
24GB of DDR3 RAM
2x2TB disks in RAID0
Deluge 1.3.5
libtorrent 0.15.10.0
EDIT: Sorry deluge-console was not connect to a running daemon.
Last edited by TechN9ne1730 on Sun Sep 30, 2012 11:21 pm, edited 1 time in total.
Re: deluge-console hangs when using config -s or config --se
Can you access deluged with just deluge-console? did you change the default daemon port?
-
- Member
- Posts: 36
- Joined: Thu Dec 02, 2010 12:23 pm
Re: deluged not creating core.conf
Sorry deluge-console was not connect to a running daemon. Thanks cas!