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. Nextcloud
  3. Images no longer visible in file view, symlink problem?

Images no longer visible in file view, symlink problem?

Scheduled Pinned Locked Moved Solved Nextcloud
4 Posts 2 Posters 512 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.
    • M Offline
      M Offline
      MaikA
      wrote on last edited by
      #1

      Hi all,

      I have a new and annoying problem with my Nextcloud installation on cloudron.
      There are no images when navigating to an image folder in "files" view. The message is simply "No files in here", which is evidently untrue. This has been working in January when I last checked.

      Logging says there are two current errors:

      • Following symlinks is not allowed ('/app/data//core' -> '/app/code/core/' not inside '/app/data/')
      • Several instances of
        TypeError OCA\Files_PhotoSpheres\Sabre\PhotosphereViewerPlugin::getXmpMetadataCached(): Return value must be of type ?OCA\Files_PhotoSpheres\Model\XmpResultModel, array returned

      The symlinks one is concerning, there is indeed a new symlink (todays date) that was seemingly created on the fly after the last update and my login. As far as I know (Nextcloud documentation) this is really not supported in data directories and cannot possibly work.

      I have not modified the nextcloud installation manually, so I do not know what went wrong here. Something with the last update?

      Grateful for any pointers, thanks!

      Maik.

      1 Reply Last reply
      0
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #2

        I was trying to reproduce this, but I don't seem to be able to get that symlink error. Maybe I am looking in the wrong place. Where exactly do you see that?

        Overall the package code there has not changed, so maybe Nextcloud behaves differently now with regards to that symlink. In the past often other plugins/apps installed in Nextcloud have caused many side-effects. Could this be the case for you? Just to narrow down the issue.

        Especially your second error indicates some API change or a plugin not being compatible with the latest Nextcloud?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MaikA
          wrote on last edited by
          #3

          I found the problem - the photosphere plugin was activated, but it is not compatible with the current Nextcloud version. Disabling it made the images appear in folder view again.

          The symlink message is directly from admin view/logging, and the symlink in the /app/data/-folder indeed exists.
          Does not seem to make any problems as of now.

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

            Glad you managed to find the root cause. Its always a bit of a hit and miss with the quality of Nextcloud apps/plugins, which is why we have to wait for quite some time on major Nextcloud updates to allow plugin authors to catch up 😕

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