Exporting pdf not working

hello,

i just installed penpot as selfhosted using docker compose.
After a few config problems i got it running. And so far it is woring great.
So i designed a few littel objects.
Now i am finished and would like to export them as PDF so i can show them to my friend.
But when i select file → Export the workspace to PDF, then I select the one Board and click export nothing happens exept in the right upper corner appears a text “exporting … 0/1” thats it.

this is the output from docker

penpot-exporter-1 | DBG [app.handlers] hint="process-request", cmd=:export-frames
penpot-exporter-1 | INF [app.browser] origin="factory", action="create", browser-id=13
penpot-exporter-1 | INF [app.browser] origin="factory", action="validate", browser-id=13, obj=#object[Browser [object Object]]
penpot-exporter-1 | TRC [app.browser] hint="exec:handle:start", browser-id=13
penpot-exporter-1 | TRC [app.util.shell] hint="schedule tempfile deletion", path="/tmp/penpot-exporter/penpot.tmp.render.pdf.781bcfea-4616-8062-8004-bd73f08af521-0.pdf", scheduled-at="Wed Jul 31 2024 13:24:04 GMT+0000 (Coordinated Universal Time)"
penpot-exporter-1 | INF [app.renderer.pdf] uri=#lambdaisland/uri "http://penpot-frontend/render.html?file-id=806ee2bb-53cd-81ef-8004-bc44ac383ccb&page-id=806ee2bb-53cd-81ef-8004-bc44ac383ccc&object-id=c19578b7-0de4-804a-8004-bc4fc00245d5&route=objects"
penpot-exporter-1 | TRC [app.browser] hint="exec:handle:end", browser-id=13
penpot-exporter-1 | TRC [app.util.shell] hint="schedule tempfile deletion", path="/tmp/penpot-exporter/penpot.tmp.pdfunite.806ee2bb
-53cd-81ef-8004-bc44ac383ccb.781bcfea-4616-8062-8004-bd73f477ff6d-0.pdf", scheduled-at="Wed Jul 31 2024 13:24:08 GMT+0000 (Coordinated Universal Time)"
penpot-exporter-1 | TRC [app.util.shell] fn=:run-cmd, cmd="pdfunite /tmp/penpot-exporter/penpot.tmp.render.pdf.781bcfea-4616-8062-8004-bd73f08af521-0.pdf /tmp/penpot-exporter/penpot.tmp.pdfunite.806ee2bb-53cd-81ef-8004-bc44ac383ccb.781bcfea-4616-8062-8004-bd73f477ff6d-0.pdf"
penpot-exporter-1 | INF [app.browser] origin="factory", action="destroy", browser-id=13

The “exporting… 0/1” is displayed anyways, no error as far as i see.
I had it running for longer than 5 minutes.
I have to use Nginx Proxy Manager as a Reverse Proxy to be able to use it from outside my LAN, aut i tried it without the NPM but no difference.
When i try to select one single item and select export, this is working fine.
i’ve tried it with Firefox esr an Edge.

The only way i found to export all of the opjects, is to group them together an export the group. When it is only one object, it seems to work.

Any ideas how to fix that?
Export to PDF is extremly vital for me.

regards

Hi @swoop124

In your docker-compose.yaml could you please try adding PENPOT_TENANT=default to the penpot-exporter entry?

Mine looks like this:

  penpot-exporter:
    image: "penpotapp/exporter:latest"
    restart: always
    networks:
      - penpot

    environment:
      # Don't touch it; this uses internal docker network to
      # communicate with the frontend.
      - PENPOT_PUBLIC_URI=http://penpot-frontend

      ## Redis is used for the websockets notifications.
      - PENPOT_REDIS_URI=redis://penpot-redis/0
      - PENPOT_TENANT=default

We will fix the default tenant for future docker releases as soon as we can. Thanks for reporting! :slight_smile:

Hello @Alex

Thank you very much.

I tried to export the board, it is working great now.

Regards
Swoop

1 Like

Great!, you are welcome! :slight_smile:

hi @swoop124

We just released 2.1.2 docker images where this setting should be correctly configured by default :slight_smile:

Thanks!