These are chat archives for allegro/ralph

21st
Dec 2016
Miriam Cox
@marzipanic
Dec 21 2016 15:08
Back at this project. When i run "echo $RALPH_DEBUG" it kicks back "1"
(So, still not able to get Ralph working.)
I mean, that should be correct, since I have debug mode turned on, per the settings. But for whatever reason, I still get a 500 error when attempting to visit the IP address of the site
Miriam Cox
@marzipanic
Dec 21 2016 15:14
I should note, that visiting the IP kicks me to "http://10.139.42.183/login/?next=/" so redirect is working. But for whatever reason, nothing shows up there. Hmm.
(Just a 500 server error)
✪ vi4m Marcin Kliks
@vi4m
Dec 21 2016 15:52
when you do sudo it probably clear this variables
maybe try something like "sudo su -" and then set all variables, and then run ralph ...
(i'm just guessing right now)
setting RALPH_DEBUG should show all messages instead of 500
so i suppose it is not recognized
Miriam Cox
@marzipanic
Dec 21 2016 15:54
Ahhh, hmm.
Miriam Cox
@marzipanic
Dec 21 2016 16:00
Ralph command isn't recognized for the root user
hm.
✪ vi4m Marcin Kliks
@vi4m
Dec 21 2016 16:01
you have to export all variables again (including PATH)
Miriam Cox
@marzipanic
Dec 21 2016 16:11
Did that, and checked (with env command)
Still getting server 500.
I will try running this on a fresh ubuntu install next week. Could be an issue with the set up I'm on.
✪ vi4m Marcin Kliks
@vi4m
Dec 21 2016 16:11
maybe @mkurek has some idea
looks more like an installation issue to me
swb
@spencewb16_twitter
Dec 21 2016 16:23
http://ralph.readthedocs.io/en/latest/installation.html#apache I've been trying to follow this, but i think this is for an older version. is there an updated doc on how to deploy ralph using apache?
✪ vi4m Marcin Kliks
@vi4m
Dec 21 2016 16:24
no at the moment.
should be quite similar, we still use gunicorn
but we prefer nginx
swb
@spencewb16_twitter
Dec 21 2016 16:25
hmm ok @vi4m I will check this out
✪ vi4m Marcin Kliks
@vi4m
Dec 21 2016 16:27
when run in docker, but should help you to understand the basic idea
should be easy to setup