Closed Sim0nW0lf closed 2 years ago
Downgrading to NC Version 22.1.0 fixes the issues for me. That is a temporary solution!
Weirdly on most of my servers that didn't create office previews for some reason... This is how I made it work consistently: (I am building my Instance with a dockerfile, so there I have to change the version. You might have to edit your docker-compose or whatever you use instead)
First I had to downgrade to version 21.0-apache like this:
cd /docker/nextcloud/
docker-compose down
docker image prune -a
nano app/Dockerfile
change version nextcloud:21.0-apache
, tags can be found on dockerhubnano Container-Data/html/config/config.php
change 'version' to 21.0.0.0nano Container-Data/html/version.php
change $OC_Version to 21,0,0,0 and $OC_VersionString to 21.0.0docker-compose up -d
After that's up and running I upgraded again:
docker-compose down
nano app/Dockerfile
change version to nextcloud:22.1.0-apache
docker-compose up -d --build
Now check if everything is running correctly and office previews are being generated again!
If everything works you can clean up the containers using docker image prune -a
Duplicate of https://github.com/nextcloud/server/issues/29296. The fix is at https://github.com/nextcloud/server/pull/29695. It will be included in the next update release of Nextcloud v21, v22 and v23.
Configuration
My system is running Docker version 20.10.10, nextcloud:apache (currently v,22.2.0) with redis and Traefik in my docker-compose.yml on arm64 and also amd64 I use the previewgenerator app aswell as the camera raw preview app. These are the necessary components installed and the altered policies. Finally my preview settings in Nextclouds config.php.
Issue
The issue is, that RAW, tif, indd (all camerarawpreviews) images and MSOffice documents (maybe also others) throw errors instead of generating a preview if the path or filename contains any umlauts. (öäü) txt, md, odt, png, jpg, pdf work. I didn't test more, maybe there are some more that don't work.
Example 1:
Example 2:
Is this a configuration issue on my side or a bug?