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. Postiz
  3. Issue with uploading images

Issue with uploading images

Scheduled Pinned Locked Moved Solved Postiz
6 Posts 4 Posters 325 Views 4 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.
  • T Offline
    T Offline
    TheMoodBoardz
    wrote on last edited by
    #1

    Hi, I seem to be having issues with my install of Postiz, when creating a post it appear that it does not display a preview of the image uploaded to the post nor does it attach the image to the post as every platform returns 404

    1 Reply Last reply
    0
    • BrutalBirdieB Offline
      BrutalBirdieB Offline
      BrutalBirdie
      Partner
      wrote on last edited by
      #2

      Thanks for the report. I could reproduce this.

      Web Terminal:

      Mar 30 01:56:03 ⨯ upstream image response failed for https://postiz.cloudron.dev/uploads/2025/03/30/49382b221aa01017ca410af12b0ed4d84.jpeg 404

      Browser Network Logs as HAR:
      https://paste.cloudron.io/yepamidelo.json

      The file in question exists on the system tho:

      root@c9f0d043-77ae-437c-af76-61fac038ff04:/app/code# ls -lah /app/data/data/2025/03/30/
      total 560K
      drwxr-xr-x 2 cloudron cloudron 4.0K Mar 30 00:54 .
      drwxr-xr-x 3 cloudron cloudron 4.0K Mar 30 00:54 ..
      -rw-r--r-- 1 cloudron cloudron 4.2K Mar 30 00:54 49382b221aa01017ca410af12b0ed4d84.jpeg
      -rw-r--r-- 1 cloudron cloudron 541K Mar 30 00:54 9efd2873af79aa2b26100a788471cbd86.jpg
      

      There is a similar issue here: https://github.com/gitroomhq/postiz-app/issues/380

      Like my work? Consider donating a drink. Cheers!

      1 Reply Last reply
      2
      • BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by BrutalBirdie
        #3

        @staff

        In app debug mode.
        For some reason and do not ask me why.
        When using /uploads for https://git.cloudron.io/packages/postiz-app/-/blob/master/start.sh?ref_type=heads#L71 and https://git.cloudron.io/packages/postiz-app/-/blob/master/start.sh?ref_type=heads#L73 and creating /uploads and giving perms chown -R cloudron:cloudron /uploads.

        This just works. 🤔
        46179691-dabe-49af-8cb3-a3119068b0e5-image.png

        Sooooo 🤷
        Let's just create /uploads as symlink to /app/data/data 😬
        This feels wrong... but works, I tested it.

        PS: Youtube posting is bricked it seems. But that is from the app it self.
        [Error] posting on youtube TypeError: Cannot read properties of undefined (reading 'releaseURL')

        Like my work? Consider donating a drink. Cheers!

        1 Reply Last reply
        3
        • BrutalBirdieB BrutalBirdie referenced this topic on
        • BrutalBirdieB Offline
          BrutalBirdieB Offline
          BrutalBirdie
          Partner
          wrote on last edited by
          #4

          Found a real fix. App will be updated.

          Like my work? Consider donating a drink. Cheers!

          1 Reply Last reply
          2
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            Should be fixed with latest released package version. Thanks @BrutalBirdie , good find!

            Hopefully the upstream change will be accepted https://github.com/gitroomhq/postiz-app/issues/712

            1 Reply Last reply
            1
            • nebulonN nebulon marked this topic as a question on
            • nebulonN nebulon has marked this topic as solved on
            • andreasduerenA Offline
              andreasduerenA Offline
              andreasdueren
              wrote last edited by
              #6

              Oh I think this is why I can't seem to get uploads to R2 working, because this is hardcoded now?

              1 Reply Last reply
              0
              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