settings.json not getting created

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
goincrazy
Posts: 2
Joined: Sat Sep 25, 2010 10:54 pm

settings.json not getting created

Post by goincrazy »

Hi All,

I've installed transmission a few times on redhat without issues, this is my first time trying on debian and I'm getting my butt kicked... I go through configuring everything, run the daemon to generate the files and the settings.json isn't being created. I've seen a few people comment on it with no solutions and I've checked the common suspects with no luck. I'm hoping someone can see what I'm missing here...

I log into the server and run an apt-get install to pull the packages:

Code: Select all

xxxxxx:~# apt-get install transmission transmission-cli transmission-gtk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  transmission transmission-cli transmission-gtk
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 976kB of archives.
After this operation, 2417kB of additional disk space will be used.
Get: 1 ftp://mir1.ovh.net lenny/main transmission-cli 1.22-1+lenny2 [527kB]
Get: 2 ftp://mir1.ovh.net lenny/main transmission-gtk 1.22-1+lenny2 [449kB]
Get: 3 ftp://mir1.ovh.net lenny/main transmission 1.22-1+lenny2 [860B]
Fetched 976kB in 1s (944kB/s) 
Selecting previously deselected package transmission-cli.
(Reading database ... 35808 files and directories currently installed.)
Unpacking transmission-cli (from .../transmission-cli_1.22-1+lenny2_amd64.deb) ...
Selecting previously deselected package transmission-gtk.
Unpacking transmission-gtk (from .../transmission-gtk_1.22-1+lenny2_amd64.deb) ...
Selecting previously deselected package transmission.
Unpacking transmission (from .../transmission_1.22-1+lenny2_all.deb) ...
Processing triggers for man-db ...
Setting up transmission-cli (1.22-1+lenny2) ...
Setting up transmission-gtk (1.22-1+lenny2) ...
Setting up transmission (1.22-1+lenny2) ...
xxxxxx:~#
Ok, packages are installed without errors and 1.22 shows as the current stable on the debian repository, so I'm happy so far... I verify everything looks right in /usr/bin

Code: Select all

xxxxx:~# ls /usr/bin | grep trans
transmission
transmissioncli
transmission-daemon
transmission-proxy
transmission-remote
ns203382:~# 
I switch back from root to my user account (yes, I should be using sudo, but I'm old and lazy. It'll bite me one day, I'm sure...) which drops me into my empty home directory

Code: Select all

rich@xxxxxx:~$ ls -l
total 0
rich@xxxxxx:~$ 
I run the transmission daemon to create the files, let it sit for a couple of seconds, kill it, then check the ~/.config/transmission-daemon directory:

Code: Select all

rich@xxxx:~$  /usr/bin/transmission-daemon -g /home/rich/.config/transmission-daemon -f
Transmission 1.22 (6191) started
Opened port 51413 to listen for incoming peer connections
^Ctransmission-daemon: received fatal signal 2, attempting to exit cleanly
Stopped
rich@xxxx:~$ cd .config/transmission-daemon/
rich@xxxx:~/.config/transmission-daemon$ ls -lsa
total 28
4 drwxr-xr-x 6 rich rich 4096 2010-09-25 18:49 .
4 drwxr-xr-x 3 rich rich 4096 2010-09-25 18:49 ..
4 drwxr-xr-x 2 rich rich 4096 2010-09-25 18:49 blocklists
4 drwxr-xr-x 2 rich rich 4096 2010-09-26 01:06 daemon
4 drwxr-xr-x 2 rich rich 4096 2010-09-25 18:49 resume
4 -rw-r--r-- 1 rich rich  102 2010-09-26 01:06 stats.benc
4 drwxr-xr-x 2 rich rich 4096 2010-09-25 18:49 torrents
rich@xxxx:~/.config/transmission-daemon$ 
Hop back to root, do a quick updatedb and locate in case I'm just completely brain-dead...

Code: Select all

xxxx:~# updatedb
xxxx:~# locate settings.json
xxxx:~# 
No love... I've uninstalled/reinstalled transmission in case I screwed something up there with no luck. I'm honestly at wits end on this. Normally, I see my settings.json at this point but it's no where to be found. I've even verified that it's not getting deleted by opening another session to the machine while transmission-daemon is running, doing an updatedb and locate since there's nothing in the .config/transmission-daemon directory...

Any ideas here?
Longinus00
Posts: 137
Joined: Fri Aug 21, 2009 5:46 am

Re: settings.json not getting created

Post by Longinus00 »

1.22 is around 2 years old. Install a newer version, 1.77 is in backports and 2.03 is in testing.
goincrazy
Posts: 2
Joined: Sat Sep 25, 2010 10:54 pm

Re: settings.json not getting created

Post by goincrazy »

x190 wrote:settings.json /etc/transmission-daemon symlinked to /var/lib/transmsision-daemon/info/settings.json

https://trac.transmissionbt.com/wiki/UnixServer/Debian
Yep, checked there, doesn't exist.
1.22 is around 2 years old. Install a newer version, 1.77 is in backports and 2.03 is in testing.
Yeah, I thought 1.22 looked kind of crusty, but hey, I usually like to play with what the repository recommends...

Pulled 1.77 in tar format, fixed all of the dependencies for compiling it (amazing how little gets loaded on a new machine), did a successful compile, started/stopped the daemon and voila... There's my settings.json file under the .config directory where it belongs.

Thanks.
Post Reply