Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Penpot
  3. Image uploads don't seem to work

Image uploads don't seem to work

Scheduled Pinned Locked Moved Solved Penpot
4 Posts 2 Posters 700 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • bmannB Offline
    bmannB Offline
    bmann
    wrote on last edited by
    #1

    I installed Penpot and tried to upload a couple of images. Console shows 404 for all images, try and open them in new tab and get an nginx 404 page.

    Some logs:

    Nov 01 21:29:43172.18.0.1 - - [02/Nov/2023:04:29:43 +0000] "POST /api/rpc/command/upload-file-media-object HTTP/1.1" 200 257 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
    Nov 01 21:29:432023/11/02 04:29:43 [error] 21#21: *203 open() "/opt/data/assets/e9/fe/2d89d5184f4a82abf720c575c846" failed (2: No such file or directory), client: 172.18.0.1, server: _, request: "GET /assets/by-file-media-id/d03eaf6a-0c80-80d2-8003-5ed6ee338e92 HTTP/1.1", upstream: "http://127.0.0.1:6060/assets/by-file-media-id/d03eaf6a-0c80-80d2-8003-5ed6ee338e92", host: "penpot.commonscomputer.com"
    Nov 01 21:29:43172.18.0.1 - - [02/Nov/2023:04:29:43 +0000] "GET /assets/by-file-media-id/d03eaf6a-0c80-80d2-8003-5ed6ee338e92 HTTP/1.1" 404 178 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
    
    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      I can reproduce this, strangely it works for SVGs but not PNGs

      1 Reply Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #3

        Fixed with latest package update

        1 Reply Last reply
        3
        • nebulonN nebulon has marked this topic as solved on
        • bmannB Offline
          bmannB Offline
          bmann
          wrote on last edited by
          #4

          Thanks @nebulon for the prompt fix!

          1 Reply Last reply
          1
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search