Hello, thanks for the answers. Learned a lot through the discussion :-)
Here is the unicorn.rb : https://gist.github.com/Makru/5579322 The only pointing i can see is : pid APP_PATH + "/tmp/pids/unicorn.pid" The small test application is running on the Windows development PC. I am able to open a Raisl Console in the current folder on the server. The strange thing is, the console opens with : *"Loading production enviroment (Rails 3.2.13) 1.9.1 :001> "* I have ruby 1.9.3p392 installed on the server and development pc. ruby -v is showing that. Should it not the same version in the rails console ? The rails version is like installed. production.log looks ok, no error unicorn.blog.stderr.log shows no error I can not find a nginx log. This is the deploy.rb : https://gist.github.com/Makru/5579470 Perhaps this helps... Regards Mathias Am Dienstag, 14. Mai 2013 17:49:22 UTC+2 schrieb dbray: > > Does the app work in development mode locally? > > On May 14, 2013, at 6:41 AM, Makru <[email protected] <javascript:>> > wrote: > > Hello again, > > nginxis running and showing the rails welcome page. Only the application > and the link at the Rails welcome page called > *About your application’s environment* are not reachable and showing only: > > 404 Not Found > > nginx/1.4.0 > > Thats why i am not sure, where the problem is.... > > Regards > > Mathias > > > > Am Dienstag, 14. Mai 2013 15:28:15 UTC+2 schrieb Lee Hambley: >> >> Sorry Mathias, >> >> This is the wrong place to get nginx support, I'd try #nginx on >> Freenode's IRC network. >> >> (it's a time thing, perhaps someone else on the list can help you) >> >> Lee Hambley >> -- >> http://lee.hambley.name/ >> +49 (0) 170 298 5667 >> >> >> On 14 May 2013 14:43, Makru <[email protected]> wrote: >> >>> Hello Lee, >>> >>> thanks for your hint. Please have a look at: >>> >>> https://gist.github.com/Makru/5575568 >>> >>> This is my nginx.conf file, named blog.conf which is stored under >>> >>> /etc/nginx/conf.d/blog.conf on the production server. Is there >>> something missing? >>> >>> I am wondering about line 7 as comment: >>> >>> # server_name example.com; >>> >>> Something else missing or wrong? >>> >>> Regards >>> Mathias >>> >>> >>> Am Dienstag, 14. Mai 2013 13:25:21 UTC+2 schrieb Makru: >>> >>>> Hello, >>>> >>>> i am new to all related Ruby and Ruby on Rails and just started some >>>> weeks ago learning with tutorials and books. >>>> >>>> Following one capistrano deployment tutorial, everything looks fine but >>>> the RoR application is not running. >>>> >>>> CAP DEPLOY works according the Windows cmd-window but opening the >>>> webpage via a browser results in the: >>>> >>>> *Welcome aboard You’re riding Ruby on Rails!* >>>> >>>> -window, which is ok but if i go to the application, i get a *404 error >>>> * from nginx. >>>> >>>> >>>> I checked that Unicorn and NGINX are running on the Debian server. A >>>> restart does not help. >>>> >>>> My enviroment : >>>> >>>> - Development Windows 7 >>>> - Production Debian 6 with nginx and Unicorn >>>> - Ruby and Rails newest via RVM on Debian and Railsinstaller on >>>> Windows >>>> - Deployment using capistrano & github & SSH >>>> >>>> Because i can not see a error during deployment i would be interested >>>> to know how to troubleshoot? >>>> >>>> Many thanks in advance. >>>> >>>> Best Regards >>>> >>>> Mathias >>>> >>>> >>>> >>>> -- >>> -- >>> * You received this message because you are subscribed to the Google >>> Groups "Capistrano" group. >>> * To post to this group, send email to [email protected] >>> * To unsubscribe from this group, send email to >>> [email protected] For more options, visit this group at >>> http://groups.google.com/group/capistrano?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Capistrano" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- > -- > * You received this message because you are subscribed to the Google > Groups "Capistrano" group. > * To post to this group, send email to [email protected]<javascript:> > * To unsubscribe from this group, send email to > [email protected] <javascript:> For more options, visit > this group at http://groups.google.com/group/capistrano?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
