User cannot access the 'settings' menu

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, 12.0.2): 18.0.1
Operating system and version (eg, Ubuntu 17.04): CentOS Linux 8 (Core)
Apache or nginx version (eg, Apache 2.4.25): nginx version: nginx/1.14.1
PHP version (eg, 7.1): PHP 7.2.11

The issue you are facing:
Specific user cannot access settings page, instead is redirected to files. Other users on the same system do not have any issues…

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

Steps to replicate it:

  1. Login the specific user
  2. Try to navigate to Settings
  3. Be redirected to files app

The output of your Nextcloud log in Admin > Logging:

on request

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

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'domain.tld',
    1 => 'www.domain.tld',
  ),
  'datadirectory' => '/mnt/data/cloud',
  'overwrite.cli.url' => 'xxx',
  'dbtype' => 'mysql',
  'version' => '18.0.1.3',
  'dbname' => 'cloud',
  'dbhost' => 'localhost',
  'dbport' => '3306',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'cdbu',
  'dbpassword' => 'ccc',
  'logtimezone' => 'Europe/Berlin',
  'installed' => true,
  'appstore.experimental.enabled' => true,
  'maintenance' => false,
  'loglevel' => 0,
  'theme' => '',
  'singleuser' => false,
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'xxx',
  'mail_domain' => 'xxx',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'xxx',
  'mail_smtpname' => 'xxx',
  'mail_smtppassword' => 'xxx',
  'updater.release.channel' => 'stable',
  'app_install_overwrite' => 
  array (
    0 => 'apporder',
    1 => 'keeweb',
    2 => 'weather',
  ),
  'mysql.utf8mb4' => true,
  'debug' => false,
);

The output of your Apache/nginx/system log in /var/log/____:

on request
1 Like

it’s weird…
nginx log for user that can access settings:

<IPv6> - - [<timestamp>] "GET /core/js/oc.js?v=3fa891a7 HTTP/1.1" 200 8175 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, li
ke Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /settings/user HTTP/1.1" 200 15291 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko)
Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 74 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWe
bKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /apps/apporder/getOrder HTTP/1.1" 200 221 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like
Gecko) Version/13.0.5 Safari/605.1.15" "-"

user that cannot access settings:

<IPv6> - - [<timestamp>] "GET /settings/user HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Vers
ion/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /core/js/oc.js?v=3fa891a7 HTTP/1.1" 200 8175 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, li
ke Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Sa
fari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /apps/files/ HTTP/1.1" 200 6357 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Ver
sion/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 74 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWe
bKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /apps/apporder/getOrder HTTP/1.1" 200 158 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like
Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /index.php/apps/richdocuments/ajax/settings.php HTTP/1.1" 200 160 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKi
t/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "PROPFIND /remote.php/dav/files/<username>/ HTTP/1.1" 207 24637 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15
(KHTML, like Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /apps/systemtags/lastused HTTP/1.1" 200 2 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like
Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2F HTTP/1.1" 200 223 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) App
leWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /ocs/v2.php/apps/text/workspace?path=%2F HTTP/1.1" 404 31 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.
15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15" "-"
<IPv6> - - [<timestamp>] "GET /apps/recommendations/api/recommendations HTTP/1.1" 200 370 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.
1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15" "-"

Seems like the order of
GET /settings/user
and
GET /core/js/oc.js
might be relevant? I don’t get where the 302 redirect would come from

1 Like

Had the same issue these days, but I am currently running Nextcloud 17.0.2.
This thread helped me:

I have Rainloop running in my Nextcloud installation and the corresponding user was also set as a group admin. After remiving the grouo admin rights, everything was fine again. This is not a fix, but maybe helps…

4 Likes

thanks @jnstllng
I can confirm, disabling rainloop lets me access user settings, and vice versa.
will wait for a solution of this bug-report from your reference,

I have the same problem on 18.0.3 without rainloop. Disabling group admin rights is a workaround. Reenabling causes the problem again.

Same problem here. User that is a group admin cannot access Settings while Rainloop app is enabled. :frowning:

I had the same problem. Even with NCADMIN I wasn’t able to go to settings.
Here is an easy fix. 1. Go to the APPS 2. Select Active APPS 3. Disable all apps.
Now go to settings; (You should be able to)
Going forward just enable apps and give it extra few seconds for the system to install/enable it correctly (DO NOT RUSH).

Hope this helps!