"Failed to authenticate" Error when Creating New User

Operating system and version: Cloudlinux 7.9
Apache or nginx version: Apache 2.4.55
PHP version : 8.1
Nextcloud Hub 3: 25.0.3
Connecting using web browser (Chrome).

New setup. I am trying to add new user.

Log states that “login failed.”

Confirmed that the date/time of the server is correct (this seemed to be a common issue with other users facing the same issue).

Hi @Les,
You are missing the required support template. Please fill this form out and edit into your post.

This will give us the technical info and logs needed to help you! Thanks.

Nextcloud version (eg, 20.0.5): 25.0.3
Operating system and version (eg, Ubuntu 20.04): Cloudlinus 7.9
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.55
PHP version (eg, 7.4): 8.1

The issue you are facing: I am receiving a “Failed to authenticate” error when trying to add a new user.

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

Steps to replicate it:

  1. Go Users page
  2. Create a New User
  3. Fill out the form
  4. Click on add new user
  5. Type in the password a second time
  6. Confirm

The output of your Nextcloud log in Admin > Logging:

Level: Warning
App: Core
Message: Login failed: 'jackson' (Remote IP: '')	

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

$CONFIG = array (
  'instanceid' => 'ocwrisw1ouep',
  'passwordsalt' => 'ahu6FGjh659087GHkkh59igDaEuolKGdrY6',
  'secret' => 'yHfD59fJ6D4S0lKj765fHkGssaMk95G4dsN',
  'trusted_domains' => 
  array (
    0 => 'www.xxx.yyy.com',
    1 => 'xxx.yyy.com',
    2 => 'http://xxx.yyy.com',
    3 => 'https://xxx.yyy.com',
    4 => 'http://www.xxx.yyy.com',
    5 => 'https://www.xxx.yyy.com',
  'datadirectory' => '/home/zzz/xxx.yyy.com/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'http://www.xxx.yyy.com',
  'dbname' => 'ddd_xxx',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'ddd_xxx',
  'dbpassword' => '1234567',
  'mysql.utf8mb4' => true,
  'installed' => true,
  'default_phone_region' => 'US',
  'mail_domain' => 'web.com',
  'mail_from_address' => 'user',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',

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

No access—shared server.
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

Don't see any.

I discovered that I was able to create a new user when using a Mac FireFox browser (109.0.1).

Mac Chrome 110.0.5481.100 (latest build) and two Mac Safari browsers (16.3; 13.1.2) showed the error.

I presume that this is a bug.