[xwiki-users] Install interrupted?
I tried to install xwiki via the deb package install method on a fresh Ubuntu Server 12.04 LTS and all apg-get command completed without error. Then the guide page (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT) said I could visit the wiki on this url: http://localhost:8080/xwiki (I visit from another pc but it still worked fine). There was (eventually) a nice gui explaining what I should do and I did so. But when it came to the installation of extensions, some of the extensions got installed and then suddenly the page reloaded to a login prompt. Browsing the guide I found the default login, but what I see is incomplete. I do see the basic wiki without any pages. There is a profile manager but it reports errors like: "Unknown macro: attachmentSelector" and "Unknown macro: messageSender". Also, I cannot find the Extension manager (if it should be visible somewhere). Obviously the installer was cut short for some reason (I didn't click anything) and now I am left with a half-installed wiki. How do I complete the wiki installation? What I have now doesn't seem to be fully functional. :-/ -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489.html Sent from the XWiki- Users mailing list archive at Nabble.com.
See http://jira.xwiki.org/browse/XWIKI-10130 . We hope to fix this problem in 5.4.3. Sorry for the inconvenience, Marius On Mon, Mar 10, 2014 at 6:04 PM, bme <[email protected]> wrote:
I tried to install xwiki via the deb package install method on a fresh Ubuntu Server 12.04 LTS and all apg-get command completed without error. Then the guide page (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT) said I could visit the wiki on this url: http://localhost:8080/xwiki (I visit from another pc but it still worked fine). There was (eventually) a nice gui explaining what I should do and I did so. But when it came to the installation of extensions, some of the extensions got installed and then suddenly the page reloaded to a login prompt. Browsing the guide I found the default login, but what I see is incomplete. I do see the basic wiki without any pages. There is a profile manager but it reports errors like: "Unknown macro: attachmentSelector" and "Unknown macro: messageSender". Also, I cannot find the Extension manager (if it should be visible somewhere).
Obviously the installer was cut short for some reason (I didn't click anything) and now I am left with a half-installed wiki.
How do I complete the wiki installation? What I have now doesn't seem to be fully functional. :-/
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Sounds like I cannot fix this properly myself. When can we expect to see 5.4.3? Sendt fra Samsung mobil -------- Oprindelig meddelelse -------- Fra: Marius Dumitru Florea <[email protected]> Dato: Til: XWiki Users <[email protected]> Emne: Re: [xwiki-users] Install interrupted? See http://jira.xwiki.org/browse/XWIKI-10130 . We hope to fix this problem in 5.4.3. Sorry for the inconvenience, Marius On Mon, Mar 10, 2014 at 6:04 PM, bme <[email protected]> wrote:
I tried to install xwiki via the deb package install method on a fresh Ubuntu Server 12.04 LTS and all apg-get command completed without error. Then the guide page (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT) said I could visit the wiki on this url: http://localhost:8080/xwiki (I visit from another pc but it still worked fine). There was (eventually) a nice gui explaining what I should do and I did so. But when it came to the installation of extensions, some of the extensions got installed and then suddenly the page reloaded to a login prompt. Browsing the guide I found the default login, but what I see is incomplete. I do see the basic wiki without any pages. There is a profile manager but it reports errors like: "Unknown macro: attachmentSelector" and "Unknown macro: messageSender". Also, I cannot find the Extension manager (if it should be visible somewhere).
Obviously the installer was cut short for some reason (I didn't click anything) and now I am left with a half-installed wiki.
How do I complete the wiki installation? What I have now doesn't seem to be fully functional. :-/
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Mon, Mar 10, 2014 at 7:08 PM, Bernhard Mogens Ege <[email protected]> wrote:
Sounds like I cannot fix this properly myself. When can we expect to see 5.4.3?
Next week most probably.
Sendt fra Samsung mobil
-------- Oprindelig meddelelse -------- Fra: Marius Dumitru Florea <[email protected]> Dato: Til: XWiki Users <[email protected]> Emne: Re: [xwiki-users] Install interrupted?
See http://jira.xwiki.org/browse/XWIKI-10130 . We hope to fix this problem in 5.4.3.
Sorry for the inconvenience, Marius
On Mon, Mar 10, 2014 at 6:04 PM, bme <[email protected]> wrote:
I tried to install xwiki via the deb package install method on a fresh Ubuntu Server 12.04 LTS and all apg-get command completed without error. Then the guide page (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT) said I could visit the wiki on this url: http://localhost:8080/xwiki (I visit from another pc but it still worked fine). There was (eventually) a nice gui explaining what I should do and I did so. But when it came to the installation of extensions, some of the extensions got installed and then suddenly the page reloaded to a login prompt. Browsing the guide I found the default login, but what I see is incomplete. I do see the basic wiki without any pages. There is a profile manager but it reports errors like: "Unknown macro: attachmentSelector" and "Unknown macro: messageSender". Also, I cannot find the Extension manager (if it should be visible somewhere).
Obviously the installer was cut short for some reason (I didn't click anything) and now I am left with a half-installed wiki.
How do I complete the wiki installation? What I have now doesn't seem to be fully functional. :-/
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I really could use a wiki now and wonder if there is any good workaround of the current install bug? -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589680.html Sent from the XWiki- Users mailing list archive at Nabble.com.
If your issue is http://jira.xwiki.org/browse/XWIKI-10130 and you are not redirected to the distribution wizard anymore then restarting tomcat should fix the issues you have. On Wed, Mar 19, 2014 at 1:06 PM, bme <[email protected]> wrote:
I really could use a wiki now and wonder if there is any good workaround of the current install bug?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589680.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I don't know what the Distribution Wizard should do, but my installation was interrupted while installing extensions. It was a clean install on a clean Ubuntu. I am willing to reformat and reinstall everything, but don't see why it would work the second time around. I used the apt-get package manager system to install it all and as such have no idea where files are installed (yet). I also don't know how to restart the installation. Only option given (which didn't solve all) was to use the browsers back button to find a specific url, but I don't have that browser window anymore and am sort of lost and stuck with this incomplete install. If I uninstall xwiki, and install it again, are there any files I can edit to make the installation proceed as intended? Or is there a way I can install an older version of xwiki that does not have this installation issue? I can then after installation upgrade to the last version, assuming this doesn't break xwiki again. -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589682.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Did you tried to restart Tomcat service as I suggested ? On Wed, Mar 19, 2014 at 1:43 PM, bme <[email protected]> wrote:
I don't know what the Distribution Wizard should do, but my installation was interrupted while installing extensions. It was a clean install on a clean Ubuntu. I am willing to reformat and reinstall everything, but don't see why it would work the second time around. I used the apt-get package manager system to install it all and as such have no idea where files are installed (yet). I also don't know how to restart the installation. Only option given (which didn't solve all) was to use the browsers back button to find a specific url, but I don't have that browser window anymore and am sort of lost and stuck with this incomplete install.
If I uninstall xwiki, and install it again, are there any files I can edit to make the installation proceed as intended?
Or is there a way I can install an older version of xwiki that does not have this installation issue? I can then after installation upgrade to the last version, assuming this doesn't break xwiki again.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589682.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Yes, tomcat has been restarted and it changed nothing. When I visit the wiki page, I am just presented with a login prompt. The extension install is not resuming. I can log in as Admin and only see pages, but no extension manager. -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589684.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Wed, Mar 19, 2014 at 1:45 PM, Thomas Mortagne <[email protected]> wrote:
Did you tried to restart Tomcat service as I suggested ?
On Wed, Mar 19, 2014 at 1:43 PM, bme <[email protected]> wrote:
I don't know what the Distribution Wizard should do, but my installation was interrupted while installing extensions. It was a clean install on a clean Ubuntu. I am willing to reformat and reinstall everything, but don't see why it would work the second time around. I used the apt-get package manager system to install it all and as such have no idea where files are installed (yet). I also don't know how to restart the installation. Only option given (which didn't solve all) was to use the browsers back button to find a specific url, but I don't have that browser window anymore and am sort of lost and stuck with this incomplete install.
If I uninstall xwiki, and install it again, are there any files I can edit to make the installation proceed as intended?
Or is there a way I can install an older version of xwiki that does not have this installation issue? I can then after installation upgrade to the last version, assuming this doesn't break xwiki again.
The repository contains all versions ever released (all the one supporting debian install at least) so yes you can install the one you want, by default apt-get select the last one but you can force a specific version using for example apt-get install xwiki-enterprise-tomcat6-mysql=4.5.1
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589682.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
On Wed, Mar 19, 2014 at 1:48 PM, Thomas Mortagne <[email protected]> wrote:
On Wed, Mar 19, 2014 at 1:45 PM, Thomas Mortagne <[email protected]> wrote:
Did you tried to restart Tomcat service as I suggested ?
On Wed, Mar 19, 2014 at 1:43 PM, bme <[email protected]> wrote:
I don't know what the Distribution Wizard should do, but my installation was interrupted while installing extensions. It was a clean install on a clean Ubuntu. I am willing to reformat and reinstall everything, but don't see why it would work the second time around. I used the apt-get package manager system to install it all and as such have no idea where files are installed (yet). I also don't know how to restart the installation. Only option given (which didn't solve all) was to use the browsers back button to find a specific url, but I don't have that browser window anymore and am sort of lost and stuck with this incomplete install.
If I uninstall xwiki, and install it again, are there any files I can edit to make the installation proceed as intended?
Or is there a way I can install an older version of xwiki that does not have this installation issue? I can then after installation upgrade to the last version, assuming this doesn't break xwiki again.
The repository contains all versions ever released (all the one supporting debian install at least) so yes you can install the one you want, by default apt-get select the last one but you can force a specific version using for example
apt-get install xwiki-enterprise-tomcat6-mysql=4.5.1
I meant 5.4.1.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589682.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
I uninstalled 5.4.3 like this: sudo apt-get remove xwiki sudo apt-get autoremove This should have clean out all important parts of xwiki and allow me to start from scratch (I assume). Then I tried to install the older release, but apt-get wont allow it: bme@wiki:~$ sudo apt-get install xwiki-enterprise-tomcat6-mysql=5.4.1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies. xwiki-enterprise-tomcat6-mysql : Depends: xwiki-enterprise-common (= 5.4.1) but 5.4.2 is to be installed Depends: xwiki-enterprise-tomcat-common (= 5.4.1) but 5.4.2 is to be installed Depends: xwiki-enterprise-mysql-common (= 5.4.1) but 5.4.2 is to be installed E: Unable to correct problems, you have held broken packages. Any suggestions? -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589688.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Wed, Mar 19, 2014 at 2:04 PM, bme <[email protected]> wrote:
I uninstalled 5.4.3 like this:
sudo apt-get remove xwiki
That does not remove the data. You need to use sudo apt-get remove --purge xwiki to really start from scratch.
sudo apt-get autoremove
This should have clean out all important parts of xwiki and allow me to start from scratch (I assume). Then I tried to install the older release, but apt-get wont allow it:
bme@wiki:~$ sudo apt-get install xwiki-enterprise-tomcat6-mysql=5.4.1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies. xwiki-enterprise-tomcat6-mysql : Depends: xwiki-enterprise-common (= 5.4.1) but 5.4.2 is to be installed Depends: xwiki-enterprise-tomcat-common (= 5.4.1) but 5.4.2 is to be installed Depends: xwiki-enterprise-mysql-common (= 5.4.1) but 5.4.2 is to be installed E: Unable to correct problems, you have held broken packages.
Any suggestions?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589688.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Wed, Mar 19, 2014 at 2:50 PM, Thomas Mortagne <[email protected]> wrote:
On Wed, Mar 19, 2014 at 2:04 PM, bme <[email protected]> wrote:
I uninstalled 5.4.3 like this:
sudo apt-get remove xwiki
That does not remove the data. You need to use
sudo apt-get remove --purge xwiki
to really start from scratch.
sudo apt-get autoremove
This should have clean out all important parts of xwiki and allow me to start from scratch (I assume). Then I tried to install the older release, but apt-get wont allow it:
bme@wiki:~$ sudo apt-get install xwiki-enterprise-tomcat6-mysql=5.4.1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies. xwiki-enterprise-tomcat6-mysql : Depends: xwiki-enterprise-common (= 5.4.1) but 5.4.2 is to be installed Depends: xwiki-enterprise-tomcat-common (= 5.4.1) but 5.4.2 is to be installed Depends: xwiki-enterprise-mysql-common (= 5.4.1) but 5.4.2 is to be installed E: Unable to correct problems, you have held broken packages.
Any suggestions?
Looks like apt-get is not as clever as I tough and does not follow properly dependencies when you indicate explicitly the version. You can try something like: sudo apt-get install xwiki-enterprise-tomcat7-mysql=5.4.1 xwiki-enterprise-common=5.4.1 xwiki-enterprise-tomcat-common=5.4.1 xwiki-enterprise-mysql-common=5.4.1 By the why this is again just an example, maybe you want a different version of tomcat or use postgreslqn instead of mysql.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589688.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
On Wed, Mar 19, 2014 at 2:55 PM, Thomas Mortagne <[email protected]> wrote:
On Wed, Mar 19, 2014 at 2:50 PM, Thomas Mortagne <[email protected]> wrote:
On Wed, Mar 19, 2014 at 2:04 PM, bme <[email protected]> wrote:
I uninstalled 5.4.3 like this:
sudo apt-get remove xwiki
That does not remove the data. You need to use
sudo apt-get remove --purge xwiki
to really start from scratch.
sudo apt-get autoremove
This should have clean out all important parts of xwiki and allow me to start from scratch (I assume). Then I tried to install the older release, but apt-get wont allow it:
bme@wiki:~$ sudo apt-get install xwiki-enterprise-tomcat6-mysql=5.4.1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies. xwiki-enterprise-tomcat6-mysql : Depends: xwiki-enterprise-common (= 5.4.1) but 5.4.2 is to be installed Depends: xwiki-enterprise-tomcat-common (= 5.4.1) but 5.4.2 is to be installed Depends: xwiki-enterprise-mysql-common (= 5.4.1) but 5.4.2 is to be installed E: Unable to correct problems, you have held broken packages.
Any suggestions?
Looks like apt-get is not as clever as I tough and does not follow properly dependencies when you indicate explicitly the version.
You can try something like:
sudo apt-get install xwiki-enterprise-tomcat7-mysql=5.4.1 xwiki-enterprise-common=5.4.1 xwiki-enterprise-tomcat-common=5.4.1 xwiki-enterprise-mysql-common=5.4.1
By the why this is again just an example, maybe you want a different version of tomcat or use postgreslqn instead of mysql.
s/postgreslqn/pgsql/
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589688.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
Well, 5.4.1 has the same bug. During install of the extensions, I am again greeted by this popup window: Unauthorized request. Your session has expired or you lost rights while installing or uninstalling an extension. You need to re-login in order to continue. Do you wish to proceed? Happens during "Installing document [Admin]". Now really if answering yes or no will allow me to continue without error. With 5.4.3 I answered yes and that was clearly the wrong thing to do. Which release is the last one to be known to properly install? -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589695.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Wed, Mar 19, 2014 at 3:23 PM, bme <[email protected]> wrote:
Well, 5.4.1 has the same bug.
During install of the extensions, I am again greeted by this popup window:
Unauthorized request. Your session has expired or you lost rights while installing or uninstalling an extension. You need to re-login in order to continue. Do you wish to proceed?
Getting that popup is not a bug, just enter "Admin" as login and "admin" as password credentials and it will continue.
Happens during "Installing document [Admin]".
Now really if answering yes or no will allow me to continue without error. With 5.4.3 I answered yes and that was clearly the wrong thing to do.
Which release is the last one to be known to properly install?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589695.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I see. I did try what you said but got this error after a long time (several minutes): Error number 4001 in 4: Error while parsing velocity page /templates/startpage.vm Notice A problem occurred while trying to process your request. Please contact the webmaster if this happens again. Detailed information: Error number 0 in 11: Uncaught exception com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:317) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.OutOfMemoryError: Java heap space I have retried reloding the page but the same error happened again. This pc may be too small for xwiki to run/install (does have 2GB ram, though, but not a fast cpu). :-/ This is really frustrating. :-/ -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589700.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Ok I understand now, you should follow what is on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HTomc.... Your issue is actually that not enough memory is allocated to tomcat. XWiki just declare that it depends on Tomcat but modifying configuration of tomcat package from XWiki package is not exactly standard Debian packaging. On Wed, Mar 19, 2014 at 4:11 PM, bme <[email protected]> wrote:
I see. I did try what you said but got this error after a long time (several minutes):
Error number 4001 in 4: Error while parsing velocity page /templates/startpage.vm Notice
A problem occurred while trying to process your request. Please contact the webmaster if this happens again.
Detailed information:
Error number 0 in 11: Uncaught exception com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:317) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.OutOfMemoryError: Java heap space
I have retried reloding the page but the same error happened again. This pc may be too small for xwiki to run/install (does have 2GB ram, though, but not a fast cpu). :-/
This is really frustrating. :-/
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589700.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I finally made it through (with 5.4.2 no less; 5.4.3 isn't available for apt)! :-D Thank you for your help! I noticed that I was using tomcat6 on my initial install attempt and that might be why it didn't work (no out of memory exception). With tomcat7, the install completed, however, during the install, I got a lot of conflicts from a previous install and had to handle merge conflicts and so. I don't know why as I uninstalled using --purge for each attempt. I am not really sure mu current install is proper and I would like to retry it, but how do I remove the old files/documents completely? "apt-get --purge autoremove" didn't really clean out any files it seems, although I had to setup mysql password on the next install. Or maybe the conflicting files are stored somewhere else? -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589703.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Wed, Mar 19, 2014 at 4:56 PM, bme <[email protected]> wrote:
I finally made it through (with 5.4.2 no less; 5.4.3 isn't available for apt)! :-D
Thank you for your help!
I noticed that I was using tomcat6 on my initial install attempt and that might be why it didn't work (no out of memory exception). With tomcat7, the install completed, however, during the install, I got a lot of conflicts from a previous install and had to handle merge conflicts and so. I don't know why as I uninstalled using --purge for each attempt. I am not really sure mu current install is proper and I would like to retry it, but how do I remove the old files/documents completely? "apt-get --purge autoremove" didn't really clean out any files it seems, although I had to setup mysql password on the next install. Or maybe the conflicting files are stored somewhere else?
The data are in : * "xwiki" database in mysql * /var/lib/xwiki/data folder The following should cleanup everything: sudo mysql -u root -e "drop database xwiki" sudo rm -rf /var/lib/xwiki
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589703.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Again, thanks. My following install of 5.4.2 failed like the original (getting to the login prompt and installation aborts). I guess the leftover parts from 5.4.1 allow the install of 5.4.2 to complete. :-/ I'll start over with 5.4.1, uninstall with purge but no deletion of the db or lib, install 5.4.2 and resolve the conflicts and 5.4.2 should install completely. -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589705.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Wed, Mar 19, 2014 at 5:28 PM, bme <[email protected]> wrote:
Again, thanks. My following install of 5.4.2 failed like the original (getting to the login prompt and installation aborts). I guess the leftover parts from 5.4.1 allow the install of 5.4.2 to complete. :-/
Again getting login prompt is perfectly normal. Did you enter the proper login and password ?
I'll start over with 5.4.1, uninstall with purge but no deletion of the db or lib, install 5.4.2 and resolve the conflicts and 5.4.2 should install completely.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589705.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I did login right away but was just logged in normally into an incomplete installation. The difference between 5.4.1 and 5.4.2 is that with 5.4.1 I got a login prompt on top of the installation window (where I can see it waiting to install something) whereas with 5.4.2 I get a login prompt on top of an empty window (i.e. the browser loads a new page and shows a login prompt). -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589721.html Sent from the XWiki- Users mailing list archive at Nabble.com.
For others having failed to install 5.4.2 and dont mind starting from scratch with 5.4.1, here is a summary of the procedure on how to clean up after the failed 5.4.2 install and how to install 5.4.1: These lines completely purge xwiki including your pages(!) from your disk: sudo apt-get remove --purge xwiki-enterprise-common sudo mysql -u root -e "drop database xwiki" sudo rm -rf /var/lib/xwiki This line installs 5.4.1 without errors: sudo apt-get install xwiki-enterprise-tomcat7-mysql=5.4.1 xwiki-enterprise-common=5.4.1 xwiki-enterprise-tomcat-common=5.4.1 xwiki-enterprise-mysql-common=5.4.1 sudo pico /etc/default/tomcat7 edit: JAVA_OPTS="-Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=192m -XX:+UseConcMarkSweepGC" sudo /etc/init.d/tomcat7 restart Visit http://192.168.1.250:8080/xwiki to complete the install. This can probably be followed by an upgrade to 5.4.2, but I am not certain of the procedure. I do assume that it can be performed without having to backup the contents of the wiki, i.e. you can do it whenever you like. -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589745.html Sent from the XWiki- Users mailing list archive at Nabble.com.
The upgrade from 5.4.1 to 5.4.2 can raw almost without issues by doing this: sudo apt-get update sudo apt-get upgrade visit http://localhost:8080/xwiki let it upgrade when it halts after updating pages/extensions, revisit http://localhost:8080/xwiki click continue and it is done The upgrade seems to be installed correctly, although I don't know how to verify it. -- View this message in context: http://xwiki.475771.n2.nabble.com/Install-interrupted-tp7589489p7589748.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (4)
-
Bernhard Mogens Ege -
bme -
Marius Dumitru Florea -
Thomas Mortagne