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

Emptying trash bin gives the impression of failing, and removes too much #7053

Closed
fmikker opened this issue Nov 3, 2017 · 2 comments
Closed
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: trashbin needs info stale Ticket or PR with no recent activity

Comments

@fmikker
Copy link

fmikker commented Nov 3, 2017

Emptying the trash bin is unresponsive when deleting 38 folders and 1230 files.
At first it seems like the removal of the files in the trash bin was unsuccessful, but when navigating away from the trash bin and returning, it seemed like it worked a bit to well since files that were not selected for deletion were removed.

When the cleanup was initiated there were approximately 20GB of data in the trash bin.

Steps to reproduce

  1. Delete 38 folders and 1230 standalone files
  2. Navigate to the trash bin in the web ui
  3. Select all files except the top folder, containing 9.8 GB of Pictures by clicking on the top checkbox in the column
  4. Press delete, and wait, and wait and wait,
    5.Don't remember the error message
  5. Navigate away from the page by clicking "Files"

Expected behaviour

All files and folders should have been deleted except for the ones that was not selected

Actual behaviour

All files and folders were removed from the trash bin, even the ones that were not selected for permanent removal.

Server configuration

Operating system:
CentOS Linux release 7.4.1708 (Core)
Web server:
httpd-2.4.6-67.el7.centos.6.x86_64
Database:
mariadb-server-5.5.56-2.el7.x86_64
PHP version:
rh-php70-php-7.0.10-2.el7.x86_64
Redis Version
redis-3.2.10-2.el7.x86_64
Nextcloud version: (see Nextcloud admin page)
12.0.3.3
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 11.x
Where did you install Nextcloud from:
Downloaded tar archive from webpage.
Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
  - activity: 2.5.2
  - admin_audit: 1.2.0
  - bruteforcesettings: 1.0.2
  - calendar: 1.5.6
  - cms_pico: 0.9.6
  - comments: 1.2.0
  - contacts: 2.0.1
  - dashboard: 4.0.5
  - dav: 1.3.0
  - federatedfilesharing: 1.2.0
  - files: 1.7.2
  - files_markdown: 2.0.1
  - files_pdfviewer: 1.1.1
  - files_sharing: 1.4.0
  - files_texteditor: 2.4.1
  - files_trashbin: 1.2.0
  - files_videoplayer: 1.1.0
  - firstrunwizard: 2.1
  - gallery: 17.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - news: 11.0.5
  - nextcloud_announcements: 1.1
  - notes: 2.3.1
  - notifications: 2.0.0
  - oauth2: 1.0.5
  - password_policy: 1.2.2
  - previewgenerator: 1.0.7
  - provisioning_api: 1.2.0
  - ransomware_protection: 1.0.5
  - serverinfo: 1.2.0
  - sharebymail: 1.2.0
  - survey_client: 1.0.0
  - theming: 1.3.0
  - twofactor_backupcodes: 1.1.1
  - twofactor_totp: 1.3.1
  - updatenotification: 1.2.0
  - workflowengine: 1.2.0
Disabled:
  - encryption
  - federation
  - files_external
  - files_versions
  - impersonate
  - systemtags
  - user_external
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "updatechecker": false,
        "instanceid": "ocf4rcw3qjw1",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "example.com",
        ],
        "datadirectory": "\/var\/www\/html\/nextcloud\/data",
        "overwrite.cli.url": "https:\/\/example.com\/cloud",
        "htaccess.RewriteBase": "\/cloud",
        "dbtype": "mysql",
        "version": "12.0.3.3",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "Europe\/Stockholm",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_from_address": "cloud",
        "mail_domain": "example.com",
        "mail_smtphost": "mail.example.com",
        "mail_smtpport": "587",
        "loglevel": 2,
        "has_internet_connection": true,
        "maintenance": false,
        "theme": "",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "localhost",
            "port": 6379
        },
        "knowledgebaseenabled": true,
        "updater.release.channel": "stable",
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mysql.utf8mb4": true,
        "log_rotate_size": 104857600
    }
}

Are you using external storage, if yes which one: No

