Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Incorrect quota information #39500

Closed
5 of 8 tasks
l3ochan opened this issue Jul 20, 2023 · 19 comments
Closed
5 of 8 tasks

[Bug]: Incorrect quota information #39500

l3ochan opened this issue Jul 20, 2023 · 19 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 27-feedback bug feature: files feature: users and groups

Comments

@l3ochan
Copy link

l3ochan commented Jul 20, 2023

⚠️ 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

@l3ochan l3ochan added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jul 20, 2023
@l3ochan
Copy link
Author

l3ochan commented Jul 20, 2023

and yes issue is different from this one #39465

@l3ochan l3ochan closed this as completed Jul 20, 2023
@l3ochan l3ochan reopened this Jul 20, 2023
@l3ochan
Copy link
Author

l3ochan commented Jul 20, 2023

didn't meant to close it

@antonol68
Copy link

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

@l3ochan
Copy link
Author

l3ochan commented Jul 22, 2023 via email

@transporagous
Copy link

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

@schnulli22
Copy link

schnulli22 commented Aug 5, 2023

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.

@doc75
Copy link
Contributor

doc75 commented Aug 6, 2023

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

@schnulli22
Copy link

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

@elearningdienst
Copy link

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

@skl256
Copy link

skl256 commented Aug 19, 2023

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

@haskelious
Copy link

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.

@l3ochan
Copy link
Author

l3ochan commented Sep 16, 2023

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

@jjasoncool
Copy link

#38874

@ThowZzy
Copy link

ThowZzy commented Sep 18, 2023

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

@l3ochan
Copy link
Author

l3ochan commented Sep 18, 2023

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.

@skl256
Copy link

skl256 commented Sep 18, 2023

@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).

@l3ochan
Copy link
Author

l3ochan commented Sep 23, 2023

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...

@ThowZzy
Copy link

ThowZzy commented Sep 23, 2023

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

@susnux
Copy link
Contributor

susnux commented Sep 24, 2023

Duplicate of #38874

@susnux susnux marked this as a duplicate of #38874 Sep 24, 2023
@susnux susnux closed this as completed Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 27-feedback bug feature: files feature: users and groups
Projects
None yet
Development

No branches or pull requests