Page 1 of 2
Configuring details on a headless server
Posted: Thu Jan 28, 2010 10:09 pm
by Xi0N
Im using debian 5 for this task.
Here is my situation: Before i updated today to 1.2, i have been using deluge 1.x, running a script as the user "john"
All the config files were under /home/john which is the current user i ssh into my server, and the downloaded files were placed in /home/john , while the .torrent files wer elocated under /home/john/.torrents
After updating to 1.2, i find it a bit confusing, as i followed the how-to for installing 1.2 on a headless server, and one of the steps was to create a "deluge" user, which seems to be the one that manages everything.
Is it correct to run the server as user john, or should i start it as deluge, and create a separate account for used "john"? I am a bit confused on how this version 1.2 goes.... can anyone help me a bit?
Re: COnfiguring details on a headless server
Posted: Thu Jan 28, 2010 11:52 pm
by andar
Xi0N wrote:Im using debian 5 for this task.
Here is my situation: Before i updated today to 1.2, i have been using deluge 1.x, running a script as the user "john"
All the config files were under /home/john which is the current user i ssh into my server, and the downloaded files were placed in /home/john , while the .torrent files wer elocated under /home/john/.torrents
After updating to 1.2, i find it a bit confusing, as i followed the how-to for installing 1.2 on a headless server, and one of the steps was to create a "deluge" user, which seems to be the one that manages everything.
Is it correct to run the server as user john, or should i start it as deluge, and create a separate account for used "john"? I am a bit confused on how this version 1.2 goes.... can anyone help me a bit?
You don't need to create a separate 'deluge' user account. You can run 1.2 just the same as you were running 1.1.
Re: COnfiguring details on a headless server
Posted: Fri Jan 29, 2010 4:44 am
by johnnyg
I've removed the "deluge" user stuff from
http://dev.deluge-torrent.org/wiki/UserGuide/InitScript as it was causing confusion.
Re: COnfiguring details on a headless server
Posted: Fri Jan 29, 2010 11:35 pm
by Xi0N
Ok, i made ir work with the config from before the correction.. i suppose you corrected the script as well, no?
Another issue im facing is that i allways get the "no incoming connections" status.
See, i am running the daemon on the headless server, and then, iconnect to it via the gtk interface from another pc.... and in the down part i allways have the red circle with the "No incoming connections" message.
I checked that i have upnp activated both in deluge and in my router.
Then, i checked the port forwarding, i changed the default ports in deluge to 9881-9891 and they are the only ones i forwarded to my server's IP.... both tcp and udp.... but i still get the error message.... is there any other port i must forward?
Thanks!!
Re: COnfiguring details on a headless server
Posted: Sat Jan 30, 2010 5:10 am
by dasen
I'm having some problems installing Deluge in a headless server. I've done the following: I installed deluged, deluge-webui , then ran 'deluged' and in the same machine, launched 'deluge -u web' , then browsed to localhost:8112, it asks me my password, I put it in, no problem. It then shows a window where it reads '127.0.0.1:58846', version 1.20, and 'Ligado' (in english I think is connected). I click close, but then, the status bar of the 'site' says I'm not connected and all the buttons are greyed out, except for preferences and "Gerenciador de Conexão (In english it must be Connection Manager). Does anyone have this problem? And know how to correct it? Thanx.
Re: COnfiguring details on a headless server
Posted: Sat Jan 30, 2010 5:28 am
by johnnyg
Xi0N wrote:Ok, i made ir work with the config from before the correction.. i suppose you corrected the script as well, no?
Another issue im facing is that i allways get the "no incoming connections" status.
See, i am running the daemon on the headless server, and then, iconnect to it via the gtk interface from another pc.... and in the down part i allways have the red circle with the "No incoming connections" message.
I checked that i have upnp activated both in deluge and in my router.
Then, i checked the port forwarding, i changed the default ports in deluge to 9881-9891 and they are the only ones i forwarded to my server's IP.... both tcp and udp.... but i still get the error message.... is there any other port i must forward?
Thanks!!
What does Preferences->Network->Test Active Port say?
If you get a green tick then I wouldn't worry about the "No incoming connections" warning.
Re: COnfiguring details on a headless server
Posted: Sat Jan 30, 2010 10:57 am
by Xi0N
Its weird, if i go to preferences -> Network, it says: Active port: "0"
Then, if i click on "Test active ports" i get a yellow warning sign........
Re: COnfiguring details on a headless server
Posted: Mon Feb 01, 2010 1:28 pm
by Xi0N
I have been investigating this last days about the subject..... i still have the same problems:
I tryed to check if the machine was really firewalled, so i tryed putting it into my dmz from my rouuter configuration......... this is supossed to make every packet to be redirected to the machine, not aplying the forwarding rules....... but i still get the very same problems..
Is there any other way i can check the ports are working correctly...
I actually did not notice any performance problems when downloading or seeding.......
Re: COnfiguring details on a headless server
Posted: Mon Feb 01, 2010 1:42 pm
by johnnyg
You can double check to see if the port is open with
http://www.canyouseeme.org/
What's more intriguing is why the active port is 0.
Does running the daemon with debug logging show any errors?
Re: COnfiguring details on a headless server
Posted: Mon Feb 01, 2010 6:45 pm
by Xi0N
Ok, i set the Web UI to be listening on port 9192, if i check this port (forwarded as tcp in my router to the headless server running deluge), i get the message "I can see your service on...................... (IP), (port)", so the forwarding is properly made.
I think deluge is not setting the ports i fixed in the configuration.... how can i enable debug mode and check which ports is he using?
Its a shame i cannot make deluge work perfectly again...... help!!