External Storage: HTTP/1.1 503 Storage is temporarily not available
Steps to reproduce
- Configure external Storage to webdav.magentacloud.de.
- Options: username/passwort, use https, enable preview
- Foldername: Extern/cloud
- Create Folder Extern with Webinterface under Nextcloud
-
Go to Apps->Folders and browse to the external cloud folder.
-
Get Error Message "Storage is temporarily not available"
-
Show Log:
Fatal webdav Sabre\DAV\Exception\ServiceUnavailable: HTTP/1.1 503 Storage is temporarily not available
/var/www/vhosts/pbox24.de/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 939: OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('Extern/cloud')
/var/www/vhosts/pbox24.de/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 336: Sabre\DAV\Server->getPropertiesForPath('Extern/cloud', Array, 1)
[internal function] Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/vhosts/pbox24.de/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/vhosts/pbox24.de/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PROPFIND', Array)
/var/www/vhosts/pbox24.de/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/vhosts/pbox24.de/nextcloud/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec()
/var/www/vhosts/pbox24.de/nextcloud/remote.php - line 165: require_once('/var/www/vhosts...')
{main}
- In addition
I also checked the network traffic with tcpdump. If the option at https:// in the settings is not enabled i get many requests to webdav server. If the option at https:// in the settings is enabled here is no network request to the webdav server at all.
Expected behaviour
It should show the files on external storage
Actual behaviour
I get the error message : Storage is temporarily not available
Server configuration
Operating system: Ubuntu 16.04 LTS
Web server: Apache 2.4.18
Database: MySQL 5.7.17
PHP version: 7.0.13
Nextcloud version: (see Nextcloud admin page) 11.0.1
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: Nextcloud website
Signing status: i dont know
Integrity check: No errors have been found.
List of activated apps:
App list
Enabled:
- activity: 2.4.1
- comments: 1.1.0
- dav: 1.1.1
- encryption: 1.4.1
- federatedfilesharing: 1.1.1
- federation: 1.1.1
- files: 1.6.1
- files_external: 1.1.2
- files_pdfviewer: 1.0.1
- files_sharing: 1.1.1
- files_texteditor: 2.2
- files_trashbin: 1.1.0
- files_versions: 1.4.0
- files_videoplayer: 1.0.0
- firstrunwizard: 2.0
- gallery: 16.0.0
- logreader: 2.0.0
- lookup_server_connector: 1.0.0
- nextcloud_announcements: 1.0
- notifications: 1.0.1
- password_policy: 1.1.0
- provisioning_api: 1.1.0
- serverinfo: 1.1.1
- sharebymail: 1.0.1
- survey_client: 0.1.5
- systemtags: 1.1.3
- theming: 1.1.1
- twofactor_backupcodes: 1.0.0
- updatenotification: 1.1.1
- workflowengine: 1.1.1
Disabled:
- admin_audit
- external
- files_accesscontrol
- files_automatedtagging
- files_retention
- templateeditor
- user_external
- user_ldap
- user_saml
The content of config/config.php:
Config report
{
"system": {
"instanceid": "ocjimdtby5ih",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"viper666.selfhost.bz"
],
"datadirectory": "\/var\/customers\/webs\/Stefan\/viper666.selfhost.bz\/data",
"overwrite.cli.url": "https:\/\/viper666.selfhost.bz",
"dbtype": "mysql",
"version": "11.0.1.2",
"dbname": "nextcloud",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"loglevel": "2",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": "true",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "localhost",
"port": 6379
}
}
}
Are you using external storage, if yes which one: local/smb/sftp/... Yes: webdav, dropbox, local
Are you using encryption: yes/no Yes, but not to the external memory, since the encryption does not work here either.
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No
Client configuration
Browser: Firefox 50.1.0
Operating system: Windows 10 and Windows 7
Logs
Web server error log
Web server error log
``` No error in this log ```Nextcloud log (data/nextcloud.log)
Nextcloud log
{"reqId":"kqcphi0WkTRJ0P2+pMn9","remoteAddr":"194.113.40.34","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 Storage is temporarily not available\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/customers\\\/webs\\\/Stefan\\\/viper666.selfhost.bz\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(939): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->getNodeForPath('Extern\\\/cloud')\\n#1 \\\/var\\\/customers\\\/webs\\\/Stefan\\\/viper666.selfhost.bz\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(336): Sabre\\\\DAV\\\\Server->getPropertiesForPath('Extern\\\/cloud', Array, 1)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPropFind(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/customers\\\/webs\\\/Stefan\\\/viper666.selfhost.bz\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/customers\\\/webs\\\/Stefan\\\/viper666.selfhost.bz\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PROPFIND', Array)\\n#5 \\\/var\\\/customers\\\/webs\\\/Stefan\\\/viper666.selfhost.bz\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/customers\\\/webs\\\/Stefan\\\/viper666.selfhost.bz\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/customers\\\/webs\\\/Stefan\\\/viper666.selfhost.bz\\\/remote.php(165): require_once('\\\/var\\\/customers\\\/...')\\n#8 {main}\",\"File\":\"\\\/var\\\/customers\\\/webs\\\/Stefan\\\/viper666.selfhost.bz\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php\",\"Line\":162,\"User\":\"sherb\"}","level":4,"time":"2017-01-31T12:02:19+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Extern\/cloud","user":"sherb","version":"11.0.1.2"}
Browser log
Browser log
No errors here
I ran into this today too.
Server configuration
Operating system: Debian
Web server: nginx
Database: MariaDB
PHP version: 7.0.15
Nextcloud version: (see Nextcloud admin page) 11.0.1
Debug log
webdav Sabre\DAV\Exception\NotFound: HTTP/1.1 404 Entity does not exist or is not available
/var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 76: OCA\DAV\SystemTag\SystemTagsObjectTypeCollection->getChild('-1')
/var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 939: Sabre\DAV\Tree->getNodeForPath('systemtags-rela...')
/var/www/owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 336: Sabre\DAV\Server->getPropertiesForPath('systemtags-rela...', Array, 1)
[internal function] Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PROPFIND', Array)
/var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/owncloud/apps/dav/lib/Server.php - line 227: Sabre\DAV\Server->exec()
/var/www/owncloud/apps/dav/appinfo/v2/remote.php - line 30: OCA\DAV\Server->exec()
/var/www/owncloud/remote.php - line 165: require_once('/var/www/ownclo...')
{main}
Same error here
Server configuration
Operating system: OpenSuse 13.1
Web server: nginx
Database: MariaDB
PHP version: 5.6.9 (FPM)
Nextcloud version: (see Nextcloud admin page) 11.0.1
Debug log

