office files can't open in group folder
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)
This error in the app occurs only with users who do not have the rights to share. I found that out for debugging purposes.
looping in @juliushaertl and @tobiasKaminsky
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?
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:

The problem occurs when a group or person is denied permission to share in the folder.

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"}
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!
Pinging @tobiasKaminsky @juliushaertl for feedback
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!
I still need to try to reproduce that
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!
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!
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 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
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?
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!