Storage is temporarily not available

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): 13.0.2.1
Operating system and version (eg, Ubuntu 17.04):** CentOS 7.3.1611**
Apache or nginx version (eg, Apache 2.4.25): Apache: httpd-2.4.6-45.el7.centos.4.x86_64
PHP version (eg, 7.1): PHP 7.1.8

The issue you are facing:

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

Steps to replicate it:

  1. Change from AD DC to SAMBA4 DC
  2. Link new directory_uuid to old directory_uuid
  3. Update oc_share table with new values of uid_owner and share_with

The output of your Nextcloud log in Admin > Logging:

webdav	Sabre\DAV\Exception\ServiceUnavailable: Storage is temporarily not available

    /usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 81: OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('procesos-CESAR')
    [internal function] Sabre\DAV\CorePlugin->httpGet(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
    /usr/share/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
    /usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method GET', Array)
    /usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
    /usr/share/nextcloud/apps/dav/appinfo/v1/webdav.php - line 80: Sabre\DAV\Server->exec()
    /usr/share/nextcloud/remote.php - line 164: require_once('/usr/share/next...')
    {main}

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

<?php
$CONFIG = array (
  'passwordsalt' => 'xxxxxxxxxx/',
  'secret' => 'xxxxxxxxx',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'muteriver.infoestructura.local',
    2 => '192.168.50.8',
    3 => 'infoestructura.local',
    4 => 'cloud.xxxxx.com',
    5 => 'cloud.xxxxx.com:44300',
    6 => 'office.xxxxxx.com',
  ),
  'htaccess.RewriteBase' => '/',
  'datadirectory' => '/var/lib/nethserver/nextcloud/',
  'overwrite.cli.url' => 'http://localhost',
  'dbtype' => 'mysql',
  'version' => '13.0.2.1',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => 'xxxxxxxxxxx',
'installed' => true,
  'instanceid' => 'ocmstnc1xrkf',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'maintenance' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'loglevel' => 2,
);
 NORMAL

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

(I think these errors are not related with the issue=

[Tue Sep 25 09:00:23.215328 2018] [proxy_http:error] [pid 11746] (20014)Internal error: [client xxxx.xxx.136.44:39194] AH01102: error reading status line from remote server 127.0.0.1:20000
[Tue Sep 25 09:00:23.215396 2018] [proxy:error] [pid 11746] [client xxx.xxx.136.44:39194] AH00898: Error reading from remote server returned by /Microsoft-Server-ActiveSync

Please, could you help me to fix it?

Thanks in advance!