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