Are you using encryption: No

Are you using an external user-backend, if yes which one: No

Client configuration

Browser:
Firefox 56.0
Operating system:
Fedora 26

Logs

Web server error log

Web server error log
Nothing printed in the web server error log.

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"WfxqSKct6bDQosR-Bzn@OwAAAAI","level":2,"time":"2017-11-03T14:08:25+01:00","remoteAddr":"192.168.1.1","user":"user","app":"core","method":"POST","url":"\/cloud\/index.php\/apps\/files_trashbin\/ajax\/delete.php","message":"normalizing failed for \"\/user\/files_trashbin\/files\/.d\u00b6rgenMelin_Examensarbete_final_v3.rar\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko\/20100101 Firefox\/56.0","version":"12.0.3.3"}
{"reqId":"WfxqSKct6bDQosR-Bzn@OwAAAAI","level":2,"time":"2017-11-03T14:08:25+01:00","remoteAddr":"192.168.1.1","user":"user","app":"core","method":"POST","url":"\/cloud\/index.php\/apps\/files_trashbin\/ajax\/delete.php","message":"normalizing failed for \"files_trashbin\/files\/.d\u00b6rgenMelin_Examensarbete_final_v3.rar\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko\/20100101 Firefox\/56.0","version":"12.0.3.3"}
{"reqId":"WfxqSKct6bDQosR-Bzn@OwAAAAI","level":2,"time":"2017-11-03T14:08:25+01:00","remoteAddr":"192.168.1.1","user":"user","app":"core","method":"POST","url":"\/cloud\/index.php\/apps\/files_trashbin\/ajax\/delete.php","message":"normalizing failed for \"files_trashbin\/files\/.d\u00b6rgenMelin_Examensarbete_final_v3.rar\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko\/20100101 Firefox\/56.0","version":"12.0.3.3"}
{"reqId":"WfxqSKct6bDQosR-Bzn@OwAAAAI","level":2,"time":"2017-11-03T14:08:26+01:00","remoteAddr":"192.168.1.1","user":"user","app":"core","method":"POST","url":"\/cloud\/index.php\/apps\/files_trashbin\/ajax\/delete.php","message":"normalizing failed for \"\/user\/files_trashbin\/files\/.d\u00a4llare.jpg\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko\/20100101 Firefox\/56.0","version":"12.0.3.3"}
{"reqId":"WfxqSKct6bDQosR-Bzn@OwAAAAI","level":2,"time":"2017-11-03T14:08:26+01:00","remoteAddr":"192.168.1.1","user":"user","app":"core","method":"POST","url":"\/cloud\/index.php\/apps\/files_trashbin\/ajax\/delete.php","message":"normalizing failed for \"files_trashbin\/files\/.d\u00a4llare.jpg\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko\/20100101 Firefox\/56.0","version":"12.0.3.3"}
{"reqId":"WfxqSKct6bDQosR-Bzn@OwAAAAI","level":2,"time":"2017-11-03T14:08:26+01:00","remoteAddr":"155.4.14.35","user":"bol","app":"core","method":"POST","url":"\/cloud\/index.php\/apps\/files_trashbin\/ajax\/delete.php","message":"normalizing failed for \"files_trashbin\/files\/.d\u00a4llare.jpg\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko\/20100101 Firefox\/56.0","version":"12.0.3.3"}

@wiswedel
Copy link
Contributor

Is this still happening on 16.0.1?

@ghost ghost closed this as completed Jun 12, 2019
@skjnldsv skjnldsv added 0. Needs triage Pending check for reproducibility or if it fits our roadmap needs info labels Jun 12, 2019
@skjnldsv skjnldsv reopened this Jun 12, 2019
@ghost ghost removed the stale Ticket or PR with no recent activity label Jun 12, 2019
@ghost
Copy link

ghost commented Jul 12, 2019

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

@ghost ghost added the stale Ticket or PR with no recent activity label Jul 12, 2019
@ghost ghost closed this as completed Jul 26, 2019
This issue was closed.
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 feature: trashbin needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

5 participants