Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using with puma and phased-restart #1127

Open
nguyenngoc2505 opened this issue Sep 16, 2024 · 0 comments
Open

Error when using with puma and phased-restart #1127

nguyenngoc2505 opened this issue Sep 16, 2024 · 0 comments

Comments

@nguyenngoc2505
Copy link

Issue description

I've updated puma to using phased-restart. Phased restart only restart worker, master process not load and have an error like below when old release folder have been removed.

["/var/www/proj/shared/bundle/ruby/2.5.0/gems/wkhtmltopdf-binary-0.12.4/bin/wkhtmltopdf", "-q", "--zoom", "0.7", "--margin-top", "0", "--margin-bottom", "0", "--margin-left", "0", "--margin-right", "0", "file:////tmp/wicked_pdf20240916-9256-10of6ll.html", "/tmp/wicked_pdf_generated_file20240916-9256-bz4g9w.pdf"]
Error: PDF could not be generated!
 Command Error: /home/deploy/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.4/lib/bundler/definition.rb:33:in `build': /var/www/proj/releases/20240913043719/Gemfile not found (Bundler::GemfileNotFound)
  from /home/deploy/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.4/lib/bundler.rb:135:in `definition'
  from /home/deploy/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.4/lib/bundler.rb:101:in `setup'
  from /home/deploy/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.4/lib/bundler/setup.rb:20:in `<top (required)>'
  from /home/deploy/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  from /home/deploy/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

System specifications

wicked_pdf gem version (output of cat Gemfile.lock | grep wicked_pdf): wicked_pdf-1.1.0

wkhtmltopdf version (output of wkhtmltopdf --version): wkhtmltopdf 0.12.4

whtmltopdf provider gem and version if one is used:

platform/distribution and version (e.g. Windows 10 / Ubuntu 16.04 / Heroku cedar): Ubuntu 16.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant