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. Dokuwiki
  3. Uploaded images not appearing

Uploaded images not appearing

Scheduled Pinned Locked Moved Solved Dokuwiki
13 Posts 5 Posters 3.9k Views 5 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.
  • N ntnsndr

    I've just deployed a new DokuWiki, and none of the images I have uploaded are appearing on the site. Could this be some kind of permissions issue? I'm not sure how to begin diagnosing this. But let me know if anything comes to mind!

    Thanks for your help.

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #2

    @ntnsndr I assume the upload succeded? After you upload, you have to insert it into the post with something like [[File:Tahaan.JPG]] .

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #3

      You will also find the uploaded image somewhere inside /app/data/images . You can check using the File manager.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        ntnsndr
        wrote on last edited by
        #4

        Sorry for the delay. No, no success. I did upload them, but the logo.png image is not loading. See here: https://socialcoopwiki.medlab.host/

        It also doesn't appear in the backend. Could it be that the file system permissions are not set properly?

        N 1 Reply Last reply
        0
        • N ntnsndr

          Sorry for the delay. No, no success. I did upload them, but the logo.png image is not loading. See here: https://socialcoopwiki.medlab.host/

          It also doesn't appear in the backend. Could it be that the file system permissions are not set properly?

          N Offline
          N Offline
          ntnsndr
          wrote on last edited by
          #5

          Never mind, the permissions are all the same. And the file appears in the Cloudron file manager. But on the wiki it appears broken.

          8165f07a-2af4-45aa-953b-18a572e71f52-image.png

          1 Reply Last reply
          0
          • N Offline
            N Offline
            ntnsndr
            wrote on last edited by
            #6

            What's also weird is that in the DokuWiki media backend, not even the default DW images show (so maybe the problem is with the whole folder?):

            4a2877d8-1938-4b19-85ab-0fc5da6c7105-image.png

            1 Reply Last reply
            0
            • B Offline
              B Offline
              balticpenguin
              wrote on last edited by
              #7

              I have the same problem.

              I'm using the media manager to upload the images. I can see the settings of the images but it doesn't appear in preview.

              The files are stored under /app/data/data/media/

              I insert the images on the wiki with {{ ::image.png?400 |}}

              What is the reason that the images are not visible on the page?

              Thanks for your help!

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #8

                I can reproduce the issue easily here. The files get correctly uploaded but fetching them from the app then results in 0bytes being delivered, while all headers are even correctly set. Still investigating...

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

                  Possibly useful:

                  https://www.dokuwiki.org/faq:brokenimages

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #10

                    thanks for that hint, unfortunately those instructions also didn't seem to apply to our case. Quite strange how serving up static files can be so hard for a php application with obscure options there.

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

                      After further investigation, it very much seems that there is some encoding issue happening during the delivery of those images. Still this is a bit obscure to me and I haven't found a solution yet.

                      1 Reply Last reply
                      1
                      • B Offline
                        B Offline
                        balticpenguin
                        wrote on last edited by
                        #12

                        Hi,
                        is there a solution by now?

                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #13

                          This is fixed in the latest package.

                          1 Reply Last reply
                          1
                          • girishG girish has marked this topic as solved on
                          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