Skip to content

[Bug]: Incorrect quota information  #39500

Closed

Description

@l3ochan

⚠️ This issue respects the following points: ⚠️

Bug description

Quota informations are incorrect, and are not the same from the general account view and files view

Steps to reproduce

1.Setup nextcloud community edition manually
2.Create a new user account
3.Set a quota (ex 50GB). NC replaces the 50GB with something else.
4. Log into the user account
5. Quota in the files app does not correspond to setup quota
6. go to user settings
7. quota here doesn't correspond neither and is different from the one in the files app

Expected behavior

Quota should correspond, if 50GB is setup, server should not replace what you type with something else, quota informations should be the same in all parts of nextcloud.

Installation method

Community Manual installation with Archive

Nextcloud Server version

27

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "*REMOVED PUBLIC URL",
            "100.97.75.110",
            "ts.nekoserv.nekocorp.fr",
            "192.168.1.147",
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "27.0.0.8",
        "overwrite.cli.url": "***REDACTED***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "6379"
        },
        "default_phone_region": "FR",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "officeonline",
            "whiteboard",
            "files_antivirus",
            "googledocsredirect",
            "apporder",
            "integration_moodle",
            "group_default_quota",
            "keeporsweep",
            "files_mindmap",
            "printer",
            "integration_whiteboard",
            "video_converter",
            "carnet",
            "caniupdate",
            "impersonate",
            "ocsms",
            "hancomoffice",
            "wopi",
            "admin_notifications",
            "pdfdraw",
            "cfg_share_links",
            "shifts",
            "richdocumentscode",
            "files_downloadactivity",
            "camerarawpreviews",
            "hibp"
        ],
        "maintenance": false,
        "theme": "",
        "loglevel": 2
    }
}

List of activated Apps

Enabled:
  - activity: 2.19.0
  - admin_audit: 1.17.0
  - announcementcenter: 6.6.1
  - audioplayer: 3.4.0
  - bruteforcesettings: 2.7.0
  - camerarawpreviews: 0.8.2
  - caniupdate: 0.2.0
  - cfg_share_links: 4.1.0
  - checksum: 1.2.2
  - circles: 27.0.0
  - cloud_federation_api: 1.10.0
  - comments: 1.17.0
  - contacts: 5.3.2
  - contactsinteraction: 1.8.0
  - dashboard: 7.7.0
  - dav: 1.27.0
  - deck: 1.10.0
  - drawio: 2.1.2
  - external: 5.2.0
  - externalportal: 1.2.0
  - federatedfilesharing: 1.17.0
  - federation: 1.17.0
  - files: 1.22.0
  - files_accesscontrol: 1.17.0
  - files_antivirus: 5.2.1
  - files_downloadactivity: 1.16.0
  - files_pdfviewer: 2.8.0
  - files_rightclick: 1.6.0
  - files_sharing: 1.19.0
  - files_trashbin: 1.17.0
  - files_versions: 1.20.0
  - firstrunwizard: 2.16.0
  - forms: 3.3.1
  - guests: 2.5.0
  - impersonate: 1.14.0
  - integration_github: 2.0.4
  - integration_openai: 1.0.11
  - integration_reddit: 2.0.1
  - integration_youtube: 0.1.4
  - logreader: 2.12.0
  - lookup_server_connector: 1.15.0
  - mail: 3.2.4
  - nextcloud_announcements: 1.16.0
  - notes: 4.8.1
  - notifications: 2.15.0
  - oauth2: 1.15.0
  - password_policy: 1.17.0
  - photos: 2.3.0
  - privacy: 1.11.0
  - provisioning_api: 1.17.0
  - quota_warning: 1.17.0
  - recommendations: 1.6.0
  - related_resources: 1.2.0
  - richdocuments: 8.1.0
  - serverinfo: 1.17.0
  - settings: 1.9.0
  - sharebymail: 1.17.0
  - socialsharing_email: 2.6.0
  - spreed: 17.0.1
  - survey_client: 1.15.0
  - tables: 0.5.1
  - text: 3.8.0
  - theming: 2.2.0
  - translate: 1.1.5
  - twofactor_admin: 4.2.0
  - twofactor_backupcodes: 1.16.0
  - twofactor_email: 2.7.3
  - twofactor_nextcloud_notification: 3.7.0
  - twofactor_totp: 9.0.0
  - twofactor_webauthn: 1.2.0
  - updatenotification: 1.17.0
  - user_status: 1.7.0
  - video_converter: 1.0.6
  - viewer: 2.1.0
  - weather_status: 1.7.0
  - welcome: 1.0.9
  - workflowengine: 2.9.0
