-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Steps to reproduce
- Give a value to
default_quotain the server, ex "1 GB" - Have user
user1assigned the value ofdefault_quota. Verify it too by checkinguser1settings page. - Run:
Case 1:
# occ usage-report:generate --output=json user1 | jq .quota`
0
Case 2:
# occ usage-report:generate --output=json | grep user1 | jq .quota`
"1 GB"
Expected behaviour
The field quota should be always an integer number and consistent.
Actual behaviour
The field quota is wrong (case 1) and a string (case 2). Manually assigning the user the same value as default_quota fixes the issue.
Server configuration
Nextcloud version: 27.1.5
user_usage_report: 1.11.1
Where did you install Nextcloud from: normal installer
List of activated apps:
Nextcloud configuration:
Client configuration
Logs
Nextcloud log (data/nextcloud.log)
Browser log
Reactions are currently unavailable