Webroar not able to deploy a specific app
-
GeekTantra
This doesn't happen when I create the app in a fresh install of WebROaR, But whenever I do a
service webroar restartthis bug appears. -
Dharmarth Shah
- Tag changed from internal server error to application loading, internal server error
Thanks for taking time to report the issue.
From the log, we felt it could be Hobo application creating this problem, but sample Hobo application is running perfectly fine at our end.
Could you please give us following details to debug the issue throughly?
- Rails plugins name which are likely be creating the
issue
- Operating System
- Ruby version
-
Dharmarth Shah
- State changed from new to open
-
GeekTantra
Thanks for the reply.
As I mentioned earlier the error doesn't appear when WebROaR is freshly installed. I am able to run the Hobo application at-ease. But once I do a
service webroar restartthe error starts appearing.The app runs perfectly fine on mongrel as well.
Here are the details
- Rails Plugins: There are no plugins beyond the standard Hobo
and its dependencies.
- Operating System/Kernel: Ubuntu 9.04 Server
Linux host 2.6.18.8-xen #1 SMP Fri Oct 16 21:58:15 EDT 2009 x86_64 GNU/Linux - Ruby Version:
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
- Rails Plugins: There are no plugins beyond the standard Hobo
and its dependencies.
-
Dharmarth Shah
Sorry, my bad,
service webroar restartreproduced issue for me.From the man pages of
servicecommand,service runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /.
...
...
LANG and TERM are the only environment variables passed to the init scripts.
The application loading is getting failed because, Rails generator is looking into home directory to locate the generators, and for that it is using HOME environment variable.
Any specific reason behind restarting server using service command?
You could use
webroar restartor/etc/init.d/webroar restartto restart the server preserving the environment variables. Please let us know how it goes for you. -
GeekTantra
Thanks a lot... Seems that was the problem. Its resolved now.
-
Dharmarth Shah
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
