I followed the instructions below to recover Bamboo login.
However, when I logged in to Bamboo and I clicked on the cog icon on the top right hand corner of the page, all I see is Linked Repositories under Bamboo Administration. Normally, I can see Overview, Agents, Global Variables, Linked repositories, User Management and Add-ons.
Has anyone come across this issue before?
It looks like the local user doesn't have "Admin" rights. Are you sure that this user is a member of the bamboo-admin group? Also, if you're using LDAP could you please check if this user is also available in the LDAP server? If yes please remove the LDAP parameters from the atlassian-user.xml file, restart Bamboo and try again.
To check the permissions from the database, please run the below query:
SELECT AE.SID AS NAME, (CASE WHEN AE.TYPE = 'PRINCIPAL' THEN 'USER' WHEN AE.TYPE = 'GROUP_PRINCIPAL' THEN 'GROUP' END) as USER_OR_GROUP, (CASE WHEN MASK = 1 THEN 'ACCESS' WHEN MASK = 4 THEN 'CREATE PLAN' WHEN MASK = 1024 THEN 'CREATE REPOSITORY' WHEN MASK = 16 THEN 'ADMIN' END) as PERMISSION_TYPE FROM ACL_ENTRY AS AE JOIN ACL_OBJECT_IDENTITY AS AOI ON AE.ACL_OBJECT_IDENTITY = AOI.ID WHERE AE.TYPE IN ('PRINCIPAL','GROUP_PRINCIPAL') AND AE.GRANTING = true AND ACL_OBJECT_IDENTITY='65537' ORDER BY NAME, PERMISSION_TYPE;