| Summary: | Accessing LibreOffice Online via the WOPI protocol results in client - server version mismatch when running in Docker | ||
|---|---|---|---|
| Product: | LibreOffice Online | Reporter: | Andreas Kring <andreas> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTOURBUG | ||
| Severity: | normal | CC: | andreas, aron.budea |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
|
Description
Andreas Kring
2020-01-14 15:01:07 UTC
Does this persist over a longer period of time? It's normal to have after an upgrade, but should go away once the old cached version is gone in the browser. Yes - it happens every time. I have just tested with all caches cleared (in an incognito tab in the browser) [Automated Action] NeedInfo-To-Unconfirmed Andreas, does this still occur? If it does, please add what kind of WOPI host you are using. Btw, LOOL version can be checked in Help -> About, the two hashes are the relevant identifiers (unfortunately it's not possible to select and copy them to clipboard currently). Yes - it still happens. The WOPI host is an Alfresco Community (https://docs.alfresco.com/community/concepts/welcome-infocenter_community.html) server. The WOPI functionality to Alfresco comes from an open source custom Alfresco module which can be found here: https://github.com/magenta-aps/alfresco-repo-libreoffice-online-module. When examining the LOOL version as you described, the following is found: loolwsd-version (master): ca399767 Served by: e93c7691 LibreOffice: 6.5.0.0.alpha0 [Automated Action] NeedInfo-To-Unconfirmed (In reply to Andreas Kring from comment #5) > Yes - it still happens. The WOPI host is an Alfresco Community > (https://docs.alfresco.com/community/concepts/welcome-infocenter_community. > html) server. The WOPI functionality to Alfresco comes from an open source > custom Alfresco module which can be found here: > https://github.com/magenta-aps/alfresco-repo-libreoffice-online-module. Right, this module must be the cuplrit. When you have LOOL set up, you're supposed to get http(s)://<LOOL server:port>/hosting/discovery , and use the URLs from that XML to connect to the service. You can verify that LOOL serves the correct URL by opening the aforementioned hosting/discovery URL, and comparing the hash in the URL against what the warning gives as expected. Those two should match. WOPI hosts tend to query hosting/discovery only once in a while, and cache the results, since it rarely changes, that's why it can normally happen that you get a mismatch right after a LOOL upgrade. I don't think this Alfresco module does that, but I don't think it queries hosting/discovery properly, either, and that must result in the warning in the logs (still, it's just a warning, if that's the only issue, it should work fine). Someone has to look into this on the module's end. Ok - thanks a lot for your response. |