Internal Server Error [No settings]

Internal Server Error:

Nextcloud 13.0.4
Operating system: openSUSE Leap 42.3
Apache 2.4.23)
PHP 7.0.7

First time to see this error: Yes

Steps to replicate the error:

  1. When I try to enter the Settings menu, it shows me the following:
    =====
    Internal Server Error
    The server could not complete your request.
    If something new happens, please send the technical details to the server administrator.
    Verses more details in the server log.
    Technical details
  • Remote address: 1.1.1.2
  • ID of the request: 46h6Aejq7G7C4Wg66jjf
    =====
    I can not enter the configuration options.

Result of nextcloud.log

{"reqId":"46h6Aejq7G7C4Wg66jjf","level":3,"time":"2018-09-27T15:46:13+00:00","remoteAddr":"1.1.1.2","user":"admin","app":"index","method":"GET","url":"\/nextcloud\/index.php\/settings\/user","message":"Exception: {\"Exception\":\"OCP\\\\AutoloadNotAllowedException\",\"Message\":\"Autoload path not allowed: \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/apps\\\/bookmarks\\\/settings\\\/adminsection.php\",\"Code\":0,\"Trace\":\"#0 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/autoloader.php(158): OC\\\\Autoloader->isValidPath('\\\/srv\\\/www\\\/htdocs...')\\n#1 [internal function]: OC\\\\Autoloader->load('OCA\\\\\\\\Bookmarks\\\\\\\\S...')\\n#2 [internal function]: spl_autoload_call('OCA\\\\\\\\Bookmarks\\\\\\\\S...')\\n#3 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Utility\\\/SimpleContainer.php(95): ReflectionClass->__construct('OCA\\\\\\\\Bookmarks\\\\\\\\S...')\\n#4 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Utility\\\/SimpleContainer.php(118): OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->resolve('OCA\\\\\\\\Bookmarks\\\\\\\\S...')\\n#5 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/ServerContainer.php(132): OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->query('OCA\\\\\\\\Bookmarks\\\\\\\\S...')\\n#6 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/Settings\\\/Manager.php(346): OC\\\\ServerContainer->query('OCA\\\\\\\\Bookmarks\\\\\\\\S...')\\n#7 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/Settings\\\/Manager.php(374): OC\\\\Settings\\\\Manager->query('OCA\\\\\\\\Bookmarks\\\\\\\\S...')\\n#8 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/settings\\\/Controller\\\/CommonSettingsTrait.php(100): OC\\\\Settings\\\\Manager->getAdminSections()\\n#9 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/settings\\\/Controller\\\/CommonSettingsTrait.php(51): OC\\\\Settings\\\\Controller\\\\PersonalSettingsController->formatAdminSections('personal', 'personal-info')\\n#10 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/settings\\\/Controller\\\/CommonSettingsTrait.php(125): OC\\\\Settings\\\\Controller\\\\PersonalSettingsController->getNavigationParameters('personal', 'personal-info')\\n#11 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/settings\\\/Controller\\\/PersonalSettingsController.php(57): OC\\\\Settings\\\\Controller\\\\PersonalSettingsController->getIndexResponse('personal', 'personal-info')\\n#12 [internal function]: OC\\\\Settings\\\\Controller\\\\PersonalSettingsController->index('personal-info')\\n#13 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(161): call_user_func_array(Array, Array)\\n#14 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(91): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OC\\\\Settings\\\\Controller\\\\PersonalSettingsController), 'index')\\n#15 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OC\\\\Settings\\\\Controller\\\\PersonalSettingsController), 'index')\\n#16 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('OC\\\\\\\\Settings\\\\\\\\Con...', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#17 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#18 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#19 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/settings\\\/user')\\n#20 \\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#21 {main}\",\"File\":\"\\\/srv\\\/www\\\/htdocs\\\/nextcloud\\\/lib\\\/autoloader.php\",\"Line\":134}","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"13.0.4.0"}

config.php

<?php
$CONFIG = array (
  'instanceid' => 'xx_hide_xx',
  'passwordsalt' => 'xx_hide_xx',
  'secret' => 'xx_hide_xx',
  'trusted_domains' => 
  array (
    0 => 'xx_hide_xx',
    1 => 'xx_hide_xx',
  ),
  'datadirectory' => '/mnt/nextcloud_data',
  'overwrite.cli.url' => 'http://10.0.0.4/nextcloud',
  'dbtype' => 'mysql',
  'version' => '13.0.4.0',
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xx_hide_xx',
  'dbpassword' => 'xx_hide_xx',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => 'NTLM',
  'mail_smtpsecure' => 'ssl',
  'mail_from_address' => 'admin',
  'mail_domain' => 'xx_hide_xx',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'xx_hide_xx',
  'mail_smtpport' => '25',
  'mail_smtpname' => 'xx_hide_xx',
  'mail_smtppassword' => 'xx_hide_xx',
  'onlyoffice' => 
  array (
    'verify_peer_off' => true,
  ),
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'share_folder' => '/_shared',
  'updater.secret' => 'xx_hide_xx',
);

apache log

1.1.1.2 - admin [27/Sep/2018:12:19:09 -0500] "PROPFIND /nextcloud/remote.php/dav/files/admin/ HTTP/1.1" 207 3650
172.16.70.9 - - [27/Sep/2018:12:19:10 -0500] "GET /inka_webapp/demo/_ajax.php?proceso=verificarsession&sw=1&cod_sesion=c0ospk6n88bkn2ctqqrkes8salj96vscrotjvha2a4gqsqgl0q81&fecha_actual=2018-09-27%2009:40:28&user_email=0010000640@gmail.com HTTP/1.1" 200 4
172.16.70.9 - - [27/Sep/2018:12:19:11 -0500] "GET /inka_webapp/demo/_ajax.php?proceso=verificarsession&sw=1&cod_sesion=c0ospk6n88bkn2ctqqrkes8salj96vscrotjvha2a4gqsqgl0q81&fecha_actual=2018-09-27%2009:40:28&user_email=0010000640@gmail.com HTTP/1.1" 200 4

Log say error in bookmarks app

Solution:

Unistall bookmarks app

The bookmark app should be working in NC 13. Perhaps you need to install a newer version of the app (just install it again from the app store). You should perhaps also think of updating you NC 13, there is 13.0.6 already: https://nextcloud.com/changelog/#latest13