nextcloud / officeonline

officeonline
46 stars 15 forks source link

Office Online does not work with mobile browser/app #496

Open martynasdabravalskis opened 9 months ago

martynasdabravalskis commented 9 months ago

Describe the bug Files cannot be opened when using a mobile brower/app. Only affects files with edit access. Download works. Office online app gets disabled after several attempts.

To Reproduce Steps to reproduce the behavior: Open a file with edit rights on a mobile browser

Expected behavior The file is opened in office online view

Actual behavior You get a message: Sorry, we couldn't find the file Office Online app also gets disabled if you try to open the file from mobile multiple times.

Client details:

Server details

Nextcloud version: Nextcloud Hub 6 (27.1.3) Version of the officeonline app 2.02

Logs #### Nextcloud log Exception: Call to a member function getFileid() on null in file '/var/www/nextcloud/apps/officeonline/lib/Middleware/WOPIMiddleware.php' line 77 #### OOS log Client passed up a PostDataCookie parameter pdc281867236. Client didn't send up cookie pdc281867236. AccessToken is missing Requested UI Culture '2057' is different from the fall back culture '1033' Cannot create WOPI Proof Token - There's no access token!