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>()
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.
Standalone confluence with installation in http://<public-ip>:8090 and no "wiki" or "confluence" at the end, did not allow enabling Migration Manager. In some deep logs there was mention of URL being missing from some bean constructor.
SOLUTION was to redefine confluence base-url in general configuration.
I just added "/" at the end so it became "http://<public-ip>:8090/" and saved it.
After that, I was able to enable Migration Manager.
My theory is, that base url was NOT set, but upon rendering general configuration, my IP and port were shown as default value (even though it was not saved in database), upon saving a change to it, that DB field got populated and resolved the missing URL error from within Migration Managers dependency.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
- Schedule a downtime for Confluence
- Remove the following folders:
- <confluence-home>/bundled-plugins
- <confluence-home>/plugins-cache
- <confluence-home>/plugins-osgi-cache
- <confluence-home>/plugins-temp
- <confluence-home>/bundled-plugins_language
- Start Confluence
- Click Cog Icon>General Configuration
- Search for Content Indexing in the left menu bar
- Click the Rebuild button
If the above yields no results, we can also try the following:
- Click cog icon > Add-ons
- Scroll down to the bottom of the page
- Click Enter safe mode
- Proceed to enter safe mode
- Now, enable just the Cloud Migration Assistance Plugin
- Check if the plugin actually enables
Now, we still have a third option here:
- Schedule a downtime for Confluence
- Uninstall the Cloud Migration Assistant for Confluence
- Remove the following folders:
- <confluence-home>/bundled-plugins
- <confluence-home>/plugins-cache
- <confluence-home>/plugins-osgi-cache
- <confluence-home>/plugins-temp
- <confluence-home>/bundled-plugins_language
- Start Confluence
- Download the plugin directly from here:
- Install it via File Upload:
- 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:
- Are you able to enable or disable other plugins?
- Has the plugin worked at some point in the past?
- Which version of Java are you currently using in your environment?
- Is this your production instance?
Zac, looking forward to your reply!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.