[xwiki-users] Impossible to import, Installation seems to be not complete
Hello,I have been trying to install xwiki for a few days now on a redhat 6.4 system, and I face some problems.I have installed Apache/Tomcat and MySQL first, downloaded xwiki 5.2.1 war package, and put it in $TOMCAT_HOME/webapps folder.I could reach the "Distribution Wizard", selected to skip, and reached the Main page. The issue is that I can't import any .xar, simply because I don't have any possibility to do so. When I hover over "Wiki" on the top menu, I don't have anything.I have also tried to create a user and to log in, and I noticed some strange things :- I was redirected to register page after logon- I can't update profile or preferences (no visible panel for that)etc...It seems that the installation was not complete, and that some functionnalities aren't fully installed.I got no errors when xwiki .war was deployed, there are the only errors I can see :- 2013-11-13 14:30:01,761 [Active Installs Ping Thread] WARN a.i.c.ActiveInstallsPingThread - Failed to send Active Installation ping to [http://extensions.xwiki.org/activeinstalls]. Error = [ConnectException: Connection timed out]. Will retry in [86400] seconds...- when I restart Tomcat : SEVERE: A web application created a ThreadLocal with key of type [com.xpn.xwiki.store.migration.AbstractDataMigrationManager.ThreadLock] (value [com.xpn.xwiki.store.migration.AbstractDataMigrationManager$ThreadLock@e5e75e8]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.Nov 13, 2013 3:31:42 PM org.apache.coyote.http11.Http11Protocol destroyMysql user have all privileges on xwiki database, Linux user belong to tomcat and mysql groups, I followed xwiki instructions for Tomcat and Mysql configuration. I am testing xwiki with the last version of Firefox...Could you please help me to fix this ?I can give you more information if I was't clear enough.Thanks in advance for your help !Axel. -- View this message in context: http://xwiki.475771.n2.nabble.com/Impossible-to-import-Installation-seems-to... Sent from the XWiki- Users mailing list archive at Nabble.com.
That is because guest does not have admin right by default. You need to use superadmin, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport On Wed, Nov 13, 2013 at 3:49 PM, foutis <axel.doux.esr@axa-tech.com> wrote:
Hello,I have been trying to install xwiki for a few days now on a redhat 6.4 system, and I face some problems.I have installed Apache/Tomcat and MySQL first, downloaded xwiki 5.2.1 war package, and put it in $TOMCAT_HOME/webapps folder.I could reach the "Distribution Wizard", selected to skip, and reached the Main page. The issue is that I can't import any .xar, simply because I don't have any possibility to do so. When I hover over "Wiki" on the top menu, I don't have anything.I have also tried to create a user and to log in, and I noticed some strange things :- I was redirected to register page after logon- I can't update profile or preferences (no visible panel for that)etc...It seems that the installation was not complete, and that some functionnalities aren't fully installed.I got no errors when xwiki .war was deployed, there are the only errors I can see :- 2013-11-13 14:30:01,761 [Active Installs Ping Thread] WARN a.i.c.ActiveInstallsPingThread - Failed to send Active Installation ping to [http://extensions.xwiki.org/activeinstalls]. Error = [ConnectException: Connection timed out]. Will retry in [86400] seconds...- when I restart Tomcat : SEVERE: A web application created a ThreadLocal with key of type [com.xpn.xwiki.store.migration.AbstractDataMigrationManager.ThreadLock] (value [com.xpn.xwiki.store.migration.AbstractDataMigrationManager$ThreadLock@e5e75e8]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.Nov 13, 2013 3:31:42 PM org.apache.coyote.http11.Http11Protocol destroyMysql user have all privileges on xwiki database, Linux user belong to tomcat and mysql groups, I followed xwiki instructions for Tomcat and Mysql configuration. I am testing xwiki with the last version of Firefox...Could you please help me to fix this ?I can give you more information if I was't clear enough.Thanks in advance for your help !Axel.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Impossible-to-import-Installation-seems-to... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Ok... I have red too much fast the instructions, I didn't see that I had to allow and connect with superadmin. Thanks for your answer. I have been able to import, but there was an issue. I guess it's not critical because I see it as a WARN, and because everything seems to be imported, but could you please confirm ? There are no clear information in the logs : WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while importing com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while importing at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:144) ~[xwiki-platform-legacy-oldcore-5.2.1.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:293) [xwiki-platform-legacy-oldcore-5.2.1.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128) [xwiki-platform-legacy-oldcore-5.2.1.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) [struts-1.2.9.jar:1.2.9] at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [tomcat6-servlet-2.5-api-6.0.24.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [tomcat6-servlet-2.5-api-6.0.24.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.24.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.24.jar:na] at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) [xwiki-platform-legacy-oldcore-5.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.24.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.24.jar:na] at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-5.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.24.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.24.jar:na] at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-5.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.24.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.24.jar:na] at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-5.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.24.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.24.jar:na] at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-5.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.24.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.24.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.24.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.24.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.24.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.24.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.24.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.24.jar:na] at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) [tomcat-coyote-6.0.24.jar:na] at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) [tomcat-coyote-6.0.24.jar:na] at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) [tomcat-coyote-6.0.24.jar:na] at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) [tomcat-coyote-6.0.24.jar:na] at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) [tomcat-coyote-6.0.24.jar:na] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) [tomcat-coyote-6.0.24.jar:na] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45] Caused by: java.lang.NullPointerException: null at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:79) ~[xwiki-platform-legacy-oldcore-5.2.1.jar:na] ... 38 common frames omitted Thanks in advance for your help. -- View this message in context: http://xwiki.475771.n2.nabble.com/Impossible-to-import-Installation-seems-to... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
foutis -
Thomas Mortagne