Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9978

Upgrade failed - Cannot load repository. Plugins may have been disabled.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Resolved Locally
    • Medium
    • None
    • 3.3.2
    • None
    • None
    • OSX 10.6.8

    Description

      Saved 3.2.0 installation to xml and restored to 3.3.2. Got the following error but don't know how do you resolve the error that is reported? Restart does not help. I am ok having the plugin disabled, so why doesn't it startup?

      2011-10-14 08:38:32 	fatal 	bootstrap 	Bamboo has encountered errors while upgrading. Please resolve these errors and restart Bamboo. 	Upgrade task for build 2703 failed with exception: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled. 
      
      2011-10-14 08:38:32,478 ERROR [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [DefaultRepositoryManager] Could not find repository plugin with key 'fr.calitech.bamboo.plugins.repository.dummy:dummy'. This build will be unable to build.
      2011-10-14 08:38:32,479 ERROR [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [AbstractUpgradeManager] com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.
      com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.
      	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)
      	at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)
      	at com.atlassian.bamboo.repository.RepositoryDefinitionImpl.getRepository(RepositoryDefinitionImpl.java:121)
      	at com.atlassian.bamboo.repository.migration.RepositoryConfigurationConverter.stripAndSaveRepositoryConfiguration(RepositoryConfigurationConverter.java:107)
      	at com.atlassian.bamboo.upgrade.tasks.UpgradeTask2703MoveRepositoryConfigIntoTable$2.doInHibernate(UpgradeTask2703MoveRepositoryConfigIntoTable.java:105)
      	at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370)
      	at com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate$2.doInTransactionWithoutResult(BambooTransactionHibernateTemplate.java:51)
      	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
      	at com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate.execute(BambooTransactionHibernateTemplate.java:46)
      	at com.atlassian.bamboo.upgrade.tasks.UpgradeTask2703MoveRepositoryConfigIntoTable.doUpgrade(UpgradeTask2703MoveRepositoryConfigIntoTable.java:89)
      	at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.runUpgradeTask(AbstractUpgradeManager.java:200)
      	at com.atlassian.bamboo.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:91)
      	at com.atlassian.bamboo.upgrade.UpgradeLauncher$1.call(UpgradeLauncher.java:115)
      	at com.atlassian.bamboo.upgrade.UpgradeLauncher$1.call(UpgradeLauncher.java:112)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.
      	at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:31)
      	at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:8)
      	at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326)
      	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)
      	... 23 more
      2011-10-14 08:38:32,480 INFO [2-UpgradeTaskBackgroundThread:pool-8-thread-1] [AbstractUpgradeManager] Completed upgrade task 2703 with errors.
      2011-10-14 08:38:32,481 FATAL [main] [UpgradeLauncher] Upgrade task error: Upgrade task for build 2703 failed with exception: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.
      2011-10-14 08:38:32,567 INFO [main] [AccessLogFilter] AccessLogFilter initialized. Format is: <user> <url> <starting memory free (kb)> +- <difference in free mem (kb)> <query time (ms)>
      

      Attachments

        Activity

          People

            pbruski Przemek Bruski
            bob.swift@charter.net Bob Swift OSS (Bob Swift Atlassian Apps)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: