"Settings/System" does not open

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

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 :heart:

Nextcloud version (eg, 20.0.5): 22.2.5.1
Operating system and version (eg, Ubuntu 20.04): Raspberry Pi OS Bullseye
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.52 (Debian)
PHP version (eg, 7.4): 7.4.28

The issue you are facing:
After few days of smooth NC running, the menu item “Settings/System” starts to not loading. Page “https://..*/settings/admin/serverinfo” does not open, browsers loading symbol running infinitely, no event logged, no error thrown. Maybe this is a apache issue, but i don’t know where to look for. All other items of “Settings” are loading as expected.
What i have done so far:

  • “sudo chown -R www-data:www-data /var/www/nextcloud/” → does not resolve
  • “systemctl restart apache2” → does not resolve
  • reboot the server → all running as expected

I would rather prefer to find and eliminate the cause of the issue than to restart the server by default once a day, or would this be a good idea?
Any hint about where and what to examine would be greatly appreciated.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Log in as administrator
  2. Open menu “Settings”
  3. Open menu “System”

The output of your Nextcloud log in Admin > Logging:

Nothing relating to this

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'overwriteprotocol' => 'https',
  'instanceid' => '*',
  'passwordsalt' => '*',
  'secret' => '*',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => '*.*',
    2 => '*.*.*',
  ),
  'datadirectory' => '/var/www/*/data',
  'filesystem_check_changes' => 0,
  'dbtype' => '*',
  'version' => '22.2.5.1',
  'overwrite.cli.url' => 'https://*.*',
  'htaccess.RewriteBase' => '/',
  'dbname' => '*',
  'dbhost' => 'localhost',
  'dbport' => '*',
  'dbtableprefix' => 'oc_',
  'dbuser' => '*',
  'dbpassword' => '*',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_smtphost' => '*',
  'mail_smtpport' => '*',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpname' => '*',
  'mail_smtppassword' => '*',
  'mail_from_address' => '*.*',
  'mail_domain' => 'gmx.net',
  'default_language' => 'de_DE',
  'default_phone_region' => 'DE',
  'knowledgebaseenabled' => false,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'updater.release.channel' => 'stable',
  'activity_expire_days' => 14,
  'auth.bruteforce.protection.enabled' => true,
  'blacklisted_files' => 
  array (
    0 => '.htaccess',
    1 => 'Thumbs.db',
    2 => 'thumbs.db',
  ),
  'cron_log' => true,
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\Movie',
    6 => 'OC\\Preview\\PDF',
    7 => 'OC\\Preview\\MP3',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
  ),
  'integrity.check.disabled' => false,
  'logfile' => '/var/log/*/*.log',
  'logtimezone' => 'Europe/Berlin',
  'log_rotate_size' => 104857600,
  'preview_max_x' => 1024,
  'preview_max_y' => 768,
  'preview_max_scale_factor' => 1,
  'redis' => 
  array (
    'host' => '/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'quota_include_external_storage' => false,
  'share_folder' => '/Freigaben',
  'skeletondirectory' => '',
  'trashbin_retention_obligation' => 'auto, 7',
  'DATABASE_URL' => '***',
  'DATABASE_PREFIX' => 'oc_',
  'REDIS_URL' => 'redis://localhost',
  '*_URL' => 'https://*.*.*',
);

The output of your Apache/nginx/system log in /var/log/apache2/error.log:

[Wed Mar 02 00:00:01.515049 2022] [http2:warn] [pid 41126] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the curr>
[Wed Mar 02 00:00:01.613411 2022] [mpm_prefork:notice] [pid 41126] AH00163: Apache/2.4.52 (Debian) OpenSSL/1.1.1k configured -- resuming normal operations
[Wed Mar 02 00:00:01.613490 2022] [core:notice] [pid 41126] AH00094: Command line: '/usr/sbin/apache2'
cat: /sys/class/net/wlan0/speed: Invalid argument
cat: /sys/class/net/wlan0/duplex: Invalid argument
[Wed Mar 02 01:10:08.423555 2022] [mpm_prefork:notice] [pid 41126] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Mar 02 01:38:04.304600 2022] [http2:warn] [pid 45843] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the curr>
[Wed Mar 02 01:38:04.587737 2022] [mpm_prefork:notice] [pid 45843] AH00163: Apache/2.4.52 (Debian) OpenSSL/1.1.1k configured -- resuming normal operations
[Wed Mar 02 01:38:04.587869 2022] [core:notice] [pid 45843] AH00094: Command line: '/usr/sbin/apache2'
[Wed Mar 02 05:18:05.467311 2022] [core:error] [pid 50038] [client 45.146.165.37:54632] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh)
[Wed Mar 02 11:13:09.970769 2022] [mpm_prefork:notice] [pid 45843] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Mar 02 11:13:10.285641 2022] [http2:warn] [pid 57256] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the curr>
[Wed Mar 02 11:13:10.371482 2022] [mpm_prefork:notice] [pid 57256] AH00163: Apache/2.4.52 (Debian) OpenSSL/1.1.1k configured -- resuming normal operations
[Wed Mar 02 11:13:10.371602 2022] [core:notice] [pid 57256] AH00094: Command line: '/usr/sbin/apache2'

Hopefully it was only one attack from russia.

[Wed Mar 02 05:18:05.467311 2022] [core:error] [pid 50038] [client 45.146.165.37:54632] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh)

But the access is not the problem.
Perhaps your app for System/Settings is broken.
Maybe someone knows if it possible to re-install the corresponding apps with occ.

thx @devnull

I recognized this.
Can i verify somehow if it has been blocked or not.

Does

indicate it has been blocked?

No. I think the line is the protocol of a “stupid” attack. But it is not completely impossible that this led to the problems with Nextcloud. However, I do not think so.

But perhaps back to your problem with Settings/System:

Do you use e.g. not supported Nextcloud apps?
Have you moved the user or other user in groups?
Which changes does you make in user, group or apps in the last “few days”?

No

There are two groups:

Jeder (Everyone?): Administrator account has membership as well as all regular (normal) users
Administratoren: Administrator account has membership

None to my remembering. Maybe App updates some days ago, but the issue only started yesterday. I have seen it before one, two or three times and did a reboot to resolve.

Ok. In the last years there were sometimes problems with access settings because of unsupported apps or user in wrong or new groups.

I found a share being available on the NC-host while the resource was not reachable (shut down). Therefore “Settings/System” tried to read the filesystem represented by the share and has not been able to read from it.

Fixed this, problem gone :slight_smile: