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]: Unable to cancel upload that contains a lot of files and/or folders #32354

Closed
5 of 8 tasks
Ivar418 opened this issue May 12, 2022 · 7 comments · Fixed by #35259
Closed
5 of 8 tasks

[Bug]: Unable to cancel upload that contains a lot of files and/or folders #32354

Ivar418 opened this issue May 12, 2022 · 7 comments · Fixed by #35259
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@Ivar418
Copy link

Ivar418 commented May 12, 2022

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

When im uploading multiple files, or a folder that contains a lot of files, and I want to cancel that upload it tells me “Uploading canceled” but the upload bar is still visible and its still uploading.
Pressing cancel many times makes no difference in this.
The only thing that actually stops the upload is reloading the page wich results in an error in the log.
The unresponsive cancel shows nothing in the log whatsoever.

I also noticed that the size of the upload is “NaN” and shows "only a couple seconds remaining."

Also additional information performed by other user here: https://help.nextcloud.com/t/unable-to-cancel-large-upload/138639

Steps to reproduce

  1. Upload a forlder with many sub folders/files (for example the documents folder of windows)
  2. Try to cancel the upload after a couple seconds
  3. Message appears the upload has been canceled but upload is still going.

Expected behavior

When you cancel the upload of many files and or folders, it should actually cancel the upload.

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated to a major version (ex. 22.2.3 to 23.0.1)

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 SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.0.12",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "default_phone_region": "NL",
        "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\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 1.5
        },
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": []
    }
}

List of activated Apps

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - admin_audit: 1.14.0
  - cloud_federation_api: 1.7.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - event_update_notification: 1.5.0
  - federatedfilesharing: 1.14.0
  - files: 1.19.0
  - files_downloadactivity: 1.13.0
  - files_external: 1.16.1
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - firstrunwizard: 2.13.0
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - nextcloud_announcements: 1.13.0
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - password_policy: 1.14.0
  - photos: 1.6.0
  - previewgenerator: 4.0.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - recommendations: 1.3.0
  - richdocuments: 6.0.0
  - richdocumentscode: 21.11.402
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - survey_client: 1.12.0
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - unsplash: 1.2.5
  - updatenotification: 1.14.0
  - user_status: 1.4.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - circles: 24.0.0
  - comments: 1.14.0
  - contactsinteraction: 1.5.0
  - encryption: 2.12.0
  - federation: 1.14.0
  - support: 1.7.0
  - systemtags: 1.14.0
  - user_ldap: 1.14.1

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Google drive link because logfile is too large for anything like pastebin
https://drive.google.com/file/d/1zpYPY6Bf5q86Oq6Ys4t9XQJnMTe4svxH/view?usp=sharing

Additional info

https://help.nextcloud.com/t/unable-to-cancel-large-upload/138639

@Ivar418 Ivar418 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 12, 2022
@Ivar418 Ivar418 changed the title [Bug]: Unable to cancel upload that contains a lot of files [Bug]: Unable to cancel upload that contains a lot of files and/or folders May 12, 2022
@tflidd
Copy link
Contributor

tflidd commented May 13, 2022

and we reproduced the issue on try.nextcloud.com

@nck974
Copy link

nck974 commented Jul 17, 2022

I'm not sure if this is the same issue, but I experienced also wrong upload information:
I saw the same NaN when uploading.
That was experienced after dropping two folder groups to upload in a folder. (First one group and then drop a second group during the upload of the other elements.)

Then I also saw that after finishing the popup where you have to make a decision about deleting or keeping duplicates, the remaining is also calculated wrong:
image

I was running nextcloud host locally with docker over debian (24.0.2)

@mahibi
Copy link

mahibi commented Sep 22, 2022

@PVince81 you asked me to ping here, so... ping

@Gibby
Copy link

Gibby commented Nov 9, 2022

Following, have this issue with a folder I tried to copy over view the web interface. Folder had 20,000 files. Oops

@PVince81
Copy link
Member

fix for cancelling upload is here: #35259

@Ivar418
Copy link
Author

Ivar418 commented Nov 19, 2022

Does this mean we have to wait for an update before it is fixed for our current installation?

@szaimen
Copy link
Contributor

szaimen commented Nov 19, 2022

Does this mean we have to wait for an update before it is fixed for our current installation?

yes

@PVince81 PVince81 added this to the Nextcloud 23.0.12 milestone Nov 21, 2022
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 bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants