Unable to log in due to disabled Internal Directory (Confluence 3.5 and later)
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Users are unable to log in.
Cause
The internal directory has been disabled, and external user management sources are unavailable. Generally, disabling the internal user management is not allowed, but it's possible from a failed upgrade, a bug in a plugin, or some unknown cause.
Resolution
- Use a native client to connect to your database
Run the following SQL:
UPDATE cwd_directory SET active = 'T';
The value of 'T' may need to be changed to match the 'true' value in your database. The above is for PostgreSQL.
- Restart Confluence and all the user directories will be enabled.