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: 14.0.0-1
Operating system and version: Arch Linux 4.18.6-arch1-1-ARCH
Apache or nginx version: nginx-mainline 1.15.3-1
PHP version: 7.2.9-1
The issue you are facing:
Following upgrade from Nextcloud 13 to Nextcloud 14, I can no longer access the “Settings” page/menu.
When i click the “Settings” link after logging into my Nextcloud server, i receive the following message in my web browsers (current versions of Opera, Firefox, and Edge):
500 Internal Server Error
nginx/1.15.3
This error did not occur in Nextcloud 13; it began following upgrade to Nextcloud 14.
All other Nextcloud 14 functionality appears normal.
Is this the first time you’ve seen this error?: Y
Steps to replicate it:
- Upgrade from NC 13 to NC 14 using Arch Linux pacman.
- Log in to upgraded Nextcloud server
- Click on the “Settings” link
The output of your Nextcloud log in Admin > Logging:
{"reqId":"8mz6fI8m9JBklZvxCesL","level":3,"time":"2018-09-09T15:23:52+00:00","remoteAddr":"192.168.1.43","user":"MyUser","app":"index","method":"GET","url":"\/settings\/user","message":{"Exception":"Error","Message":"Class 'OCP\\Config' not found","Code":0,"Trace":[{"file":"\/usr\/share\/webapps\/nextcloud\/apps\/mozilla_sync\/settings.php","line":6,"function":"userNameToEmail","class":"OCA\\mozilla_sync\\User","type":"::","args":[]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/legacy\/app.php","line":622,"args":["\/usr\/share\/webapps\/nextcloud\/apps\/mozilla_sync\/settings.php"],"function":"include"},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/Settings\/Manager.php","line":365,"function":"getForms","class":"OC_App","type":"::","args":["personal"]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/CommonSettingsTrait.php","line":93,"function":"getPersonalSections","class":"OC\\Settings\\Manager","type":"->","args":[]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/CommonSettingsTrait.php","line":46,"function":"formatPersonalSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","personal-info"]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/CommonSettingsTrait.php","line":125,"function":"getNavigationParameters","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","personal-info"]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/PersonalSettingsController.php","line":57,"function":"getIndexResponse","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","personal-info"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal-info"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\PersonalSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"personal-info","_route":"settings.PersonalSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"personal-info","_route":"settings.PersonalSettings.index"}]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"personal-info","_route":"settings.PersonalSettings.index"}]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/base.php","line":989,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/user"]},{"file":"\/usr\/share\/webapps\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/usr\/share\/webapps\/nextcloud\/apps\/mozilla_sync\/lib\/user.php","Line":300,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/68.0.3440.106 Safari\/537.36 OPR\/55.0.2994.44","version":"14.0.0.19"}
{"reqId":"SjTUladmbVq0RiqqkG0X","level":3,"time":"2018-09-09T15:23:52+00:00","remoteAddr":"192.168.1.43","user":"MyUser","app":"index","method":"GET","url":"\/settings\/user","message":{"Exception":"Error","Message":"Class 'OCP\\Config' not found","Code":0,"Trace":[{"file":"\/usr\/share\/webapps\/nextcloud\/apps\/mozilla_sync\/settings.php","line":6,"function":"userNameToEmail","class":"OCA\\mozilla_sync\\User","type":"::","args":[]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/legacy\/app.php","line":622,"args":["\/usr\/share\/webapps\/nextcloud\/apps\/mozilla_sync\/settings.php"],"function":"include"},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/Settings\/Manager.php","line":365,"function":"getForms","class":"OC_App","type":"::","args":["personal"]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/CommonSettingsTrait.php","line":93,"function":"getPersonalSections","class":"OC\\Settings\\Manager","type":"->","args":[]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/CommonSettingsTrait.php","line":46,"function":"formatPersonalSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","personal-info"]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/CommonSettingsTrait.php","line":125,"function":"getNavigationParameters","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","personal-info"]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/PersonalSettingsController.php","line":57,"function":"getIndexResponse","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","personal-info"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal-info"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\PersonalSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"personal-info","_route":"settings.PersonalSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"personal-info","_route":"settings.PersonalSettings.index"}]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"personal-info","_route":"settings.PersonalSettings.index"}]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/base.php","line":989,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/user"]},{"file":"\/usr\/share\/webapps\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/usr\/share\/webapps\/nextcloud\/apps\/mozilla_sync\/lib\/user.php","Line":300,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/68.0.3440.106 Safari\/537.36 OPR\/55.0.2994.44","version":"14.0.0.19"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'removed',
'passwordsalt' => 'removed',
'secret' => 'removed',
'trusted_domains' =>
array (
0 => 'mydomain.com',
),
'datadirectory' => '/usr/share/webapps/nextcloud/data',
'overwrite.cli.url' => 'https://mydomain.com',
'dbtype' => 'mysql',
'version' => '14.0.0.19',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'removed',
'dbpassword' => 'removed',
'installed' => true,
'mail_smtpdebug' => true,
'mail_domain' => 'mydomain.com',
'mail_from_address' => 'cloud',
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'mail_smtphost' => 'mail.mydomain.com',
'mail_smtpport' => '465',
'mail_smtpsecure' => 'ssl',
'loglevel' => 2,
'mail_smtpauth' => 1,
'mail_smtpname' => 'removed@mydomain.com',
'mail_smtppassword' => 'removed',
'theme' => '',
'maintenance' => false,
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/share/webapps/nextcloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/usr/share/webapps/nextcloud/apps2',
'url' => '/apps2',
'writable' => true,
),
),
);
The output of your Apache/nginx/system log in /var/log/nginx
:
2018/09/09 07:43:19 [error] 812#812: *544 access forbidden by rule, client: 7x.x.xxx.xxx, server: mydomain.com, request: "GET /.well-known/security.txt HTTP/1.1", host: "7x.xx.x.xxx"
2018/09/09 09:36:05 [warn] 814#814: *287 an upstream response is buffered to a temporary file /var/lib/nginx/fastcgi/1/00/0000000001 while reading upstream, client: 192.168.1.43, server: mydomain.com, request: "GET /remote.php/webdav/removed.pdf HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "mydomain.com", referrer: "https://mydomain.com/apps/files_pdfviewer/?file=%2Fremote.php%2Fwebdav%2F12655_removed.pdf"