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

Nextcloud community Storage is temporarily not available #11447

Closed
sebelk opened this issue Sep 28, 2018 · 4 comments
Closed

Nextcloud community Storage is temporarily not available #11447

sebelk opened this issue Sep 28, 2018 · 4 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info stale Ticket or PR with no recent activity

Comments

@sebelk
Copy link

sebelk commented Sep 28, 2018

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!

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #4730 (Storage), #9125 (Shared folder its showing "Storage is temporarily not available"), #9298 (Shared folder its showing "Storage is temporarily not available"), #5248 (Nextcloud does not switch Primary Storage?), and #4173 ( 503 Storage is temporarily not available).

@Klakla2
Copy link

Klakla2 commented Oct 23, 2018

We had a similar isssue in nextcloud 13.0.7:
Storage is temporarily not available

After trying several things it helped to do files:tranfer-ownership in the occ cli.
It seems this is checking all the shares in detail and fixing all problems in the data base while doing the transfer.

@skjnldsv skjnldsv added 0. Needs triage Pending check for reproducibility or if it fits our roadmap needs info labels Jun 12, 2019
@skjnldsv
Copy link
Member

Anynews? Still happening?

@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 needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

4 participants