Image uploads don't seem to work
Solved
Penpot
-
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"
-
-