android icon indicating copy to clipboard operation
android copied to clipboard

office files can't open in group folder

Open DevxDre opened this issue 6 years ago • 14 comments

Office files in group folders (Addon), cannot be opened with the two Office programs (Collabora Online & Only Office). Creating or opening the file leads to an endless waiting time and the error message that it takes too long.

The problem does not appear in the browser. Even outside the group folders the office programs work inside the Nextcloud Android app. Therefore, the problem is specifically between the Nextcloud app and the group folders.

Nextcloud Server: 18.0.4 Nextcloud App (3.11.1) on Android (9.1.0.293)

DevxDre avatar May 17 '20 12:05 DevxDre

This error in the app occurs only with users who do not have the rights to share. I found that out for debugging purposes.

DevxDre avatar May 17 '20 18:05 DevxDre

looping in @juliushaertl and @tobiasKaminsky

AndyScherzinger avatar May 18 '20 15:05 AndyScherzinger

This error in the app occurs only with users who do not have the rights to share. I found that out for debugging purposes.

Could you give some more details about this? You mean rights to share on the group folder or in general?

Also do you use ACL for the group folder permissions or just the regular ones? Do you see any error in the Nextcloud or Collabora logs?

juliusknorr avatar May 20 '20 15:05 juliusknorr

I just rechecked it.

When a group has its permission to share generally taken away, opening the Office documents works. So no problem, if the admin sets this group with these general settings: Bildschirmfoto 2020-05-24 um 14 29 05

The problem occurs when a group or person is denied permission to share in the folder. Bildschirmfoto 2020-05-24 um 14 34 02

I don't have direct access to the log file of Collabora, but there is an error in the Nextcloud log: {"reqId":"XdaadsjuXbGYEANqVqEKKAAAAMU","level":3,"time":"2020-05-24T12:32:54+00:00","remoteAddr":"79.xxx.xxx.xx","user":"--","app":"onlyoffice","method":"GET","url":"/index.php/apps/files/directEditing/w8CcZMmHAzcoXMLsa87fNBerYZBrfN6bLxDfsJSKHGR34yoNw7zES3izkQw2XFCk","message":"DirectEditor open: /schueler01.test/files/Office-Test/Doc.docx","userAgent":"Mozilla/5.0 (iPad) Nextcloud-iOS/2.25.9","version":"18.0.4.2","id":"6rvb6a3ac0554"}

DevxDre avatar May 24 '20 12:05 DevxDre

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

stale[bot] avatar Jun 21 '20 17:06 stale[bot]

Pinging @tobiasKaminsky @juliushaertl for feedback

AndyScherzinger avatar Jun 21 '20 18:06 AndyScherzinger

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

stale[bot] avatar Jul 19 '20 19:07 stale[bot]

I still need to try to reproduce that

juliusknorr avatar Jul 20 '20 07:07 juliusknorr

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

stale[bot] avatar Aug 22 '20 19:08 stale[bot]

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

stale[bot] avatar Sep 27 '20 12:09 stale[bot]

Hello guys! I ran into the problem described here, but not related to android. It's appear in browser on any platform. I'm using Office Online Integration. I tried to give sharing permissions for the folder and it worked. But I can't give sharing rights to users on all folders.

Nextcloud log shows this error: Error: Undefined array key 0 at /var/www/html/apps/officeonline/lib/Controller/WopiController.php#313

This part of WopiController.php:

312: $userFolder = $this->rootFolder->getUserFolder($wopi->getOwnerUid());
313: $file = $userFolder->getById($fileId)[0];

I'm using NC 25.0.5 with Office Online 2.0.1 and Group Folders 13.1.1

I think it's simply to reproduce with two users - admin and non-admin - by creating Group Folder with full rights for any special group and ACL (extended rights) for admin only. Then restrict permissions to rw-only in extended rights and create subfolder with inherited rw-permissions (no sharing permissions). Upload any office document by regular user and try to open it inside browser.

Jirvil avatar Apr 10 '23 16:04 Jirvil

@Jirvil Your matter is unrelated. This is an Issue about a problem specific to Android/mobile. Your comment looks to be related to MS Office Online so I suggesting checking over over at https://github.com/nextcloud/officeonline

joshtrichards avatar Oct 15 '23 15:10 joshtrichards

I can't reproduce this behavior for Office files today. I can, however, for .md files, but there's another issue for that: nextcloud/groupfolders#1861

@the-matzup Are you still able to reproduce this behavior?

joshtrichards avatar Dec 07 '23 15:12 joshtrichards

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

github-actions[bot] avatar Jan 10 '24 00:01 github-actions[bot]