Configuring details on a headless server

General support for problems installing or using Deluge
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Configuring details on a headless server

Post 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?
Last edited by Xi0N on Mon Feb 01, 2010 7:07 pm, edited 1 time in total.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: COnfiguring details on a headless server

Post 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.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: COnfiguring details on a headless server

Post by johnnyg »

I've removed the "deluge" user stuff from http://dev.deluge-torrent.org/wiki/UserGuide/InitScript as it was causing confusion.
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: COnfiguring details on a headless server

Post 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!!
dasen
New User
New User
Posts: 5
Joined: Sun Dec 27, 2009 3:51 pm

Re: COnfiguring details on a headless server

Post 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.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: COnfiguring details on a headless server

Post 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.
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: COnfiguring details on a headless server

Post 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........
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: COnfiguring details on a headless server

Post 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.......
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: COnfiguring details on a headless server

Post 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?
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: COnfiguring details on a headless server

Post 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!!
Post Reply