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

Can not delete local remote shares #11160

Closed
nickvergessen opened this issue Sep 11, 2018 · 11 comments
Closed

Can not delete local remote shares #11160

nickvergessen opened this issue Sep 11, 2018 · 11 comments
Labels

Comments

@nickvergessen
Copy link
Member

I accidentally shared something with "Ivan (remote)" on our company instance. Now when trying to delete the share, I get this error:

bildschirmfoto von 2018-09-11 10-06-26

Error removing share

Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.

InvalidArgumentException: Invalid cloud id
#12 /var/www/html/lib/private/Federation/CloudIdManager.php(41): resolveCloudId
#11 federatedfilesharing/lib/AddressHandler.php(73): splitUserRemote
#10 federatedfilesharing/lib/FederatedShareProvider.php(569): revokeShare
#9 federatedfilesharing/lib/FederatedShareProvider.php(544): delete
#8 /var/www/html/lib/private/Share20/Manager.php(968): deleteShare
#7 files_sharing/lib/Controller/ShareAPIController.php(341): deleteShare
#6 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(166): executeController
#5 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(99): dispatch
#4 /var/www/html/lib/private/AppFramework/App.php(118): main
#3 /var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php(47): __invoke
#2 /var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php(0): call_user_func
#1 /var/www/html/lib/private/Route/Router.php(297): match
#0 /var/www/html/ocs/v1.php(82): null

cc @schiessle

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #8607 (Could not delete old share), #3766 (Can't delete invalid Federated Share), #1708 (Sharing: Cannot delete files from share ), #8931 (external folder can not be shared with delete permissions), and #10132 (Allow restoring of deleted user shares).

@chrsch
Copy link

chrsch commented Oct 25, 2018

Same Problem here with a cloud migrated vom oc 9.1.8 to nc 10 to 11 to 12.0.7

@mcnesium
Copy link

Facing the same issue. While it says "Invalid Federated Cloud ID" in nextcloud.log, the ID is actually valid, and both the local and the remote instance are trusted among each other. The error is reproducable with any shared file or folder, that does not belong to the local user itself, but is already a share by some other local user. It does not happen on files or folders that do belong to the local user itself.

After unsharing the folder, it does get removed on the remote side.

Here is the output of what lands in nextcloud.log:

