It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cloud Migration Assistant for Confluence - enable fails Edited

Confluence (on-prem) Server - 6.8.0

Cloud Migration Assistant for Confluence - 1.0.9

Plugin installs OK.

Plugin fails to enable.

Error message:

Error creating bean with name 'cloudSiteSetupService': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.migration.agent.service.cloud.CloudSiteSetupService]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.atlassian.migration.agent.service.cloud.CloudSiteSetupService.<init>()

4 answers

1 accepted

1 vote
Answer accepted

after working with confluence support it was determined that my okta (okta-confluence-3.0.6.jar) add-on was conflicting with the cloud migration add-on.

removing the okta add-on (restarting services, etc.) allowed my cloud migration add-on to enable.

0 votes

Hello there Zac!

We can start by checking if the plugins cache are fine by clearing them and then trying to enable to plugin once more:

  1. Schedule a downtime for Confluence
  2. Remove the following folders:
    1. <confluence-home>/bundled-plugins
    2. <confluence-home>/plugins-cache
    3. <confluence-home>/plugins-osgi-cache
    4. <confluence-home>/plugins-temp
    5. <confluence-home>/bundled-plugins_language
  3. Start Confluence
  4. Click Cog Icon>General Configuration
  5. Search for Content Indexing in the left menu bar
  6. Click the Rebuild button

If the above yields no results, we can also try the following:

  1. Click cog icon > Add-ons
  2. Scroll down to the bottom of the page
  3. Click Enter safe mode
  4. Proceed to enter safe mode
  5. Now, enable just the Cloud Migration Assistance Plugin
  6. Check if the plugin actually enables

Now, we still have a third option here:

  1. Schedule a downtime for Confluence
  2. Uninstall the Cloud Migration Assistant for Confluence 
  3. Remove the following folders:
    1. <confluence-home>/bundled-plugins
    2. <confluence-home>/plugins-cache
    3. <confluence-home>/plugins-osgi-cache
    4. <confluence-home>/plugins-temp
    5. <confluence-home>/bundled-plugins_language
  4. Start Confluence
  5. Download the plugin directly from here:
    1. Cloud Migration Assistant for Confluence
  6. Install it via File Upload:
    1. Installing Marketplace apps | Installing by file upload
  7. Check if the plugin enables

Hey, I know that this can be quite a info at once but, could you clarify a few points for us:

  1. Are you able to enable or disable other plugins?
  2. Has the plugin worked at some point in the past?
  3. Which version of Java are you currently using in your environment?
  4. Is this your production instance?

Zac, looking forward to your reply!

Thank you for the reply.

A couple answers to your questions.

1. Yes, we have other plugins installed and enabled. I haven't attempted to enable/disable them recently. That is a good idea to test.

2. No, this is our first time working with this plugin.

3. java -version

java version "1.7.0_161"
OpenJDK Runtime Environment (rhel-2.6.12.0.0.1.el6_9-x86_64 u161-b00)
OpenJDK 64-Bit Server VM (build 24.161-b00, mixed mode)

 4. Yes, this is our production environment.

I need to schedule a downtime for confluence to work on the options you suggested.

@Diego_Canto_Rodrigues 

This morning I had confluence downtime and attempted your suggested steps.

I still was not able to enable the plugin.

The error message in the logs stayed consistent throughout.

I did notice the link you provided was migration-agent-2.0.2.jar which was newer than then migration-agent-1.0.9.jar I was previously using. But it didn't seem to help. Same failure and error.

I answered your other questions in the previous reply.

Do you have any further suggestions?

Good day Diego,

 

I have also followed all of your suggested steps, yet non of them has been successful.
w.r.t the last step, after that, Confluence starts up, but as soon as I need to access any administration content, an "System Error" occurs. I have in the mean time, reverted back to a server snapshot i took, before attempting any of the steps suggested.

@Etienne Janse van Rensburg please see my accepted answer. I hope this helps you.

I also had the problem that the Addons didn't enable. We could solve it with the help of the Atlassian Support. Our problem was that the Confluence Analytics System Addon was disabled. Don't ask me why but this blocked enabling the Cloud Migration Assistant.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

294 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you