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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Uploaded images not appearing

    Dokuwiki
    5
    13
    171
    Loading More Posts
    • 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 last edited by

      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.

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @ntnsndr last edited by

        @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 Reply Quote 0
        • girish
          girish Staff last edited by

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

          1 Reply Last reply Reply Quote 0
          • N
            ntnsndr last edited by

            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 Reply Quote 0
            • N
              ntnsndr @ntnsndr last edited by

              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 Reply Quote 0
              • N
                ntnsndr last edited by

                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 Reply Quote 0
                • B
                  balticpenguin last edited by

                  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 Reply Quote 0
                  • nebulon
                    nebulon Staff last edited by

                    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 Reply Quote 1
                    • Topic has been marked as a question  nebulon nebulon 
                    • jdaviescoates
                      jdaviescoates last edited by

                      Possibly useful:

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

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply Reply Quote 0
                      • nebulon
                        nebulon Staff last edited by

                        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 Reply Quote 1
                        • nebulon
                          nebulon Staff last edited by

                          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 Reply Quote 1
                          • B
                            balticpenguin last edited by

                            Hi,
                            is there a solution by now?

                            1 Reply Last reply Reply Quote 0
                            • girish
                              girish Staff last edited by

                              This is fixed in the latest package.

                              1 Reply Last reply Reply Quote 1
                              • Topic has been marked as solved  girish girish 
                              • First post
                                Last post
                              Powered by NodeBB