Hi,
I seem to be having the same issue using SMB external storage
Expected behaviour It should show the files on external storage
Actual behaviour I get the error message : Storage is temporarily not available
## Server configuration
Operating system: debian 8.5
Web server: Apache 2.4.10
Database: MySQL 5.5.49
PHP version: 7.0.15
Nextcloud version: 11.0.1
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: Nextcloud website
Signing status: i dont know
Integrity check: No errors have been found.
List of activated apps: `Enabled:
- activity: 2.4.1
- comments: 1.1.0
- dav: 1.1.1
- federatedfilesharing: 1.1.1
- federation: 1.1.1
- files: 1.6.1
- files_external: 1.1.2
- files_pdfviewer: 1.0.1
- files_sharing: 1.1.1
- files_texteditor: 2.2
- files_videoplayer: 1.0.0
- firstrunwizard: 2.0
- gallery: 16.0.0
- logreader: 2.0.0
- lookup_server_connector: 1.0.0
- nextcloud_announcements: 1.0
- notifications: 1.0.1
- password_policy: 1.1.0
- provisioning_api: 1.1.0
- serverinfo: 1.1.1
- sharebymail: 1.0.1
- survey_client: 0.1.5
- systemtags: 1.1.3
- templateeditor: 0.2
- theming: 1.1.1
- twofactor_backupcodes: 1.0.0
- twofactor_totp: 1.1.0
- updatenotification: 1.1.1
- user_ldap: 1.1.1
- workflowengine: 1.1.1 Disabled:
- admin_audit
- encryption
- external
- files_accesscontrol
- files_automatedtagging
- files_retention
- files_trashbin
- files_versions
- user_external
- user_saml `
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxxxxxxxxx',
'passwordsalt' => 'xxxxxxxxxxxxxxxx',
'secret' => 'xxxxxxxxxxxxxxx',
'trusted_domains' =>
array (
0 => '192.168.250.65',
),
'datadirectory' => '/var/owncloud',
'overwrite.cli.url' => 'http://192.168.250.65',
'dbtype' => 'mysql',
'version' => '11.0.1.2',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxxxxxxxxxxxxxxx',
'dbpassword' => 'xxxxxxxxxxxxx',
'logtimezone' => 'Europe/Brussels',
'installed' => true,
'ldapIgnoreNamingRules' => false,
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'mail_smtpmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'xxxxxxxxxxx.xx',
'mail_smtpport' => '25',
'mail_smtphost' => '192.168.250.254',
'log_rotate_size' => 52428800,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
'session_lifetime' => 1800,
'updater.release.channel' => 'production',
);
Are you using external storage, if yes which one: local/smb/sftp/...
Yes: SMB
Are you using encryption: yes/no No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... LDAP
## Client configuration
Browser: chrome 56.0.2924.87
Operating system: Windows 10 and Windows 7
Logs
Nextcloud log (data/nextcloud.log)
{"reqId":"25GqKNrE3V\/gLYsP68VG","remoteAddr":"192.168.250.145","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 Storage is temporarily not available\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(939): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->getNodeForPath('Depot')\\n#1 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(336): Sabre\\\\DAV\\\\Server->getPropertiesForPath('Depot', Array, 1)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPropFind(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PROPFIND', Array)\\n#5 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#8 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php\",\"Line\":162,\"User\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"}","level":4,"time":"2017-02-10T15:27:05+01:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Depot","user":"xxxxxxxxxxxxxxxxxxxxxxxxxx","version":"11.0.1.2"}
I have the same issue, is there a solution?
@LuCu11
Hay,
it seems there is no solution. My solution was to backport to owncloud. I use nextcloud only in an testing instance and I hope I can backport if the error is fixed.
@mister-man I installed nextcloud, and there is the same issue, maybe it has somthing todo with the sabredav implementation? it is possible to show the sabredav sessions?
I have the same issue. Webdav server works fine with other clients. Waiting for fixing.
Same error here, trying to set up WebDav connection to https://webdav.magentacloud.de/ WebDAV server is reachable with cadaver from server running Nextcloud.
Sabre\DAV\Exception\ServiceUnavailable: HTTP/1.1 503 Storage is temporarily not available
<root>/nc/3rdparty/sabre/dav/lib/DAV/Server.php - line 939: OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('Magenta')
<root>/nc/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 336: Sabre\DAV\Server->getPropertiesForPath('Magenta', Array, 1)
[internal function] Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
<root>/nc/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
<root>/nc/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PROPFIND', Array)
<root>/nc/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
<root>/nc/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec()
<root>/nc/remote.php - line 165: require_once('/var/www/virtua...')
{main}
cc @icewind1991 @schiessle @rullzer
I have the same situation when I try to setup a WebDav connection to https://webdav.mc.gmx.net.
well all I can say here is that this works for me. If somebody can create an account for me on an instance that crashed I can look a bit further.
MagentaCloud Accounts can be created for free at https://meinkonto.telekom-dienste.de/konto/registrierung/v2/extmail/index.xhtml?regp=extmail&sid=mc&pid=12001 using a disposable email address.
If you're unable to read German I can create a test account for you.
Same problem with web.de (https://webdav.smartdrive.web.de). btw gmx.de, web.de (both for sure) and maybe also MagentaCloud are provided by united-internet.de
@rullzer Would be no problem to create a test account for you, just need some kind of contact information to send you the login.
I just tested this on master and on NC12. And both work fine for me with webdav.magentacloud.de (using https).
One thing.
Can you check if your data/files_external/rootcerts.crt isn't empty?
$ wc rootcerts.crt 4043 4831 261889 rootcerts.crt
mmm then maybe it is a bug in 11... can somebody with a nc12 setup verify for me that it works on 12?
My installation is NC 12.0.0, upgraded from an initial install of 11.0.3 (didn't work with 11.0.3 as well). Did you enable file encryption for you test? I've enabled encryption for internal and external files.
No I don't use encryption. I'll test later but
Also seems to work with encryption here....
My installation is a upgraded version from around 9(?) now I'm at 12. I still can't access webdav. Seems like it's a different error message this time.
{"reqId":"mkeJDj1Rh3vj94CnuiEi","level":4,"time":"2017-08-04T19:59:47+00:00","remoteAddr":"1.2.3.4","user":"andre","app":"webdav","method":"PROPFIND","url":"\/remote.php\/webdav\/diskstation%20-%20share","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 Storage is temporarily not available\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(966): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->getNodeForPath('diskstation - s...')\\n#1 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1665): Sabre\\\\DAV\\\\Server->getPropertiesIteratorForPath('diskstation - s...', Array, 1)\\n#2 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(355): Sabre\\\\DAV\\\\Server->generateMultiStatus(Object(Generator), false)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPropFind(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PROPFIND', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(71): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/owncloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/ownclo...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php\",\"Line\":162,\"User\":\"andre\"}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/60.0.3112.78 Safari\/537.36","version":"12.0.0.29"}