I am experiencing an issue with file previews in Nextcloud. When I try to preview PDF or video files, instead of displaying the preview, the file gets downloaded every time.
In the configuration file /usr/share/nginx/nextcloud/config/config.php, the 'enable_previews' option is set to true. However, the previews still do not work.
Has anyone encountered this issue or has suggestions on how to resolve it?
Is this the first time you’ve seen this error? = Yes
When did this problem seem to first start? = Several months ago
Installation method = Classic installation, not Docker
Are you using Cloudflare, mod_security, or similar? = No
Unfortunately a lot of information to help you is missing as you ignored the required support template. Please edit into your post and add as many information as possible. This will give us the technical info and logs needed to help you!
Apologies for not including all the required information earlier. I’ve updated my post with the necessary details, including configuration settings, environment info, and logs. I hope this will help to provide the technical context needed to resolve the issue.