nextcloud / richdocuments

📑 Collabora Online for Nextcloud
https://nextcloud.com/collaboraonline
356 stars 116 forks source link

no office file previews #1865

Open jakobroehrl opened 3 years ago

jakobroehrl commented 3 years ago

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

juliusknorr commented 3 years ago

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 commented 3 years ago

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

juliusknorr commented 3 years ago

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

jakobroehrl commented 3 years ago

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

manual preview in the browser leads to: []

juliusknorr commented 3 years ago

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.

jakobroehrl commented 3 years ago

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

jakobroehrl commented 2 years ago

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

sergeng commented 2 years ago

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 commented 2 years ago

is this resolved in Nextcloud 25?

krzys-h commented 10 months ago

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