Unable to delete shared folder from another/different NC server (no longer in operation)

nc14

#1
Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 14.0.5
Operating system and version (eg, Ubuntu 17.04): 16.04.5
Apache or nginx version (eg, Apache 2.4.25): 2.4.18
PHP version (eg, 7.1): 7.0.32

The issue you are facing:

I cannot delete a shared folder from another NC server. That server is no longer in existence. The folder is empty. I cannot delete it.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Log into my NC account (admin)
  2. Attempt to delete shared folder
  3. Error messages presented

The output of your Nextcloud log in Admin > Logging:

Sabre\DAV\Exception\ServiceUnavailable: 
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 76:

NCA\DAV\Connector\Sabre\Directory->getChild("Photos")

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 178:

Sabre\DAV\Tree->getNodeForPath("files/user/Photos")

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 291:

Sabre\DAV\Tree->delete("files/user/Photos")


Sabre\DAV\CorePlugin->httpDelete(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})

/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:

call_user_func_array([ Sabre\DAV\ ... "], [ Sabre\HTTP ... }])

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:

Sabre\Event\EventEmitter->emit("method:DELETE", [ Sabre\HTTP ... }])

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:

Sabre\DAV\Server->invokeMethod(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})

/var/www/nextcloud/apps/dav/lib/Server.php - line 293:

Sabre\DAV\Server->exec()

/var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:

NCA\DAV\Server->exec()

/var/www/nextcloud/remote.php - line 163:

require_once("/var/www/ow ... p")

The output of your Apache/nginx/system log in /var/log/____:

[Thu Jan 10 17:15:28.867119 2019] [authz_core:error] [pid 11425] [client IP] AH01630: client denied by server configuration: /var/www/nextcloud/config

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'updatechecker' => false,
  'instanceid' => 'bunchastuffandthings',
  'passwordsalt' => 'bunchastuffandthings',
  'secret' => 'bunchastuffandthings',
  'trusted_domains' => 
  array (
    0 => 'EXAMPLE.com',
    2 => 'INTERNAL_IP',
    3 => 'IP_ADDRESS',
  ),
  'datadirectory' => '/file/path/here/',
  'overwrite.cli.url' => 'http://IP/stuff',
  'dbtype' => 'mysql',
  'version' => '14.0.5.2',
  'dbname' => 'nc_user',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'nc_',
  'dbuser' => 'nc_user',
  'dbpassword' => 'AMAZING_PASSWORD',
  'logtimezone' => 'UTC',
  'memcache.lncal' => '\\NC\\Memcache\\APCu',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_from_address' => 'user',
  'mail_domain' => 'EXAMPLE.com',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.mail.com',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'user@mail.com',
  'mail_smtppassword' => 'PASSWORD',
  'loglevel' => 4,
  'maintenance' => false,
  'theme' => '',
  'updater.release.channel' => 'stable',
  'data-fingerprint' => 'fingerprint',
  'updater.secret' => 'bunchastuffandthings',
);