migrating spaces from standalone 4.x to cloud
Asked by Darrel Damon:

I have a 10 user license for Confluence 4.3.1 that has 12 spaces with many pages, images and attachments. The company has an instance of Confluence cloud. We just tried to do an xml export of one of the 4.x spaces and import into cloud and it chokes with a simple "There was an error during import" message.

Is there a step by step process we need to get the content moved over? Trial upgrades to the current 4.x environment to get it to a point where cloud will accept the xml?

Any advice is greatly appreciated.


Answers:
author: Daniel Eads
body: Hi [@Darrel Damon](/t5/user/viewprofilepage/user-id/3550483) ,

My recommendation here would be to upgrade from Confluence 4.3.1 to 5.10.9 - then use the [Confluence Cloud Migration Assistant](https://marketplace.atlassian.com/apps/1219672/confluence-cloud-migration-assistant?hosting=server&tab=overview) to bring spaces from that Confluence Server into the company's Confluence Cloud site. You can download an installer (the installer executable also can upgrade your existing install) for Confluence 5.10 [from the Confluence download archives.](https://www.atlassian.com/software/confluence/download-archives)

* [Detailed information on using Confluence Cloud Migration Assistant](https://support.atlassian.com/migration/docs/confluence-cloud-migration-assistant/)

I see that the Confluence Server licenses attached to your Atlassian account expired quite a long time ago. Since any of the Server licenses I see on your account aren't valid for Confluence 5.10, I'd ask that you [create a ticket with our billing and licensing team](https://support.atlassian.com/contact/#/?inquiry_category=billing_licensing&reason=extend_trial). Mention that you have an expired Server license which is too old to upgrade to a version supported by the Cloud Migration assistant. We will be able to provide some licensing help for you through the support portal.

If you need help with the upgrade itself or migration afterwards, please feel free to reply here or start another question here on Community.

Thanks!  
Daniel \| Atlassian Support

comments: author: Darrel Damon
body: I am running into some difficulty and need a bit of direction. You referenced the installer executable. Unfortunately I could not locate the installer executable in any of the archived packages. Perhaps I'm not looking for the right thing.  
In any case I tried the manual install options. Uninstalled the 4.3 service so that it wouldn't interfere. Updated the data directory to point to my existing data and then went to the bin director to run start-confluence. That ran without a hitch but when I try to go to the app via localhost:8090, I get the following. I suspect that I have an incorrect version of Java but cannot find the documentation to tell me what versions of Java are supported. Any advice is appreciated.

<br />

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 1 in the generated java file  
The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files

Stacktrace:  
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)  
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)  
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)  
org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)  
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)  
org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)  
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)  
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)  
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)  
com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)  
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)  
com.atlassian.confluence.util.profiling.ProfilingPageFilter.doFilter(ProfilingPageFilter.java:44)  
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:40)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211)  
com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:22)  
com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98)  
com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30)  
com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter$SwapOnBootstrapFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:55)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150)  
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:37)  
com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)  
com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:80)  
com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51)  
com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter.doFilter(RequestParamValidationFilter.java:58)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.confluence.web.filter.TranslationModeFilter.doFilter(TranslationModeFilter.java:43)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.confluence.plugin.servlet.filter.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:71)  
com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:54)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)  
com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)  
com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.  
Apache Tomcat/6.0.35


author: Darrel Damon
body: I am running into some difficulty and need a bit of direction. You referenced the installer executable. Unfortunately I could not locate the installer executable in any of the archived packages. Perhaps I'm not looking for the right thing.  
In any case I tried the manual install options. Uninstalled the 4.3 service so that it wouldn't interfere. Updated the data directory to point to my existing data and then went to the bin director to run start-confluence. That ran without a hitch but when I try to go to the app via localhost:8090, I get the following. I suspect that I have an incorrect version of Java but cannot find the documentation to tell me what versions of Java are supported. Any advice is appreciated.  

<br />

HTTP Status 500 -  

type Exception report  

message  

description The server encountered an internal error () that prevented it from fulfilling this request.  

exception  

org.apache.jasper.JasperException: Unable to compile class for JSP:  

An error occurred at line: 1 in the generated java file  
The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files  

Stacktrace:  
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)  
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)  
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)  
org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)  
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)  
org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)  
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)  
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)  
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)  
com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)  
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)  
com.atlassian.confluence.util.profiling.ProfilingPageFilter.doFilter(ProfilingPageFilter.java:44)  
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:40)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211)  
com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:22)  
com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98)  
com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30)  
com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter$SwapOnBootstrapFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:55)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150)  
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:37)  
com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)  
com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:80)  
com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51)  
com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter.doFilter(RequestParamValidationFilter.java:58)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.confluence.web.filter.TranslationModeFilter.doFilter(TranslationModeFilter.java:43)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.confluence.plugin.servlet.filter.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:71)  
com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:54)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)  
com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)  
com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)  

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.  
Apache Tomcat/6.0.35


author: Daniel Eads
body: Hey [@Darrel Damon](/t5/user/viewprofilepage/user-id/3550483) , I apologize for the delay here as this message slipped my inbox.

1. **Installer file:** I'm not certain which platform you're on - so here are the direct links to the installer files:  
   1. [Confluence 5.10.9 installer for Linux](https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.10.9-x64.bin) (a .bin file you can add the +x permission to and run) - this will have an option to upgrade
   2. [Confluence 5.10.9 installer for Windows](https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.10.9-x64.exe) (a .exe file with a GUI install wizard)
2. **Java version:** the installers actually bundle their own Java runtime environment. If you want to use system Java or are using the .tar.gz archive file, the supported Java version is Java 8 - you should be able to use any update version in Java 8 ([except for a couple listed in the Supported Platforms page](https://confluence.atlassian.com/conf510/supported-platforms-829078376.html) - u25, u31, and u45). The [latest Java 8 updates can be picked up from this link if you need an installer](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html).

Hopefully, using the installer executables or the latest Java 8 release will resolve the error you're seeing on startup. If you continue encountering errors, give me a shout! I want to ensure you're able to get the Cloud migration tested without further trouble.

Cheers,  
Daniel


Tags: cloud

confluence-cloud