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

All shared folders deleted when deleting one shared folder #9812

Closed
ameesme opened this issue Jun 9, 2018 · 2 comments
Closed

All shared folders deleted when deleting one shared folder #9812

ameesme opened this issue Jun 9, 2018 · 2 comments

Comments

@ameesme
Copy link

ameesme commented Jun 9, 2018

Steps to reproduce

  1. Share a folder with email addresses
  2. Delete the folder from the Files-app directly
  3. Go to the "Shared with others" list of the Files-app. The following view should appear when clicking the menu-button of the just-deleted folder:

screen shot 2018-06-09 at 17 03 30

4. Delete the shared folder by clicking "Delete"

To be clear; the to be deleted folder is not the root folder of the Nextcloud-instance.

Expected behaviour

The deleted folder should not even be visible in the list as a non-existent folder cannot be shared.

Actual behaviour

Deleting the share results in all list items in the view being deleted, (in my case my entire nextcloud's contents as the whole cloud was shared with an external user).

Server configuration

Operating system: Ubuntu 17.10 with Docker 17.12.0-CE

Web server: Apache with NGINX reverse-proxy

Database: MariaDB

PHP version:

Nextcloud version: 13.0.0

Updated from an older Nextcloud/ownCloud or fresh install: Fresh install

Where did you install Nextcloud from: The Nextcloud 13.0.0 Apache-dockerfile

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - activity: 2.6.1
  - admin_audit: 1.3.0
  - admin_notifications: 1.0.1
  - checksum: 0.4.0
  - comments: 1.3.0
  - dav: 1.4.6
  - encryption: 2.0.0
  - external: 3.0.3
  - federatedfilesharing: 1.3.1
  - federation: 1.3.0
  - files: 1.8.0
  - files_downloadactivity: 1.2.0
  - files_markdown: 2.0.4
  - files_pdfviewer: 1.2.0
  - files_sharing: 1.5.0
  - files_texteditor: 2.5.1
  - files_trashbin: 1.3.0
  - files_versions: 1.6.0
  - files_videoplayer: 1.2.0
  - firstrunwizard: 2.2.1
  - impersonate: 1.0.4
  - logreader: 2.0.0
  - lookup_server_connector: 1.1.0
  - mail: 0.8.1
  - metadata: 0.6.0
  - nextcloud_announcements: 1.2.0
  - notifications: 2.1.2
  - oauth2: 1.1.0
  - password_policy: 1.3.0
  - provisioning_api: 1.3.0
  - ransomware_protection: 1.1.0
  - serverinfo: 1.3.0
  - sharebymail: 1.3.0
  - spreed: 3.2.2
  - survey_client: 1.1.0
  - systemtags: 1.3.0
  - theming: 1.4.1
  - theming_customcss: 1.0.0
  - twofactor_backupcodes: 1.2.3
  - twofactor_totp: 1.4.1
  - twofactor_u2f: 1.5.5
  - updatenotification: 1.3.0
  - user_external: 0.4
  - workflowengine: 1.3.0
Disabled:
  - calendar
  - contacts
  - dashboard
  - files_external
  - gallery
  - passwords
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "13.0.0.14",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "ssl",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "maintenance": false,
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

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

Are you using encryption: Yes

Logs

Web server error log

Web server error log
172.18.0.5 - - [09/Jun/2018:14:30:47 +0000] "DELETE /remote.php/webdav/REDACTED/REDACTED/Research/Branding%20-%20REDACTED HTTP/1.1" 204 540 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:48 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:48 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2FREDACTED%2FREDACTED%2FResearch HTTP/1.1" 200 1081 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:49 +0000] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 2377 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:49 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2F HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:50 +0000] "PROPFIND /remote.php/webdav/REDACTED HTTP/1.1" 207 6615 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:50 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2FREDACTED HTTP/1.1" 200 1092 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:52 +0000] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?format=json&shared_with_me=true&include_tags=true HTTP/1.1" 200 1207 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:52 +0000] "GET /ocs/v1.php/apps/files_sharing/api/v1/remote_shares?format=json&include_tags=true HTTP/1.1" 200 684 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:54 +0000] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?format=json&shared_with_me=false&include_tags=true HTTP/1.1" 200 11561 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:54 +0000] "GET /core/preview.png?file=%2FREDACTED%2FREDACTED%2FREDACTED%2FREDACTED+REDACTED.pdf&x=64&y=64&forceIcon=0 HTTP/1.1" 404 849 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:54 +0000] "GET /core/preview.png?file=%2FREDACTED%2FREDACTED%2FOne+REDACTED%2FFinance%2F2018%2FREDACTED.pdf&x=64&y=64&forceIcon=0 HTTP/1.1" 404 849 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:54 +0000] "GET /core/preview.png?file=%2FREDACTED%2FREDACTED%2FREDACTED+Plan%2FREDACTED+Forecast+3.0.xlsx&x=64&y=64&forceIcon=0 HTTP/1.1" 404 849 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:54 +0000] "GET /core/preview.png?file=%2FREDACTED%2FREDACTED%2FAdministration%2FREDACTED+Gegevens+Overzicht.docx&x=64&y=64&forceIcon=0 HTTP/1.1" 404 849 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:54 +0000] "GET /core/preview.png?file=%2FREDACTED%2FREDACTED%2FOne+REDACTED%2FProduct%2F2018%2FREDACTED+-+REDACTED.pdf&x=64&y=64&forceIcon=0 HTTP/1.1" 404 849 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:54 +0000] "GET /core/preview.png?file=%2FREDACTED%2FREDACTED%2FAbout%2FPitches%2FPitch+13+-+Investors%2FREDACTED+REDACTED.pdf&x=64&y=64&forceIcon=0 HTTP/1.1" 404 849 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:58 +0000] "GET /apps/files/img/external.svg?v=1 HTTP/1.1" 200 561 "https://cloud.REDACTED.io/css/files/009ba70a-merged.css?v=4fda350b-10" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED%20Forecast%203.0.xlsx HTTP/1.1" 404 802 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED.pdf HTTP/1.1" 404 787 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED.png HTTP/1.1" 404 787 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED%20-%20REDACTED.pdf HTTP/1.1" 404 796 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/2018 HTTP/1.1" 404 779 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED%20Studio HTTP/1.1" 404 788 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED%20REDACTED.pdf HTTP/1.1" 404 795 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/ HTTP/1.1" 403 729 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED HTTP/1.1" 204 540 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED%20REDACTED.pdf HTTP/1.1" 404 795 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "DELETE /remote.php/webdav/REDACTED%20Gegevens%20Overzicht.docx HTTP/1.1" 404 808 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /core/preview.png?file=%2FREDACTED%2FREDACTED%2FAdministration%2FREDACTED+Gegevens+Overzicht.docx&x=64&y=64&forceIcon=0 HTTP/1.1" 404 849 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:30:59 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
172.18.0.5 - - [09/Jun/2018:14:31:00 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php HTTP/1.1" 200 1074 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
127.0.0.1 - - [09/Jun/2018:14:31:00 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.10 (Debian) PHP/7.1.14 (internal dummy connection)"
@ameesme
Copy link
Author

ameesme commented Jun 9, 2018

No errors were displayed on the servers. Considering the DELETE requests made, this appears to be a front-end issue.

@nextcloud-bot
Copy link
Member

Hey, this issue has been closed because the label stale is set and there were no updates for 14 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants