Steps to reproduce
- Give a value to
default_quota in the server, ex "1 GB"
- Have user
user1 assigned the value of default_quota. Verify it too by checking user1 settings 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
Steps to reproduce
default_quotain the server, ex "1 GB"user1assigned the value ofdefault_quota. Verify it too by checkinguser1settings page.Case 1:
Case 2:
Expected behaviour
The field
quotashould be always an integer number and consistent.Actual behaviour
The field
quotais wrong (case 1) and a string (case 2). Manually assigning the user the same value asdefault_quotafixes 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