# Exporting pdf not working

**URL:** <https://community.penpot.app/t/exporting-pdf-not-working/6184>\
**Category:** Ask the community\
**Created:** [July 31, 2024, 12:42pm UTC](https://community.penpot.app/t/exporting-pdf-not-working/6184 "2024-07-31T12:42:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![swoop124](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/swoop124/32/5762_2.png) [@swoop124](https://community.penpot.app/u/swoop124)\
**Post date:** [July 31, 2024, 12:42pm UTC](https://community.penpot.app/t/exporting-pdf-not-working/6184/1 "2024-07-31T12:42:09Z")

</div>

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

```auto
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

---

<div class="post-metadata">

**Author:** ![Alex](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/alex/32/43_2.png) [@Alex](https://community.penpot.app/u/Alex)\
**Post date:** [August 6, 2024, 5:45am UTC](https://community.penpot.app/t/exporting-pdf-not-working/6184/2 "2024-08-06T05:45:19Z")

</div>

Hi @swoop124

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

Mine looks like this:

```auto
  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! 🙂

---

<div class="post-metadata">

**Author:** ![swoop124](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/swoop124/32/5762_2.png) [@swoop124](https://community.penpot.app/u/swoop124)\
**Post date:** [August 6, 2024, 8:27am UTC](https://community.penpot.app/t/exporting-pdf-not-working/6184/3 "2024-08-06T08:27:06Z")

</div>

Hello @Alex

Thank you very much.

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

Regards  
Swoop

---

<div class="post-metadata">

**Author:** ![Alex](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/alex/32/43_2.png) [@Alex](https://community.penpot.app/u/Alex)\
**Post date:** [August 6, 2024, 8:29am UTC](https://community.penpot.app/t/exporting-pdf-not-working/6184/4 "2024-08-06T08:29:42Z")

</div>

Great!, you are welcome! 🙂

---

<div class="post-metadata">

**Author:** ![Alex](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/alex/32/43_2.png) [@Alex](https://community.penpot.app/u/Alex)\
**Post date:** [August 7, 2024, 10:16am UTC](https://community.penpot.app/t/exporting-pdf-not-working/6184/5 "2024-08-07T10:16:50Z")

</div>

hi @swoop124

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

Thanks!
