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

Aberta
#2,900 9 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

1. to develop bug discussion

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"

Linguagem predominante
JavaScript
Estrelas
385
Forks
133
Merge médio
7h 54min
PRs com merge (30d)
157

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de nextcloud/forms

Todas as issues de nextcloud/forms

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.