Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no office file previews #1865

Open
jakobroehrl opened this issue Nov 15, 2021 · 10 comments
Open

no office file previews #1865

jakobroehrl opened this issue Nov 15, 2021 · 10 comments
Labels
1. to develop Waiting for a developer bug Something isn't working feature: previews and thumbnails high
Milestone

Comments

@jakobroehrl
Copy link

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

@juliushaertl
Copy link
Member

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.

@juliushaertl juliushaertl added 1. to develop Waiting for a developer bug Something isn't working high labels Nov 15, 2021
@juliushaertl juliushaertl added this to the 5.0.0 milestone Nov 15, 2021
@juliushaertl
Copy link
Member

Might be a regression from #1728

@juliushaertl
Copy link
Member

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

@jakobroehrl
Copy link
Author

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

manual preview in the browser leads to: []

@juliushaertl
Copy link
Member

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
Copy link
Author

jakobroehrl commented Nov 16, 2021

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

@jakobroehrl
Copy link
Author

jakobroehrl commented Nov 30, 2021

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
Copy link

sergeng commented Jan 10, 2022

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
Copy link

sergeng commented Oct 6, 2022

is this resolved in Nextcloud 25?

@krzys-h
Copy link

krzys-h commented Jan 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Waiting for a developer bug Something isn't working feature: previews and thumbnails high
Projects
None yet
Development

No branches or pull requests

5 participants