difficulties installing new pod

52 views
Skip to first unread message

nirit topol

unread,
Feb 23, 2012, 3:02:43 AM2/23/12
to diaspora-dev
I try to install new pod on ubuntu server on amazon aws.
I installed all the gems, the diaspora application, mysql and nothing
is happened
I am working on it couple of days and with not much of success.
please , can anyone help me?

Roger That

unread,
Feb 23, 2012, 6:18:14 AM2/23/12
to diaspo...@googlegroups.com

how experienced are you. maitainign a server
via shell/console?

which installation-instructions did you followed?

can you paste error/warning/debug-output?

please be as detailed as possible, like describing your steps
and where you failed.

Tom Kazimiers

unread,
Feb 23, 2012, 6:20:08 AM2/23/12
to diaspo...@googlegroups.com
Hi Nirit,

On 23.02.2012 09:02, nirit topol wrote:
> I try to install new pod on ubuntu server on amazon aws.
> I installed all the gems, the diaspora application, mysql and nothing
> is happened

are you running a web-server -- like nginx, apache or lighttpd -- as well?

Cheers,
Tom

signature.asc

nirit topol

unread,
Feb 24, 2012, 2:34:27 AM2/24/12
to diaspora-dev
1) I followed the git-hub installation guide (starting with the ubuntu
guide and proceeded with the general guide)
2) For begining I chosed lighttpd as my web-server - It seems that it
run well (as you can see at http://ec2-50-19-133-183.compute-1.amazonaws.com)
3) thats the point everything in the installation went well, the
database seems filled OK, the gem were installed fine, no error
message running the diaspora application just ended up with listening
to port 3000... message.

I am adding netstat output.

ubuntu@domU-12-31-39-03-28-47:~/diaspora$ netstat -tulp

Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 localhost:mysql *:*
LISTEN -
tcp 0 0 localhost:6379 *:*
LISTEN -
tcp 0 0 *:www *:*
LISTEN -
tcp 0 0 *:ssh *:*
LISTEN -
tcp 0 0 *:3000 *:*
LISTEN 25326/ruby1.8
tcp6 0 0 [::]:ssh [::]:*
LISTEN -
udp 0 0 *:bootpc
*:* -

4) to be honest I have not much expirience in maintaining servers, I
come from development area in most.
but may be diaspora is a good start :-) and I have good friends
helping me with cgi components..
I founded that facebook have great power but I have couple of problems
with their implemantation that i find diaspora answer them well.
I thought that it will be nice to run a pod where my family
friends ... will be able to connect each other without anoying privacy
problems and lot of comercial stuff.
however the current version of diaspora is not working well in RTL (as
Hebrew) languge (by the way it worked better in earlier versions...)
and I want to try to correct these problems (I think mainly in the
sass).

I belive that I am close to succeed runing the server but I dont know
what is wrong,

Thanks,
Nirit


Jonne Haß

unread,
Feb 24, 2012, 5:00:32 AM2/24/12
to diaspo...@googlegroups.com
Yep looks quite good, you now just need to reverse proxy thin with
lighttpd, google will help you along with that ;)

nirit topol

unread,
Mar 4, 2012, 4:55:34 AM3/4/12
to diaspora-dev
I allreay inserted those lines to the lighttpd.conf file by followng
the https://github.com/diaspora/diaspora/wiki/Using-lighttpd-as-webserver
step in the instructins

server.reject-expect-100-with-417 = "disable"


$HTTP["host"] =~ "(^|\.)pod\.url\.com$" {
server.document-root = "/home/ubuntu/diaspora/public/"
url.rewrite = ("^/$" => "/users/sign_in" )

$HTTP["url"] !~ "\.(js|css|gif|jpg|png|ico|txt|swf|html|htm|
svg)$" {
proxy.server = ("" => (( "host" => "127.0.0.1", "port"
=> 3000)))
}
}

Is it enough ?
please I try to setup the server and I just cant figure out what is
the problem.

thans,

Ricardo Wurmus

unread,
Mar 4, 2012, 5:07:17 AM3/4/12
to diaspo...@googlegroups.com
> Is it enough ?
> please I try to setup the server and I just cant figure out what is
> the problem.

Can you connect to port 3000 on the server, e.g. with curl? What is
the problem? What do you see when visiting your domain with a browser?

Run the following on another machine:

nmap server-name.domain

Do you see port 80 or 443 in the list? If not, then your proxying
server is not running and not listening to the default HTTP/HTTPS
ports. If they appear in the list, then there's something wrong with
the proxying itself or the application.

nirit topol

unread,
Mar 7, 2012, 11:26:42 AM3/7/12
to diaspo...@googlegroups.com
Great Success
 
With you help I founded the reason and fixed it by changing the rules in the Amazon AWS firewall.
The app seems running fine, there is one problem which I will open new post about.
Thanks very much
I hope now I will succeed to improve the RTL so Diaspora will be friendlier to Hebrew and other RTL languages.


בתאריך יום חמישי, 23 בפברואר 2012 10:02:43 UTC+2, מאת nirit topol:
Reply all
Reply to author
Forward
0 new messages