Nextcloud snap does not render PDF thumbnails

Nextcloud version: 29.0.2snap1
Operating system and version: Ubuntu 20.04.6 LTS

Nextcloud does not render PDF thumbnails. there is only the red PDF icon.

I tried this:

Nothing helps.

So I think with snap this is the wrong way.

  • Nextcloud-snap works in a sandbox.
  • Has its own apache, php, fpm … services.
  • So it has no access to php-imagick outside from snap.

→ It is useless installing or editing outside /var/snap/nextcloud.

Am I right?
Can someone help me?

Thanks
wuesti

What are the preview providers you activated?

Read → this ← for detailed explanation.

Thanks!
That helps to understand.

  'enabledPreviewProviders' =>
    array (
    0 => 'OC\\Preview\\JPEG',
  ),

I have activated

  • Collabora Online - Built-in CODE Server
  • Nextcloud Office

ODT is working.
PDF should but doesn’t.

I will wait an see.

wuesti

But therefore you will need an imaginary server running

Here I explained in german:

and if you have Imaginary running, you can already get PDF previews now. Completely without imagemagick.


ernolf

@wuesti, welcome…

see FAQ’s, especially Imagick PHP module is not enabled

be aware of ‘Preview generator app’

This makes sense. The communication goes through http-port.

Now i have ubuntu, snap and docker on the server :wink:

But it’s working.

Thank you

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.