URGENT: admin functions have disappeared!

Nextcloud version (eg, 12.0.2): latest one (cannot be more informative, as the admin functions include the system information…)
Operating system and version (eg, Ubuntu 17.04): Ubuntu 16.04 LTS
Apache or nginx version (eg, Apache 2.4.25): don’t know
PHP version (eg, 7.1): 7.0.32

The issue you are facing:
When logging as admin, all admin functions have disappeared from the drop-down menu. I still have “Settings” (admin user settings, such as name, email address, etc.), “Users”, “About”, “Help” and “Disconnect”. More over, when I click on the Users icon next to the menu, some users have also disappeared (but they can log in)!

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

Steps to replicate it:

  1. log as admin
  2. open menu

The output of your Nextcloud log in Admin > Logging:

not available

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

$CONFIG = array (
  'instanceid' => 'ocbh5d0oc59x',
  'passwordsalt' => 'XXXX',
  'secret' => 'XXXXX',
  'trusted_domains' => 
  array (
    0 => 'next.bcasmart.com',
    1 => 'intranet.bcasmart.com',
  ),
  'datadirectory' => '/var/www/vhosts/bcasmart.com/httpdocs/nc/data',
  'overwrite.cli.url' => 'https://intranet.bcasmart.com',
  'dbtype' => 'mysql',
  'version' => '14.0.3.0',
  'dbname' => 'ncbcalive',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'XXXX',
  'dbpassword' => 'XXX',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'files_external_allow_create_new_local' => true,
  'mail_from_address' => 'XXX',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'bcasmart.com',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_smtphost' => 'XXXX',
  'mail_smtpport' => 'XXX',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'XXXX',
  'mail_smtppassword' => 'XXX',
  'mail_smtpsecure' => 'tls',
);

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

I have many log files (access, error, site-access, etc.), which one should I paste?

do you remember what you have done right before these issues appeared?
where (and how) do you host your instance?

awww… so this one seems to be related to Admin has no admin-menu (on right side)

why not going on discussing there?

Hi JimmyKater,

I remember… that I did nothing since weeks! I just wanted to check whether a new release was available, logged in as admin and found out that nothing was available! I attached some screeshots to illustrate the issue (all I get when I log as admin).

OK, I’ll follow up on the other post…

Thanks for your help.nc%20issue%201

nc%20issue%203

Mayday - Mayday!

I still canno’t access the admin menu and didn’t find any (simple) way to fix this! I really try to avoid uninstalling/reinstalling the whole stuff as I’ve now 150Gb+ stored with the tool, so can someone provide any help on this weird issue?

Thanks in advance for any help!

Have you try to create a new admin user with occ? See doc -> https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html#user-commands

Hi JabaHosting!

Thanks for the tip! I now have the admin access back again but don’t understand what happened to my previous admin account… I’ll delete the latter for security sake.

Thanks again for your help!