Support intro
Sorry to hear you’re facing problems
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
Nextcloud version (eg, 12.0.2): The latest snap version
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04 LTS
Apache or nginx version (eg, Apache 2.4.25): Bundled with the snap
PHP version (eg, 7.1): Bundled with the snap
The issue you are facing: Unable to connect to server with browser
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Reboot server
- Restart nextcloud snap
- Try to connect with a browser
The output of your Nextcloud log in Admin > Logging:
pekka@FACEHUGGER:/var/snap/nextcloud/common$ sudo less nextcloud/data/nextcloud.log
{"reqId":"YSfZ3LrryvvcIwKocwiV","level":3,"time":"2019-11-01T09:21:19+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"fOW6mrBlFejsIlcX2Evg","level":3,"time":"2019-11-01T09:31:08+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"NnBC8oUnXWz1EzcyvLH2","level":3,"time":"2019-11-01T09:39:37+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"Qij4nmomz3z4X180kemC","level":3,"time":"2019-11-01T09:45:06+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"RM9EmvtWGFpl69uMB1B3","level":3,"time":"2019-11-01T09:46:28+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"PUwqisO1xaO0Qn0eQNzW","level":3,"time":"2019-11-01T11:30:43+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"XoXWJAjKJVXnF5we0kda","level":3,"time":"2019-11-01T11:31:26+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"93R9PrRk7XKWmmg9ZiaV","level":3,"time":"2019-11-01T11:33:43+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/news\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/news, file: index.php\/css\/news\/3eb1-469a-mobile.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"flGCdBe1h66EsIfk3DeC","level":3,"time":"2019-11-01T11:33:47+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
{"reqId":"AF4p1RBeL5IMzKk6c88n","level":3,"time":"2019-11-01T11:34:05+00:00","remoteAddr":"192.168.1.228","user":"pekka","app":"lib","method":"GET","url":"\/index.php\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/snap\/nextcloud\/16739\/nextcloud\/extra-apps\/spreed, file: index.php\/css\/spreed\/41bb-469a-merged-files.css?v=d41d8cd98f00b204e9800998ecf8427e, webRoot: , throw: true)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"16.0.5.1"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
pekka@FACEHUGGER:/var/snap/nextcloud/current/nextcloud/config$ sudo less config.php
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/snap/nextcloud/current/htdocs/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
'url' => '/extra-apps',
'writable' => true,
),
),
'supportedDatabases' =>
array (
0 => 'mysql',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/tmp/sockets/redis.sock',
'port' => 0,
),
'instanceid' => 'oc6z2a5jae0j',
'passwordsalt' => '**foo**',
'secret' => '**foo**',
'trusted_domains' =>
array (
0 => '**<server.url>**',
1 => '**192.168.X.XXX**',
),
'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
'dbtype' => 'mysql',
'version' => '16.0.5.1',
'overwrite.cli.url' => '**<server.url>**',
config.php
The output of your Apache/nginx/system log in /var/log/____
:
pekka@FACEHUGGER:/var/snap/nextcloud/current/apache$ sudo less logs/error_log
[Fri Nov 01 11:46:30.839382 2019] [unixd:alert] [pid 17868:tid 139648662804352] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Nov 01 12:43:16.091107 2019] [mpm_event:notice] [pid 17746:tid 139648662804352] AH00491: caught SIGTERM, shutting down
[Fri Nov 01 12:43:33.231770 2019] [ssl:warn] [pid 7483:tid 140369178601344] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Fri Nov 01 12:43:33.239664 2019] [ssl:warn] [pid 7483:tid 140369178601344] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Nov 01 12:43:33.240661 2019] [mpm_event:notice] [pid 7483:tid 140369178601344] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Nov 01 12:43:33.240704 2019] [core:notice] [pid 7483:tid 140369178601344] AH00094: Command line: 'httpd -d /snap/nextcloud/16739 -D EnableHTTPS -D EnableHSTS -D FOREGROUND'
[Fri Nov 01 12:43:33.241459 2019] [unixd:alert] [pid 7486:tid 140369178601344] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Nov 01 12:43:33.241786 2019] [unixd:alert] [pid 7488:tid 140369178601344] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Nov 01 12:43:33.241916 2019] [unixd:alert] [pid 7487:tid 140369178601344] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Nov 01 12:44:13.280442 2019] [unixd:alert] [pid 8068:tid 140369178601344] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Nov 01 12:44:16.806401 2019] [mpm_event:notice] [pid 7483:tid 140369178601344] AH00491: caught SIGTERM, shutting down
[Fri Nov 01 12:44:19.788060 2019] [ssl:warn] [pid 8739:tid 140503829616512] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Fri Nov 01 12:44:19.795912 2019] [ssl:warn] [pid 8739:tid 140503829616512] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Nov 01 12:44:19.796917 2019] [mpm_event:notice] [pid 8739:tid 140503829616512] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Nov 01 12:44:19.796960 2019] [core:notice] [pid 8739:tid 140503829616512] AH00094: Command line: 'httpd -d /snap/nextcloud/16739 -D EnableHTTPS -D EnableHSTS -D FOREGROUND'
[Fri Nov 01 12:44:19.797930 2019] [unixd:alert] [pid 8743:tid 140503829616512] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Nov 01 12:44:19.798062 2019] [unixd:alert] [pid 8742:tid 140503829616512] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Nov 01 12:44:19.798125 2019] [unixd:alert] [pid 8744:tid 140503829616512] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Nov 01 12:44:23.803039 2019] [unixd:alert] [pid 8980:tid 140503829616512] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive