YunoHost-Apps / collabora_ynh

Collabora package for YunoHost
https://www.collaboraoffice.com/
GNU General Public License v3.0
16 stars 13 forks source link

Collabora files fail to load unless a workaround is used #68

Open csolisr opened 2 years ago

csolisr commented 2 years ago

Describe the bug

When attempting to load a document from Nextcloud, it will invariably fail until several dozen attempts later, unless a specific window is opened in another tab (see details below)

Context

Steps to reproduce

Expected behavior

The file should open directly, without requiring a workaround.

LAfricain commented 2 years ago

I have exactly the same issue. But I can't use the workaround, nothing like you in the firefox log console.

ericgaspar commented 1 year ago

I can't reproduce this issue on my server using Nextcloud 25.0.1 with collabora 22.05.8.2.

gokceozan commented 1 year ago

I had the exact same problem. Solved the issue by changing the "Visitors" permissions at /yunohost/admin/#/groups

It started working for me when I added Nextcloud app (and not just API) permissions to the visitors user group.

Hope that helps!

csolisr commented 1 year ago

It started working for me when I added Nextcloud app (and not just API) permissions to the visitors user group.

Does that mean that the issue is with external permissions?

gokceozan commented 1 year ago

I assume it is.

But were you able to replicate the fix?

csolisr commented 1 year ago

I moved to the integrated Code server supplied as a Nextcloud app. I'll try uninstalling that and reinstalling Collabora over YunoHost later.

csolisr commented 1 year ago

I have tested to reinstall Collabora, and by default it gives "All Users" and "Visitors" permissions for all three of "Collabora Online", "Nextcloud" and "Nextcloud (api)". The same error message still appears.

gokceozan commented 1 year ago

Could also be related to WOPI end-points. I couldn't figure out how to configure those so I don't have an allow list. Could it be the issue is a WOPI allow-list on your connector (like /nextcloud/settings/admin/richdocuments if you are using the generic Nextcloud Office one).

lapineige commented 7 months ago

Could also be related to WOPI end-points. I couldn't figure out how to configure those so I don't have an allow list.

https://github.com/YunoHost-Apps/collabora_ynh/issues/86