Connection to server lost

it says when i start up nextcloud that coonection to server is lost. What do I do?

who is it? NC client? Browser? Webdav mount?
Logfiles, NC version, …

A post was split to a new topic: Lot of problems with Nextcloud

I have the same problem… and it doesn’t matter what version of the next cloud client.

I’m running NextCloud 11.0.2, and this happens with all browsers.

What I see in the Nextcloud logs is:

{“reqId”:“JQxcOQVepJkkgisE650/”,“remoteAddr”:“10.100.100.254”,“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(‘VPN Access (Fil…’)\n#1 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(336): Sabre\\DAV\\Server->getPropertiesForPath(‘VPN Access (Fil…’, 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”:“61D03FCD-028F-4CEF-B120-E5E5A451C5DC”}",“level”:4,“time”:“2017-04-17T12:08:30-08:00”,“method”:“PROPFIND”,“url”:"/remote.php/webdav/VPN%20Access%20(Files%20and%20Tools)",“user”:“61D03FCD-028F-4CEF-B120-E5E5A451C5DC”,“version”:“11.0.2.7”}

It also seems to cause a crash of apache (this is new since 11.0.2):

*** Error in `/usr/sbin/apache2’: free(): invalid next size (fast): 0x00007ff394139c00 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ff3fd8d67e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7ff3fd8dee0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7ff3fd8e298c]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(DestroySemaphoreInfo+0x54)[0x7ff3e8b399f4]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(+0xe94b8)[0x7ff3e8a974b8]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(DestroyExceptionInfo+0xb)[0x7ff3e8a9755b]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(IsEventLogging+0x43)[0x7ff3e8ad2fc3]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(LogMagickEventList+0x24)[0x7ff3e8ad31a4]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(LogMagickEvent+0x85)[0x7ff3e8ad3275]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(+0x12c22a)[0x7ff3e8ada22a]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(+0x12c7a6)[0x7ff3e8ada7a6]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(OpenModules+0x69)[0x7ff3e8adb5e9]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(GetMagickInfo+0x1a8)[0x7ff3e8ad5f38]
/usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2(GetMagickList+0x68)[0x7ff3e8ad66c8]
/usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.2(MagickQueryFormats+0x20)[0x7ff3e8f0df30]
/usr/lib/php/20160303/imagick.so(zim_imagick_queryformats+0x66)[0x7ff3e91b1956]
/usr/lib/apache2/modules/libphp7.1.so(+0x3018ec)[0x7ff3f9f808ec]
/usr/lib/apache2/modules/libphp7.1.so(execute_ex+0x2b)[0x7ff3f9f27f2b]
/usr/lib/apache2/modules/libphp7.1.so(zend_call_function+0x7cb)[0x7ff3f9ece4fb]
/usr/lib/apache2/modules/libphp7.1.so(zif_call_user_func_array+0xcb)[0x7ff3f9e156db]
/usr/lib/apache2/modules/libphp7.1.so(+0x300e72)[0x7ff3f9f7fe72]
/usr/lib/apache2/modules/libphp7.1.so(execute_ex+0x2b)[0x7ff3f9f27f2b]
/usr/lib/apache2/modules/libphp7.1.so(zend_call_function+0x7cb)[0x7ff3f9ece4fb]
/usr/lib/apache2/modules/libphp7.1.so(zif_call_user_func+0xb2)[0x7ff3f9e15492]
/usr/lib/apache2/modules/libphp7.1.so(+0x30124e)[0x7ff3f9f8024e]
/usr/lib/apache2/modules/libphp7.1.so(execute_ex+0x2b)[0x7ff3f9f27f2b]
/usr/lib/apache2/modules/libphp7.1.so(zend_execute+0x180)[0x7ff3f9f82d70]
/usr/lib/apache2/modules/libphp7.1.so(zend_execute_scripts+0xc3)[0x7ff3f9ede783]
/usr/lib/apache2/modules/libphp7.1.so(php_execute_script+0x2d0)[0x7ff3f9e7acc0]
/usr/lib/apache2/modules/libphp7.1.so(+0x305f3a)[0x7ff3f9f84f3a]
/usr/sbin/apache2(ap_run_handler+0x40)[0x55ef0fe43a70]
/usr/sbin/apache2(ap_invoke_handler+0xb6)[0x55ef0fe43ff6]
/usr/sbin/apache2(ap_internal_redirect+0x4c)[0x55ef0fe5aeec]
/usr/lib/apache2/modules/mod_rewrite.so(+0x4b62)[0x7ff3f6925b62]
/usr/sbin/apache2(ap_run_handler+0x40)[0x55ef0fe43a70]
/usr/sbin/apache2(ap_invoke_handler+0xb6)[0x55ef0fe43ff6]
/usr/sbin/apache2(ap_process_async_request+0x372)[0x55ef0fe5bc62]
/usr/sbin/apache2(ap_process_request+0x10)[0x55ef0fe5be10]
/usr/lib/apache2/modules/mod_http2.so(+0x2629d)[0x7ff3faf8129d]
/usr/sbin/apache2(ap_run_process_connection+0x40)[0x55ef0fe4db90]
/usr/lib/apache2/modules/mod_http2.so(+0x27607)[0x7ff3faf82607]
/usr/lib/apache2/modules/mod_http2.so(+0x2a227)[0x7ff3faf85227]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7ff3fdc2f6ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7ff3fd96582d]

My storage is a NFS mount to our NAS.

I’m not sure if php 7.1 is fully supported in NC 11 (NC 12, expected at the end of this month, should support it). If you are still in the testing phase, you might want to try NC 12 and report such errors to the bugtracker. On NC 11, I would first try with php 7.0.