nextcloud / previewgenerator

Nextcloud app to do preview generation in the background.
https://apps.nextcloud.com/apps/previewgenerator
GNU Affero General Public License v3.0
455 stars 57 forks source link

Can't run on unicode path! #242

Closed xfzka closed 2 years ago

xfzka commented 3 years ago

Can't run on Unicode path!

When folder have any unicode characters preview generator can't run. and there is noting log.

not work folder name like:

work folder name like:

Sim0nW0lf commented 2 years ago

261 I think these are related right?

To me at least it seems to be exactly the same image image

Sim0nW0lf commented 2 years ago

Downgrading to NC Version 22.1.0 fixes the issues for me. That is a temporary solution!

Originally posted by @Sim0nW0lf in https://github.com/nextcloud/previewgenerator/issues/261#issuecomment-974805292

In docker you have to set the image to 22.1.0 and also change the version in config/config.php as well as /version.php...

Sim0nW0lf commented 2 years ago

After lots of trying I found a consistent workaround because just downgrading to 22.1.0 didn't work consistently. This is how I did it in the end: https://github.com/nextcloud/previewgenerator/issues/261#issuecomment-974893511

st3iny commented 2 years ago

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.