License Too Old For Build error in Crowd

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

Problem

Warning message "Your license has now expired. An updated license must be installed to continue using Crowd" appear in Crowd License UI indicate that the Crowd license have expired while the license is still active.

The following appears in the atlassian-crowd.log

2016-05-13 16:12:42,290 localhost-startStop-1 ERROR [crowd.manager.license.CrowdLicenseManagerImpl] License resource limit has been reached.
2016-05-13 16:12:42,399 localhost-startStop-1 ERROR [crowd.console.listener.StartupListener] Crowd cannot be started as your license has reached its resource limit.

Diagnosis

Check if the number of users allowed to authenticate in Crowd have reach the number of user limit for Crowd user license by running the following database query:

SELECT cu.lower_user_name,
       cu.directory_id
FROM cwd_user cu
INNER JOIN cwd_directory cd ON cu.directory_id = cd.id
WHERE cd.active = 'T'
  AND (cu.lower_user_name IN
    (SELECT u.lower_user_name
     FROM cwd_user u
     JOIN cwd_membership m ON u.id = m.child_id
     JOIN cwd_group g ON m.parent_id = g.id
     JOIN cwd_app_dir_group_mapping gm ON gm.group_name = g.group_name
     JOIN cwd_app_dir_group_mapping gm_1 ON gm_1.directory_id = g.directory_id
     JOIN cwd_application ca ON ca.id = gm.application_id
     JOIN cwd_app_dir_mapping dm ON dm.application_id =ca.id
     JOIN cwd_directory cd ON cd.id = dm.directory_id
     WHERE dm.allow_all ='F'
       AND u.active ='T'
       AND ca.active='T'
       AND gm_1.directory_id=gm.directory_id
       AND cd.active = 'T')
  OR lower_user_name IN
    (SELECT u.lower_user_name
     FROM cwd_user u
     JOIN cwd_app_dir_mapping dm ON dm.directory_id =u.directory_id
     JOIN cwd_application ca ON dm.application_id =ca.id
     JOIN cwd_directory cd ON cd.id = dm.directory_id
     WHERE dm.allow_all ='T'
       AND u.active ='T'
       AND ca.active='T'
       AND cd.active = 'T'));

The Crowd license user count is based on the number of users who will log in to applications integrated with Crowd. Generally, that would be users that are members of the "Can Login" groups. Additionally, in the directory list for an application (e.g., Confluence: Crowd console -> Applications -> Confluence -> Directories), if the Allow all to Authenticate option is set to true, Crowd will count all the users in the directory.

Cause

This error indicate the user count in Crowd currently have reach the number of user limit.

Resolution

  1. Use the evaluation license as a temporarily solution in order to login and reduce the number of user count towards the Crowd license.
  2. (Create a 30-day evaluation license key here.) The 30-day evaluation key lets an unlimited number of users sign in during the trial period. You can use the 30 days to clean up the users in the system.
  3. Login to your Atlassian account >> Click on my Account >>> Click on New Evaluation License >>>> Select the product license that you want.
  4. Reduce the number of user count as duscussed in this link.
  5. Reapply the Crowd production License.

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.