nextcloud / groupfolders

πŸ“πŸ‘©β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders
https://apps.nextcloud.com/apps/groupfolders
279 stars 85 forks source link

Only admins can use Groupfolder via WebUI, users get rejection from WebDav #2947

Closed w1n5l0w closed 3 weeks ago

w1n5l0w commented 5 months ago

Steps to reproduce

1.Have latest Nextcloud 28 and all apps updated 2.Have update Debian.

  1. Admins can use (enter and see, create, modify files) groupfolders via WebUI in Files App, users can't enter groupfolders in WebUI files app and get answer from WebDav when clicking on groupfolder: "This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client."

Expected behaviour

Admins and Users can use groupfolders via WebUI Files App

Actual behaviour

Users can't use groupfolder via WebUI Files App

Server configuration

Operating system: Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux

Web server: Apache/2.4.59

Database: MariaDB 10.11.6

PHP version: 8.2.18

Nextcloud version: (see Nextcloud admin page) 28.0.5

Group folders version: 16.0.6

Updated from an older Nextcloud/ownCloud or fresh install: Updated from Nextcloud since v27

Where did you install Nextcloud from: Official Nextcloud tar.gz

Are you using external storage, if yes which one: local/s3/smb/sftp/... no

Are you using encryption: yes/no yes

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/... no

Client configuration

Browser: Same behaviour on Firefox and Chrome.

ilya-vv commented 4 months ago

Have the same issue :(

For non-admin users in WebUI for GorupFolders folders list renders by browser as general URLs for every folder: image

For admin - URL does not displayed in the bottom left corner of browser (uses Vue?)

Edited: So, when non-admin user clicks on the folder, browser tries open URL: https://_NEXTCLOUD_URL_/remote.php/dav/files/_USERNAME_/_FOLDER_NAME_ and get downloading file named _FOLDERNAME.htm contains This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.

But when I open the same folder as admin, URL in the browser's address bar is: https://_NEXTCLOUD_URL_/apps/files/files/_FILE_OR_FOLDER_ID_?dir=/_FOLDER_NAME_

Dominik1400c commented 4 months ago

Have exactly the same issue. The same operating system. All fully patched. Nextcloud 28.0.5. On the nextcloud client all is working as expected. The problem exists only in the Webui. Hope you fix it as soon as possible. My users complain about it.

w1n5l0w commented 4 months ago

This bug is still present on Nextcloud 29.0.0 with Groupfolders 17.0.0.

ilya-vv commented 4 months ago

I don't know what happens, but I don't face this issue at the moment.

The same Nextcloud v28.0.5 and Group Folders v16.0.6. I haven't update Nextcloud and the App because of waiting for issue confirmation and fix release.

It may be not related, but when I saw the issue (7th of May) there were several Errors in Nextcloud Log regarding webdav: InvalidPath File name is too long. A user tries to sync veryveryveryveryvery long name file using Nextcloud Desktop WIndows client. We fixed that on 13th of May.

w1n5l0w commented 3 months ago

This bug is still present on Nextcloud 29.0.3 with Groupfolders 17.0.1.

joshtrichards commented 2 months ago

I am unable to reproduce this behavior. Are you sure there are no other errors appearing in your Nextcloud log around the same time (likely just prior, such as when the Files page is loaded for tendering)?

Also, can you check your browser inspector, specifically the Console and Network tabs for errors, transactions that aren't green, etc. This may provide further clues.

Are you all using Apache?

w1n5l0w commented 2 months ago

At least for me the problems are resolved by disabling the LibreSign app: https://github.com/LibreSign/libresign/issues/3351

As long as the others doesn't experience the described problems without having LibreSign installed, the issue can be closed.