{
    "reqId": "GuutcwPOgkd7jLXiyu3H",
    "level": 3,
    "time": "2018-11-24T16:57:40+00:00",
    "remoteAddr": "89.16.147.244",
    "user": "myuser",
    "app": "no app in context",
    "method": "DELETE",
    "url": "\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares\/51?format=json",
    "message": {
        "Exception": "OC\\HintException",
        "Message": "Invalid Federated Cloud ID",
        "Code": 0,
        "Trace": [{
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/apps\/federatedfilesharing\/lib\/FederatedShareProvider.php",
            "line": 569,
            "function": "splitUserRemote",
            "class": "OCA\\FederatedFileSharing\\AddressHandler",
            "type": "->",
            "args": ["myuser"]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/apps\/federatedfilesharing\/lib\/FederatedShareProvider.php",
            "line": 544,
            "function": "revokeShare",
            "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
            "type": "->",
            "args": [{
                "__class__": "OC\\Share20\\Share"
            }, true]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/Share20\/Manager.php",
            "line": 968,
            "function": "delete",
            "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
            "type": "->",
            "args": [{
                "__class__": "OC\\Share20\\Share"
            }]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/apps\/files_sharing\/lib\/Controller\/ShareAPIController.php",
            "line": 341,
            "function": "deleteShare",
            "class": "OC\\Share20\\Manager",
            "type": "->",
            "args": [{
                "__class__": "OC\\Share20\\Share"
            }]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
            "line": 166,
            "function": "deleteShare",
            "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
            "type": "->",
            "args": ["51"]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
            "line": 99,
            "function": "executeController",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->",
            "args": [{
                "__class__": "OCA\\Files_Sharing\\Controller\\ShareAPIController"
            }, "deleteShare"]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/AppFramework\/App.php",
            "line": 118,
            "function": "dispatch",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->",
            "args": [{
                "__class__": "OCA\\Files_Sharing\\Controller\\ShareAPIController"
            }, "deleteShare"]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php",
            "line": 47,
            "function": "main",
            "class": "OC\\AppFramework\\App",
            "type": "::",
            "args": ["OCA\\Files_Sharing\\Controller\\ShareAPIController", "deleteShare", {
                "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
            }, {
                "id": "51",
                "_route": "ocs.files_sharing.ShareAPI.deleteShare"
            }]
        }, {
            "function": "__invoke",
            "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
            "type": "->",
            "args": [{
                "id": "51",
                "_route": "ocs.files_sharing.ShareAPI.deleteShare"
            }]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/Route\/Router.php",
            "line": 297,
            "function": "call_user_func",
            "args": [{
                "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
            }, {
                "id": "51",
                "_route": "ocs.files_sharing.ShareAPI.deleteShare"
            }]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/ocs\/v1.php",
            "line": 82,
            "function": "match",
            "class": "OC\\Route\\Router",
            "type": "->",
            "args": ["\/ocsapp\/apps\/files_sharing\/api\/v1\/shares\/51"]
        }, {
            "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/ocs\/v2.php",
            "line": 24,
            "args": ["\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/ocs\/v1.php"],
            "function": "require_once"
        }],
        "File": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/apps\/federatedfilesharing\/lib\/AddressHandler.php",
        "Line": 77,
        "Hint": "Invalid Federated Cloud ID",
        "Previous": {
            "Exception": "InvalidArgumentException",
            "Message": "Invalid cloud id",
            "Code": 0,
            "Trace": [{
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/apps\/federatedfilesharing\/lib\/AddressHandler.php",
                "line": 73,
                "function": "resolveCloudId",
                "class": "OC\\Federation\\CloudIdManager",
                "type": "->",
                "args": ["myuser"]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/apps\/federatedfilesharing\/lib\/FederatedShareProvider.php",
                "line": 569,
                "function": "splitUserRemote",
                "class": "OCA\\FederatedFileSharing\\AddressHandler",
                "type": "->",
                "args": ["myuser"]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/apps\/federatedfilesharing\/lib\/FederatedShareProvider.php",
                "line": 544,
                "function": "revokeShare",
                "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
                "type": "->",
                "args": [{
                    "__class__": "OC\\Share20\\Share"
                }, true]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/Share20\/Manager.php",
                "line": 968,
                "function": "delete",
                "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
                "type": "->",
                "args": [{
                    "__class__": "OC\\Share20\\Share"
                }]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/apps\/files_sharing\/lib\/Controller\/ShareAPIController.php",
                "line": 341,
                "function": "deleteShare",
                "class": "OC\\Share20\\Manager",
                "type": "->",
                "args": [{
                    "__class__": "OC\\Share20\\Share"
                }]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
                "line": 166,
                "function": "deleteShare",
                "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
                "type": "->",
                "args": ["51"]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
                "line": 99,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [{
                    "__class__": "OCA\\Files_Sharing\\Controller\\ShareAPIController"
                }, "deleteShare"]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/AppFramework\/App.php",
                "line": 118,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [{
                    "__class__": "OCA\\Files_Sharing\\Controller\\ShareAPIController"
                }, "deleteShare"]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php",
                "line": 47,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::",
                "args": ["OCA\\Files_Sharing\\Controller\\ShareAPIController", "deleteShare", {
                    "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                }, {
                    "id": "51",
                    "_route": "ocs.files_sharing.ShareAPI.deleteShare"
                }]
            }, {
                "function": "__invoke",
                "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
                "type": "->",
                "args": [{
                    "id": "51",
                    "_route": "ocs.files_sharing.ShareAPI.deleteShare"
                }]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/Route\/Router.php",
                "line": 297,
                "function": "call_user_func",
                "args": [{
                    "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
                }, {
                    "id": "51",
                    "_route": "ocs.files_sharing.ShareAPI.deleteShare"
                }]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/ocs\/v1.php",
                "line": 82,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->",
                "args": ["\/ocsapp\/apps\/files_sharing\/api\/v1\/shares\/51"]
            }, {
                "file": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/ocs\/v2.php",
                "line": 24,
                "args": ["\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/ocs\/v1.php"],
                "function": "require_once"
            }],
            "File": "\/var\/www\/virtual\/hqe4f9m5\/cloud.domain.de\/lib\/private\/Federation\/CloudIdManager.php",
            "Line": 41
        },
        "CustomMessage": "--"
    },
    "userAgent": "Mozilla\/5.0 (X11; Linux x86_64; rv:63.0) Gecko\/20100101 Firefox\/63.0",
    "version": "14.0.3.0"
}

@mcnesium
Copy link