Disabled:
  - calendar: 4.4.3 (installed 4.4.3)
  - encryption: 2.15.0
  - event_update_notification: 2.2.0 (installed 2.2.0)
  - files_external: 1.19.0
  - hibp: 0.1.0 (installed 0.1.0)
  - imageconverter: 1.3.5 (installed 1.3.5)
  - onlyoffice: 8.1.0 (installed 8.1.0)
  - ransomware_protection: 1.14.0 (installed 1.14.0)
  - support: 1.10.0 (installed 1.8.0)
  - suspicious_login: 5.0.0 (installed 4.4.0)
  - systemtags: 1.17.0 (installed 1.15.0)
  - terms_of_service: 2.2.0 (installed 2.2.0)
  - unsplash: 2.2.1 (installed 2.2.1)
  - user_ldap: 1.17.0
  - whiteboard: 0.0.3 (installed 0.0.3)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

REMOVED LOGS

Additional info

video of the issue : https://youtu.be/tOijtU3AffQ
Quota is correct in the Android mobile App

Activity

  1. added
    0. Needs triage
    on Jul 20, 2023
  2. l3ochan commented on Jul 20, 2023

    @l3ochan
    Author

    and yes issue is different from this one #39465

  3. l3ochan commented on Jul 20, 2023

    @l3ochan
    Author

    didn't meant to close it

  4. antonol68 commented on Jul 22, 2023

    @antonol68

    I think this happened after the upgrade of PHP 8.1 to PHP 8.2 has recommended for version 27

  5. l3ochan commented on Jul 22, 2023

    @l3ochan
    Author
  6. transporagous commented on Aug 2, 2023

    @transporagous

    I have the same problem. Have you found a solution?
    ver.27, php8.2
    I set quota for user 20 GB, but it set to Unlimited, after refresh page I see 22,5 GB

  7. schnulli22 commented on Aug 5, 2023

    @schnulli22

    I habe exactly the same situation. In NC 27.0.2 RC1 (PHP 8.2) it is not fixed. Dear Developer, please, please fix it.

  8. doc75 commented on Aug 6, 2023

    @doc75

    This is an issue specific to NC 27 (I just got it after upgrading from NC26 to NC27 with official docker image)

  9. schnulli22 commented on Aug 6, 2023

    @schnulli22

    It was also on my system. On NC26 works correctly, th issue comes after NC27 Upgrade.

  10. elearningdienst commented on Aug 15, 2023

    @elearningdienst

    I can confirm that. Exact the same behaviour after Upgrading to NC27

  11. skl256 commented on Aug 19, 2023

    @skl256

    When correcting, please check the case showing not only the quota, but also the file sizes in the application files

  12. haskelious commented on Aug 24, 2023

    @haskelious

    Same issue on my instance. The field does not accept numbers with "GB" in the text. If you set it to a very large number (1000000000) it will accept the value and show the corresponding quota in KB, MB, GB relative to how big your number is. I couldn't get the exact conversion between units and GB, as it does not seem it relies on the actual bytes in a GB. In any case, it can be a potential workaround.

  13. l3ochan commented on Sep 16, 2023

    @l3ochan
    Author

    problem still present after NC 27.1.0 release.
    image
    Screenshot 2023-09-16 134811

  14. jjasoncool commented on Sep 18, 2023

    @jjasoncool
  15. ThowZzy commented on Sep 18, 2023

    @ThowZzy

    problem still present after NC 27.1.0 release. image Screenshot 2023-09-16 134811

    Thanks! I can still stay on my downgraded 26.0.6 then :D

  16. l3ochan commented on Sep 18, 2023

    @l3ochan
    Author

    problem still present after NC 27.1.0 release. image Screenshot 2023-09-16 134811

    Thanks! I can still stay on my downgraded 26.0.6 then :D

    You can downgrade ? I'd be interested in doing that until they fix NC 27.

  17. skl256 commented on Sep 18, 2023

    @skl256

    @l3ochan I rolled back from 27.0.1 to 25 because of this and another bug. During the rollback, I restored the postgres dump and restored the contents of the /var/www/html folder (which was before the update).

  18. l3ochan commented on Sep 23, 2023

    @l3ochan
    Author

    Still not fixed after NC 27.1.1 update....... Update which broke some other things too like the file picker in talk... They should stop adding features and fix the one that already exist...

  19. ThowZzy commented on Sep 23, 2023

    @ThowZzy

    Still not fixed after NC 27.1.1 update....... Update which broke some other things too like the file picker in talk... They should stop adding features and fix the one that already exist...

    You should probably stick with nextcloud 26 like me for a while, it is a very good version

  20. susnux commented on Sep 24, 2023

    @susnux
    Contributor

    Duplicate of #38874

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triage27-feedbackbugfeature: filesfeature: users and groups

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions