I'm using geonetwork 3.4 that I want to move to another server with a differnt hostname.
My plan was to copy the geonetwork.war and its unpacked folder (containing the data dir) to the new server, starting tomcat again et voila...
But I'm ending up in the following error when starting up the new instance:
FileError: 'http:/x.x.x.x:8080/geonetwork/catalog/lib/style/bootstrap-3.0.1/bootstrap.less’ wasn't found (404)
in bootstrap.less
Raised exception while starting the application. Fix the error and restart.
Message
Subversion repository at /var/lib/tomcat/webapps/geonetwork/WEB-INF/data/data/metadata_subversion has uuid a529f3b5-16ee-4ef3-aecd-ddbb91823772 which does not match repository uuid held in database 369da58f-3213-4c65-917e-1115b230f596
Handler
org.fao.geonet.Geonetwork
Exception
java.lang.IllegalArgumentException: Subversion repository at /var/lib/tomcat/webapps/geonetwork/WEB-INF/data/data/metadata_subversion has uuid a529f3b5-16ee-4ef3-aecd-ddbb91823772 which does not match repository uuid held in database 369da58f-3213-4c65-917e-1115b230f596
Stack
java.lang.IllegalArgumentException: Subversion repository at /var/lib/tomcat/webapps/geonetwork/WEB-INF/data/data/metadata_subversion has uuid a529f3b5-16ee-4ef3-aecd-ddbb91823772 which does not match repository uuid held in database 369da58f-3213-4c65-917e-1115b230f596
at org.fao.geonet.kernel.SvnManager.init(SvnManager.java:162)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:305)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:448)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:191)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:84)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1269)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1182)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1072)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5368)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5660)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
How to actually migrate geonetwork to another server?
VITO Disclaimer: http://www.vito.be/e-maildisclaimer