If you want to remove the broken rest of a share (e.g. because you want to re-share it with the same remote ID, but can't because it thinks it is there already) here is a quick workaround, if you have access to the database: you can just remove the entry in the oc_shares table.

@mcnesium
Copy link

It is also impossible to unshare something, if the remote Federated Cloud ID actually is invalid (e.g. the remote instance is no longer online). Log says:

{
    "reqId": "q1CC70zAP0OVw6vNG96Y",
    "level": 3,
    "time": "2019-03-15T15:10:08+00:00",
    "remoteAddr": "172.20.0.1",
    "user": "mcnesium",
    "app": "no app in context",
    "method": "DELETE",
    "url": "\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares\/193?format=json",
    "message": {
        "Exception": "OC\\HintException",
        "Message": "Invalid Federated Cloud ID",
        "Code": 0,
        "Trace": [{
            "file": "\/var\/www\/html\/apps\/federatedfilesharing\/lib\/FederatedShareProvider.php",
            "line": 569,
            "function": "splitUserRemote",
            "class": "OCA\\FederatedFileSharing\\AddressHandler",
            "type": "->",
            "args": ["mcnesium"]
        }, {
            "file": "\/var\/www\/html\/apps\/federatedfilesharing\/lib\/FederatedShareProvider.php",
            "line": 544,
            "function": "revokeShare",
            "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
            "type": "->",
            "args": [{
                "__class__": "OC\\Share20\\Share"
            }, true]
        }, {
            "file": "\/var\/www\/html\/lib\/private\/Share20\/Manager.php",
            "line": 979,
            "function": "delete",
            "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
            "type": "->",
            "args": [{
                "__class__": "OC\\Share20\\Share"
            }]
        }, {
            "file": "\/var\/www\/html\/apps\/files_sharing\/lib\/Controller\/ShareAPIController.php",
            "line": 351,
            "function": "deleteShare",
            "class": "OC\\Share20\\Manager",
            "type": "->",
            "args": [{
                "__class__": "OC\\Share20\\Share"
            }]
        }, {
            "file": "\/var\/www\/html\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
            "line": 166,
            "function": "deleteShare",
            "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
            "type": "->",
            "args": ["193"]
        }, {
            "file": "\/var\/www\/html\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
            "line": 99,
            "function": "executeController",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->",
            "args": [{
                "__class__": "OCA\\Files_Sharing\\Controller\\ShareAPIController"
            }, "deleteShare"]
        }, {
            "file": "\/var\/www\/html\/lib\/private\/AppFramework\/App.php",
            "line": 118,
            "function": "dispatch",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->",
            "args": [{
                "__class__": "OCA\\Files_Sharing\\Controller\\ShareAPIController"
            }, "deleteShare"]
        }, {
            "file": "\/var\/www\/html\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php",
            "line": 47,
            "function": "main",
            "class": "OC\\AppFramework\\App",
            "type": "::",
            "args": ["OCA\\Files_Sharing\\Controller\\ShareAPIController", "deleteShare", {
                "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
            }, {
                "id": "193",
                "_route": "ocs.files_sharing.ShareAPI.deleteShare"
            }]
        }, {
            "function": "__invoke",
            "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
            "type": "->",
            "args": [{
                "id": "193",
                "_route": "ocs.files_sharing.ShareAPI.deleteShare"
            }]
        }, {
            "file": "\/var\/www\/html\/lib\/private\/Route\/Router.php",
            "line": 297,
            "function": "call_user_func",
            "args": [{
                "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
            }, {
                "id": "193",
                "_route": "ocs.files_sharing.ShareAPI.deleteShare"
            }]
        }, {
            "file": "\/var\/www\/html\/ocs\/v1.php",
            "line": 82,
            "function": "match",
            "class": "OC\\Route\\Router",
            "type": "->",
            "args": ["\/ocsapp\/apps\/files_sharing\/api\/v1\/shares\/193"]
        }, {
            "file": "\/var\/www\/html\/ocs\/v2.php",
            "line": 24,
            "args": ["\/var\/www\/html\/ocs\/v1.php"],
            "function": "require_once"
        }],
        "File": "\/var\/www\/html\/apps\/federatedfilesharing\/lib\/AddressHandler.php",
        "Line": 77,
        "Hint": "Invalid Federated Cloud ID",
        "Previous": {
            "Exception": "InvalidArgumentException",
            "Message": "Invalid cloud id",
            "Code": 0,
            "Trace": [{
                "file": "\/var\/www\/html\/apps\/federatedfilesharing\/lib\/AddressHandler.php",
                "line": 73,
                "function": "resolveCloudId",
                "class": "OC\\Federation\\CloudIdManager",
                "type": "->",
                "args": ["mcnesium"]
            }, {
                "file": "\/var\/www\/html\/apps\/federatedfilesharing\/lib\/FederatedShareProvider.php",
                "line": 569,
                "function": "splitUserRemote",
                "class": "OCA\\FederatedFileSharing\\AddressHandler",
                "type": "->",
                "args": ["mcnesium"]
            }, {
                "file": "\/var\/www\/html\/apps\/federatedfilesharing\/lib\/FederatedShareProvider.php",
                "line": 544,
                "function": "revokeShare",
                "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
                "type": "->",
                "args": [{
                    "__class__": "OC\\Share20\\Share"
                }, true]
            }, {
                "file": "\/var\/www\/html\/lib\/private\/Share20\/Manager.php",
                "line": 979,
                "function": "delete",
                "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
                "type": "->",
                "args": [{
                    "__class__": "OC\\Share20\\Share"
                }]
            }, {
                "file": "\/var\/www\/html\/apps\/files_sharing\/lib\/Controller\/ShareAPIController.php",
                "line": 351,
                "function": "deleteShare",
                "class": "OC\\Share20\\Manager",
                "type": "->",
                "args": [{
                    "__class__": "OC\\Share20\\Share"
                }]
            }, {
                "file": "\/var\/www\/html\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
                "line": 166,
                "function": "deleteShare",
                "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
                "type": "->",
                "args": ["193"]
            }, {
                "file": "\/var\/www\/html\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
                "line": 99,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [{
                    "__class__": "OCA\\Files_Sharing\\Controller\\ShareAPIController"
                }, "deleteShare"]
            }, {
                "file": "\/var\/www\/html\/lib\/private\/AppFramework\/App.php",
                "line": 118,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [{
                    "__class__": "OCA\\Files_Sharing\\Controller\\ShareAPIController"
                }, "deleteShare"]
            }, {
                "file": "\/var\/www\/html\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php",
                "line": 47,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::",
                "args": ["OCA\\Files_Sharing\\Controller\\ShareAPIController", "deleteShare", {
                    "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                }, {
                    "id": "193",
                    "_route": "ocs.files_sharing.ShareAPI.deleteShare"
                }]
            }, {
                "function": "__invoke",
                "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
                "type": "->",
                "args": [{
                    "id": "193",
                    "_route": "ocs.files_sharing.ShareAPI.deleteShare"
                }]
            }, {
                "file": "\/var\/www\/html\/lib\/private\/Route\/Router.php",
                "line": 297,
                "function": "call_user_func",
                "args": [{
                    "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
                }, {
                    "id": "193",
                    "_route": "ocs.files_sharing.ShareAPI.deleteShare"
                }]
            }, {
                "file": "\/var\/www\/html\/ocs\/v1.php",
                "line": 82,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->",
                "args": ["\/ocsapp\/apps\/files_sharing\/api\/v1\/shares\/193"]
            }, {
                "file": "\/var\/www\/html\/ocs\/v2.php",
                "line": 24,
                "args": ["\/var\/www\/html\/ocs\/v1.php"],
                "function": "require_once"
            }],
            "File": "\/var\/www\/html\/lib\/private\/Federation\/CloudIdManager.php",
            "Line": 41
        },
        "CustomMessage": "--"
    },
    "userAgent": "Mozilla\/5.0 (X11; Linux x86_64; rv:65.0) Gecko\/20100101 Firefox\/65.0",
    "version": "15.0.5.3"
}

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@christian1211
Copy link

facing the same issue on nextcloud 17.0.3

@StCyr
Copy link
Contributor

StCyr commented Jul 14, 2020

I think I get the same issue on nextcloud 19.0 (UPDATE: Actualy, my bug seems more similar to #14797).

Here's my log:

{
  "reqId": "aCLKByYyIOOvkFhqdH7q",
  "level": 4,
  "time": "2020-07-14T12:24:22+00:00",
  "remoteAddr": "94.104.124.217",
  "user": "cyrille",
  "app": "webdav",
  "method": "DELETE",
  "url": "/remote.php/dav/files/cyrille/external",
  "message": "{\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Message\":\"\",\"Code\":0,\"Trace\":[{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php\",\"line\":80,\"function\":\"getChild\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php\",\"line\":182,\"function\":\"getNodeForPath\",\"class\":\"Sabre\\\\DAV\\\\Tree\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php\",\"line\":295,\"function\":\"delete\",\"class\":\"Sabre\\\\DAV\\\\Tree\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php\",\"line\":89,\"function\":\"httpDelete\",\"class\":\"Sabre\\\\DAV\\\\CorePlugin\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":474,\"function\":\"emit\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":251,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":319,\"function\":\"start\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/apps/dav/lib/Server.php\",\"line\":320,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php\",\"line\":35,\"function\":\"exec\",\"class\":\"OCA\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/remote.php\",\"line\":167,\"args\":[\"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php\"],\"function\":\"require_once\"}],\"File\":\"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php\",\"Line\":223,\"CustomMessage\":\"--\"}",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Firefox/78.0",
  "version": "19.0.0.12"
}

I'm getting this log line when trying to unshare a federated storage when the remote shared storage is not accessible anymore

@szaimen
Copy link
Contributor

szaimen commented Jun 7, 2021

Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :)

@StCyr
Copy link
Contributor

StCyr commented Jun 8, 2021

I don't know. I don't use this functionality anymore

@mcnesium
Copy link

mcnesium commented Jun 8, 2021

Checking on two instances running NC v21.0.2 I can not reproduce this error anymore. LGTM
Thank you for asking, @szaimen :)

@szaimen
Copy link
Contributor

szaimen commented Jun 8, 2021

Thank you for asking, @szaimen :)

Thanks for the feedback! :)

@szaimen szaimen closed this as completed Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants