[capistrano] Re: rsync Operation not Permitted

2013-05-14 Thread Harikrishnan K R
please do sudo chmod -R 777 /opt/hypertable/ your problem will be solved -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to cap

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Donovan Bray
Ensure that there is only one nginx config since you are using port 80 and no server_names defined. Ie remove the default conf in sites-enabled On May 14, 2013, at 4:06 PM, Hassan Schroeder wrote: > On Tue, May 14, 2013 at 3:54 PM, Makru wrote: >> Post.find (:all) >> answers: >> Post Load (1.

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Donovan Bray
Looks like your socket paths match up listen "/tmp/unicorn.blog.sock", :backlog => 64 listen 8080, :tcp_nopush => true You don't need the 8080 listener though it doesn't hurt anything. Do you have rvm installed on the server? If you do you have to sort that out first. You may be starting it wi

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Hassan Schroeder
On Tue, May 14, 2013 at 3:54 PM, Makru wrote: > Post.find (:all) > answers: > Post Load (1.2ms) > =>nil > Is working under development and showing all entries. I assume under > production the table is there, but no entry. > app.get 'posts/new' > answers: > =>200 > Same answer as under develop

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Makru
Post.find (:all) answers: Post Load (1.2ms) =>nil Is working under development and showing all entries. I assume under production the table is there, but no entry. app.get 'posts/new' answers: =>200 Same answer as under development. But the good thing, i know now something about rails console

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Hassan Schroeder
On Tue, May 14, 2013 at 2:05 PM, Makru wrote: > I am able to open a Raisl Console in the current folder on the server. And successfully access your app? Do AR finds, etc.? > The strange thing is, the console opens with : > "Loading production enviroment (Rails 3.2.13) > 1.9.1 :001> " > I have r

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Makru
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

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Donovan Bray
Does the app work in development mode locally? On May 14, 2013, at 6:41 AM, Makru 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 an

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Donovan Bray
Post a gist of your unicorn.rb Make sure your unix sockets are pointing to the same place. Your nginx is pointing to /tmp/... I'd hazzard a bet your unicorn.rb is pointing to the rails root tmp and not the root tmp dir. On May 14, 2013, at 5:43 AM, Makru wrote: > Hello Lee, > > thanks for

Re: [capistrano] After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Donovan Bray
This isn't likely to be a capistrano issue. Shut nginx and unicorn down on the server. Make sure you've made provisions for doing all of the configuration required for RAILS_ENV=production and ensure you are launching unicorn with RAILS_ENV=production Verify you can run a rails console pr

Re: [capistrano] After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Hassan Schroeder
On Tue, May 14, 2013 at 4:25 AM, Makru wrote: > > I checked that Unicorn and NGINX are running on the Debian server. A restart > does not help. > Because i can not see a error during deployment i would be interested to > know how to troubleshoot? Look at the nginx/unicorn/rails logs on the serve

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Makru
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

Re: [capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread 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 wrote: > Hello Lee, > > thanks fo

[capistrano] Re: After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Makru
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: # se

Re: [capistrano] After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread Lee Hambley
Hi Mathias, Probably you forgot to configure a virtual host for your nginx installation. Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 14 May 2013 13:25, Makru wrote: > Hello, > > i am new to all related Ruby and Ruby on Rails and just started some weeks > ago learning with

[capistrano] After successful deployment app not running on production server (RoR/Capistrano/Github)

2013-05-14 Thread 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