Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i have been trying to configure transmission-daemon so i can connect using the webui avaliable at http://server.ip-address:9091 , but i just get a message telling me that i should either disable the ip address whitelist or add my current ip to it.

I edited the file avaliable at /etc/transmission-daemon/settings.json and modify the rpc-whitelist-enabled parameter to false, save the file and restart the service with: sudo service transmission-daemon restart. After that i double-check the settings.json i just modified just to discover that all my changes have been undone. What is goin on here?, any one else have seen this behaviour before?

share|improve this question
1  
Okay... just discovered what was going on, if you edit the settings.json file you must restart the service with: sudo invoke-rc.d transmission-daemon reload –  AcidRod75 Feb 5 '13 at 23:28
4  
Transmission daemon rewirtes the config file on exit. To edit it without overwrite you have to sudo service transmission-daemon stop before editing. –  con-f-use Feb 5 '13 at 23:30
    
@con-f-use Please put your comment as an answer. It deserves to be accepted as the correct response. –  Zoot Oct 9 '13 at 21:02
add comment

1 Answer

up vote 2 down vote accepted

Transmission daemon re-wirtes the configuration file with the old options when it's exits. To make your changes persist, you need to edit the configuration file without the deamon running. So first:

sudo stop transmission-daemon

Or if you did not install it via Software Center / Official repositories:

sudo killall -HUP transmission-da

Afterwards you can edit the settings.json as you would expect and then restart transmission:

sudo start transmission-daemon 
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.