In newer passenger versions the output of passenger -v has changed. capistrano-passenger tries to parse the version and now causes the error undefined method '[]' for nil:NilClass. To fix...
...this you only need to upgrade the capistrano-passenger gem. Therefore run bundle update capistrano-passenger --conservative. The version change of passenger from 6.0.7 to 6.0.8 has triggered this problem...
If you are using PDFKit / wkhtmltopdf, you might as well want to use custom fonts in your stylesheets. Usually this...
...certificates. We also have cards that describe how to use SSL in development with Passenger, Puma and Thin. Installation of mkcert mkcert will create a certificate for development without any...
Alternative workarounds Install the version in your Gemfile.lock manually before running bundler. Configure Passenger to preload Bundler
...exceptions. The pool size (default 5) needs to fit to the maximum number of Passenger workers and Sidekiq worker. If you have a shared database server many possible connections are...
So you probably see the following error trace within your Passenger log file if you got here: [ pid=123 thr=1401414 file=ext/nginx/HelperAgent.cpp:964 time...
...Uncaught exception in PassengerServer client thread: exception: Cannot accept new connection: Too many open files (24) backtrace: in 'Passenger::FileDescriptor Client::acceptConnection()' (HelperAgent.cpp:429) in 'void Client::threadMain()' (HelperAgent.cpp:953)
...application that comes with a config.ru, simply run rackup Or, if you have installed Passenger Standalone: passenger start For HTTPS, use this snippet: puma -b ssl://localhost...
Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version. It also is not compatible with older versions of passenger, so bring...
Ubuntu 12.04 LTS x64, Ruby 1.8.7, Rails 2.13, PDFKit 0.5.4, Phusion Passenger Apache 2 I ran into this, when I started using passenger to deal with the Single Thread Issue...
bundle pristine nokogiri and restart the application servers (e.g. b cap passenger:restart) This should install the right nokogiri version and make the warning go away...
Clones a new release, symlinks it to current but does not restart Passenger :default update (see above), then restart This one is used when running cap deploy
...change code. If you generally need SSL for development, you probably want to use Passenger. Create a directory .ssl in your home directory. Go there and create a self-signed...
...in milliseconds." See http://www.imagemagick.org/script/resources.php for a full list. If you're using Passenger and Apache, use SetEnv within the VHost in question: SetEnv MAGICK_THROTTLE 100
...and sometimes fails with this message: "undefined method `bytesize' for # " Starting the application in Passenger gave me a stacktrace in log/development.log that pointed to the actual problem. Possible causes discovered...
...I tried to upload the same unchanged video file to a production server (Apache / Passenger). It worked immediately. I guess iOS is picky about some HTTP header that my local...
...that is, the implicit default), and only by typing localhost into your browser the Passenger pref pane won't work any more (actually it does, but it has no effect...
Capistrano recipes for database backups before migrations, passenger deployment strategy, release tagging in Git repos...
Best results in other decks
With passenger-status --show=requests you can get a huge JSON showing current information about the running passenger processes. This can be useful if you want to find out what...
...running request or is stuck. You can search for the PID of the process in passenger-status --show=requests: # (this is just a snippet) "last_data_receive_time" : { "local" : "Wed...
Our Rails deployments are run by passenger on the application servers, to automatically restart passenger workers after a deploy you should include the capistrano-passenger Gem in your Gemfile by...
...adding this line: gem 'capistrano-passenger', require: false And install it by calling bundle: $ bundle To actually be able to use the tasks this Gem provides you have to also...