richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

no office file previews

Open jakobroehrl opened this issue 4 years ago • 10 comments

My office document doesn't have a preview any more: image

Tested with 4.1.2 and 5beta on NC22 and NC23

Collabora is running on docker on the same server

jakobroehrl avatar Nov 15 '21 12:11 jakobroehrl

I could reproduce this but not on the dashboard and rather just in the file list itself. It seems that removing the filesystem/dav type from app info caused that the preview providers are no longer registered when fetching the file list through webdav.

@jakobroehrl to ensure you run into the same issue, could you maybe take the file id of a docx file and try to manually access the preview with that in the browser? https://nextcloud.local/index.php/core/preview?fileId=1739472

You can get the file id as the last part when copying the "internal link" in the sharing sidebar of a file.

juliusknorr avatar Nov 15 '21 21:11 juliusknorr

Might be a regression from https://github.com/nextcloud/richdocuments/pull/1728

juliusknorr avatar Nov 15 '21 21:11 juliusknorr

Another finding to be filed in server, but need to check if it is an issue actually:

  • Within the PreviewManager it seems that there are some places where only core preview providers get registered and not the ones from app bootstrap

juliusknorr avatar Nov 15 '21 21:11 juliusknorr

Hi @juliushaertl Yes, it's the same in the file view: image

manual preview in the browser leads to: []

jakobroehrl avatar Nov 16 '21 07:11 jakobroehrl

Could you maybe on the nextcloud server issue the following request towards the collabora server url

curl -v https://collabora.yourserver/hosting/capabilities

This should list an entry "convert-to" that tells if the conversion api is properly configured on the Collabora server for preview generation.

juliusknorr avatar Nov 16 '21 08:11 juliusknorr

{"convert-to":{"available":true},"hasMobileSupport":true,"hasProxyPrefix":false,"hasTemplateSaveAs":false,"hasTemplateSource":true,"productName":"Collabora Online Development Edition","productVersion":"6.4.14","productVersionHash":"d28ff6e"}

jakobroehrl avatar Nov 16 '21 08:11 jakobroehrl

Not solved with Version 5 and with the latest collabora docker In the dashboard are the previews now there, but not in the fileview @juliushaertl

jakobroehrl avatar Nov 30 '21 09:11 jakobroehrl

Collabora 21.11 upgraded from 6.4 Nextcloud 23.0.1RC upgraded from 22

After days debugging i can confirm that the Collabora ooxml document preview are not generated on the files app "All Files" and "Favorites" tabs and in the Folders.

But they are perfectly generated in the Dashboard, "Recent" and "Shares" tabs as well as in the "Insert an image" dialog box.

sergeng avatar Jan 10 '22 11:01 sergeng

is this resolved in Nextcloud 25?

sergeng avatar Oct 06 '22 10:10 sergeng

I just opened two issues which may be related to this: #3434, #3435

krzys-h avatar Jan 21 '24 18:01 krzys-h