Wicked_pdf: Stylesheets and images fail to render on Ubuntu 18.04

Created on 25 Jan 2019  路  3Comments  路  Source: mileszs/wicked_pdf

We use the Rails assets pipeline for stylesheets and images, along with a CDN configured as an asset_host.

We upgraded from Ubuntu 14.04 (Trusty Tahr) to Ubuntu 18.04 LTS.
After the upgrade, we noticed that our PDFs generated with wicked_pdf gem were missing their styling and the logo png.

We reverted to Ubuntu 14.04 (Trusty Tahr), and it worked again.

We are running these on cloud foundry buildpack stacks (cflinuxfs3 which is built off of Ubuntu 18.04, cflinuxfs2 is built off of Ubuntu 14.04).

Versions:
wkhtmltopdf-binary (0.12.4)
wicked_pdf (1.1.0)
Rails 4.2.11

Most helpful comment

@lisamcho any chances you've found a solution/workaround for this one? Having the same problem :/

All 3 comments

Possibly related to https://github.com/mileszs/wicked_pdf/issues/794 (since Heroku 16 is based on Ubuntu 16)

@lisamcho any chances you've found a solution/workaround for this one? Having the same problem :/

@lisamcho I am also curious if you found a solution. I have tried a few things but none work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kovloq picture kovloq  路  4Comments

andheiberg picture andheiberg  路  3Comments

douglasep picture douglasep  路  4Comments

dgdosen picture dgdosen  路  5Comments

nathanhinchey picture nathanhinchey  路  6Comments