Skip to content

File-upload unusable with no user quota (hard to debug) #2900

@simonwiles

Description

@simonwiles

Describe the bug
I run a NextCloud instance where all users have their quotas set to 0B and everything is in Group Folders. This means that file-upload fields in Forms are unusable, as a permissions error is thrown when trying to upload a file, and there seems to be nothing that can be done about it. Furthermore, the upload fails silently and users (form creators or form fillers) are very confused! Even the NotPermittedException error in the admin logs isn't as helpful as it might be (I just spent 15 minutes checking file permissions and scratching my head before I guessed that this might be the issue).

To Reproduce
Set user quota to 0B; user can no longer use file-upload on Forms, and will not understand why.

Expected behavior
Ideally, a way to use group folders for file-upload Forms. Or at least a notification or other indication that it's not going to work.

Nextcloud (please complete the following information):

  • Nextcloud-Version: 31.0.8
  • Forms-Version: 5.1.2

Browser log
Server returns 500 errors.

Additional context

Admin log shows:
Level: Error
Application: no app in context
Message: NotPermittedException Could not create folder "/<user>/files/Forms/unsubmitted/<timestamp>/2 - Test Form/3 - file-upload"

Metadata

Metadata

Assignees

Labels

1. to developAccepted and waiting to be taken care ofbugSomething isn't workingdiscussionBeing discussed

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions