-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Drop not possible for Group Folders? #20199
Comments
This problem still exists in Nextcloud 19.0.3, is there any update or solution about this? |
I'm also experiencing this on a fresh install of 20.0.1. Some further information. If I set the share to Upload and Edit permission, I can upload a file to the group folder using an anonymous session. If I change it back to Filedrop (Upload Only) it errors with "Could not upload 'filename'". In addition to the error mentioned by the OP, there is also this.
|
Absolutly sam issues: Fatal webdav Error: Call to a member function getType() on bool |
We are also seeing the same issues. Interestingly if you try and upload the same file a second time, it will still present the error, but the file will be uploaded. Also if i set the share link to "allow upload and editing" i get a different error "path needs to be relative to the system wide data folder and point to a user specific file" Which seems to tie this together with the issue raised here And this seems to be the only given solution, worked for me |
It works only if you turn off advanced permission in the groupfolder root where the drop-folder is in. |
Related issue on the |
I tried to reproduce this on a clean NC 21.0..0 and groupfolders 9.0.0 and it seems like this issue does not happen there. Can anyone confirm? |
Did you add some users into the extra permissions tab? |
No, I don't think so. I only enabled ACL. |
As I also commented on in nextcloud/groupfolders#486, I can confirm that with enabled ACL and extra permissions set for various groups (I didn't test with users - but I guess that working, too), it now works for NC 21 / groupfolders 9 (while it didn't work in NC 20 / groupfolders 8). |
This should be fixed in recent stable releases (see nextcloud/groupfolders#1224). |
I am able to share a folder from a user via "Share link" and "File drop (upload only)".
Afterwards, the file drop is possible with and without password (I tried both approaches for two different folders).
Contrary, in case a share a folder from below a group folder via the same steps, the file drop fails. At the file drop web page, a notification about "could not upload filename" appears.
Within the log, the following error appears:
[public] Error: Error: Call to a member function getType() on boolean at <>
OCA\DAV\Connector\Sabre\ServerFactory->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***")
call_user_func_array(Closure {}, ["*** sensitive ... "])
Sabre\Event\EventEmitter->emit("beforeMethod", ["*** sensitive ... "])
Sabre\DAV\Server->invokeMethod("*** sensitive parameter replaced ", " sensitive parameter replaced ***")
Sabre\DAV\Server->exec()
require_once("/var/www/nextcl ... p")
PUT /public.php/webdav/Super%20Test.txt
Steps to reproduce
See above.
Expected behaviour
I think that the file drop should work with folders below a group folder like it works with folders below a user folder.
Actual behaviour
The file drop seems to work only with folders below a user folder.
Server configuration
Operating system:
Ubuntu V 18.04.4
Nextcloud version: (see Nextcloud admin page)
V 18.0.3
Updated from an older Nextcloud/ownCloud or fresh install:
fresh install of V 18.0.2 last week, this error was present also in V 18.0.2
Where did you install Nextcloud from:
www.hanssonit.se
The text was updated successfully, but these errors were encountered: