I have a lot of raw images in my cloud (e.g. .arw and .rw2). imagemagick clearly generates previews for them, since I can see the thumbnails in the Nextcloud web interface. However, when I click a jpeg or similar file, a larger version of the preview opens. When I click an arw file, it starts a download instead.
How can I make clicking an arw file open the big preview instead of downloading it?
Found a solution:
It is a bit complicated but worked for me.
First of all, make a backup of your Nextcloud installation in case something goes wrong.
Go to the app folder of your Nextcloud installation, for example:
cd /var/www/html/apps/
Then rename the app called “viewer”. In case something goes wrong in the further process, just rename it back and everything should be running again:
mv viewer .backupviewer
Download the latest git repository for your version:
Note: In this example, I am using server version Nextcloud 29.0.1, so everywhere that “v29.0.1” appears, replace it with your current running Nextcloud server version.
Why is this fixed not merged to the main branch? How can I influence this decision? It is annoying to do these steps after each docker image update plus I have now an error message, that some files failed the integrity check
I agree, this issue is incredibly annoying for me considering the main use of my Nextcloud installation if for image backup for a photography business.
I tried this procedure and got an error at the end in the “php occ upgrade” step.
# runuser -u www-data -- php occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
UnexpectedValueException: The files of the app "viewer" were not correctly replaced before running the update
Update failed
Maintenance mode is kept active
Resetting log level
The same Nextcloud version - 30.0.5 and the same issue:
UnexpectedValueException: The files of the app “viewer” were not correctly replaced before running the update
Update failed
The development process for Nextcloud is very confusing to me. Pulling in inofficial fixes like the one mentioned above is bothersome and usually leads to awful problems come the next official update, but the Nextcloud devs seem to take years to approve even simple pull requests. I am getting used to always working with a half-broken system.