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): 13.0.4
Operating system and version (eg, Ubuntu 17.04): CentOS 7
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.12.2
PHP version (eg, 7.1): 7.2.6
The issue you are facing: Internal Server Error
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Power goes out
- Reboot server
- Error: https://i.imgur.com/oSS2R7C.png
- Try and fix error: Write errors for nfs mount
- Can’t fix error, restore changes
- Restart nginx and php-fpm… New Error: login message gone I can now enter user and password but login button doesn’t work.
- Move app data folder
- Restart nginx and php-fpm… New Error 2: Internal server Error
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => ':D',
'passwordsalt' => ':D',
'secret' => ':D',
'trusted_domains' =>
array (
0 => '192.168.1.106',
),
'datadirectory' => '/media/nextCloudDrive/data',
'overwrite.cli.url' => 'https://192.168.1.106',
'dbtype' => 'mysql',
'version' => '13.0.4.0',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => ':D',
'dbpassword' => ':D',
'installed' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
2018/06/23 21:58:53 [error] 3355#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: fileperms(): stat failed for /media/nextCloudDrive/data/nextcloud.log in /usr/share/nginx/html/nextcloud/lib/private/Log/File.php on line 136
PHP message: {"reqId":"Slvxl2zRYKVJ9XS1DDyH","level":3,"time":"2018-06-24T02:58:53+00:00","remoteAddr":"192.168.1.175","user":"--","app":"PHP","method":"GET","url":"\/login","message":"fileperms(): stat failed for \/media\/nextCloudDrive\/data\/nextcloud.log at \/usr\/share\/nginx\/html\/nextcloud\/lib\/private\/Log\/File.php#136","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0","version":"13.0.4.0"}
PHP message: {"reqId":"Slvxl2zRYKVJ9XS1DDyH","level":3,"time":"2018-06-24T02:58:53+00:00","remoteAddr":"192.168.1.175","user":"--","app":"index","method":"GET","url":"\/login","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php(217): OC\\\\Files\\\\Node\\\\Node->getFileInfo()\\n#1 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php(117): OC\\\\Files\\\\Node\\\\Node->getPermissions()\\n#2 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Folder.php(155): OC\\\\Files\\\\Node\\\\Node->checkPermissions(4)\\n#3 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/AppData\\\/AppData.php(92): OC\\\\Files\\\\Node\\\\Folder->newFolder('js')\\n#4 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/AppData\\\/AppData.php(112): OC\\\\Fi...
PHP message: PHP Warning: fileperms(): stat failed for /media/nextCloudDrive/data/nextcloud.log in /usr/share/nginx/html/nextcloud/lib/private/Log/File.php on line 136
PHP message: {"reqId":"Slvxl2zRYKVJ9XS1DDyH","level":3,"time":"2018-06-24T02:58:53+00:00","remoteAddr":"192.168.1.175","user":"--","app":"PHP","method":"GET","url":"\/login","messa
2018/06/23 21:58:53 [error] 3355#0: *1 FastCGI sent in stderr: "":\"OCP\\\\Files\\\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php(217): OC\\\\Files\\\\Node\\\\Node->getFileInfo()\\n#1 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php(117): OC\\\\Files\\\\Node\\\\Node->getPermissions()\\n#2 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Folder.php(155): OC\\\\Files\\\\Node\\\\Node->checkPermissions(4)\\n#3 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/AppData\\\/AppData.php(92): OC\\\\Files\\\\Node\\\\Folder->newFolder('js')\\n#4 \\\/usr\\\/share\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/AppData\\\/AppData.php(112): OC\\\\Fil" while reading response header from upstream, client: 192.168.1.175, server: 192.168.1.106, request: "GET /login HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.106"