nextcloud / officeonline

officeonline
43 stars 15 forks source link

officeonline 2.1.0 does not work with public links on Nextcloud 27.1.6 #530

Closed it-unit-iiep closed 5 months ago

it-unit-iiep commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. create a public link for a document such as a docx file
  2. open the public link in a browser
  3. office online does not open, we can only download the document

Expected behavior Office online should open the document.

Screenshots

Client details:

Server details

Operating system: Debian 11

Web server: nginx

Database: postgres

PHP version: 8.1

Nextcloud version: 27.1.6

Version of the officeonline app 2.1.0

Version of Office Online server

Logs #### Nextcloud log (data/nextcloud.log) ``` Insert your Nextcloud log here ``` #### Browser log ``` Browser log does not show any errors ``` ## Workaround Downgrading to Office online app to 2.0.3 brings back the expected behavior.
Dennis1993 commented 5 months ago

Hey,

thank you for your report! I think that’s discussed here: https://github.com/nextcloud/officeonline/issues/521

can you try this fix how discribed in the thread and write a short feedback?

Thank you very much! ☺️