Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo Fails

Avato_Systems
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2020

After restoring Bamboo from a backup, I have been unable to get Bamboo operational again. Upon restart, it gives the following error:

Bamboo has encountered errors while upgrading. Please resolve these errors and restart Bamboo.

Task for build 60601 failed with exception: com.atlassian.crowd.exception.ApplicationPermissionException: Forbidden (403) Encountered a "403 - Forbidden" error while loading this page

Nothing else has changed; so I'm unsure why the system won't restart when restored from a two-day-old backup. I'm also unclear why it is "upgrading" at this point or trying to "Migrate Atlassian User configuration to Embedded Crowd (post-bootstrap)". 

Thanks for any help you can provide; I've inherited this Bamboo install and am not an expert in its maintenance.

 

Some log snippets follow:

 

2020-06-10 07:02:26,660 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [AbstractUpgradeManager] -------------------------------------------------------------------------------2020-06-10 07:02:26,676 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [AbstractUpgradeManager] 60601 : Migrate Atlassian User configuration to Embedded Crowd (post-bootstrap)2020-06-10 07:02:26,676 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [AbstractUpgradeManager] -------------------------------------------------------------------------------2020-06-10 07:02:26,676 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [UpgradeTask60601MigrateAtlassianUserConfiguration] Creating Embedded Crowd Application...2020-06-10 07:02:26,691 INFO [active-objects-init-compatibility-tenant-0] [ActiveObjectUpgradeManagerImpl] Starting upgrade of data model, current version is 02020-06-10 07:02:26,691 INFO [active-objects-init-compatibility-tenant-0] [ActiveObjectUpgradeManagerImpl] Finished upgrading, model is up to date at version 02020-06-10 07:02:26,832 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [UpgradeTask60601MigrateAtlassianUserConfiguration] Detecting user directories...2020-06-10 07:02:26,894 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [UpgradeTask60601MigrateAtlassianUserConfiguration] Found 1 user repositories to migrate.2020-06-10 07:02:26,894 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [AtlassianUserMigrator] Validating repository [crowd]2020-06-10 07:02:26,894 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [AtlassianUserMigrator] Validated repository [crowd] with [com.atlassian.bamboo.upgrade.tasks.v6_6.ec.CrowdRepositoryConfigurationMigrator@137b0452]2020-06-10 07:02:26,894 INFO [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [CrowdRepositoryConfigurationMigrator] Migrating remote Crowd user management: Crowd Repository2020-06-10 07:02:27,582 ERROR [17-UpgradeTaskBackgroundThread:pool-32-thread-1] [AbstractUpgradeManager] com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: Forbidden (403) Encountered a "403 - Forbidden" error while loading this page. client.forbidden.exception Go to Jira homecom.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.ApplicationPermissionException: Forbidden (403) Encountered a "403 - Forbidden" error while loading this page. client.forbidden.exception Go to Jira home at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.testConnection(CrowdDirectoryServiceImpl.java:102) at com.atlassian.bamboo.crowd.DelegatingCrowdDirectoryService.testConnection(DelegatingCrowdDirectoryService.java:33) at com.atlassian.bamboo.upgrade.tasks.v6_6.ec.CrowdRepositoryConfigurationMigrator.migrateAndTestConnection(CrowdRepositoryConfigurationMigrator.java:93) at com.atlassian.bamboo.upgrade.tasks.v6_6.ec.AtlassianUserMigrator.migrateAndTestConnections(AtlassianUserMigrator.java:54) at com.atlassian.bamboo.upgrade.tasks.v6_6.UpgradeTask60601MigrateAtlassianUserConfiguration.doUpgrade(UpgradeTask60601MigrateAtlassianUserConfiguration.java:75)

 

1 answer

0 votes
Moses Thomas
Community Champion
June 10, 2020

@Avato_Systems  It looks  like you  have fell into  such problem after viewing the logs.

please see solution here  and give feed back

403 - Forbidden when attempting to connect Bamboo to JIRA as a User Server 

 

Kind regards,

Mo.

Avato_Systems
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2020

Hi Mo, thanks for helping out - I had seen that page and confirmed none of those things were the issue, however, I've just figured it out.

Seems I restored an older backup - 2019, not 2020; this seemed to reset my config from my current LDAP setting to the crowd setting, and forced a bunch of updates.

Manually resetting the attlassian-user xml file to once again point at my ldap got me running again just a few minutes ago.

Like Moses Thomas likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
6.9.1
TAGS
AUG Leaders

Atlassian Community Events