[xwiki-users] Help on upgrade from 0.9.853
Hi all, I've been using XWiki during this year and now I have a titanic task : upgrade it to XWiki 1.1 Unfortunately I haven't found any document on how to upgrade, neither in the site nor in the list archives, so I decided to transfer the MySQL database to a new location (unsing mysqldump) and install XWiki 1.1 from scratch (http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheXWikiWARmanually) using MySQL 5.0 and Tomcat 6 After obtaining a *Field 'XWD_ARCHIVE' doesn't have a default value error (and solved it thanks to http://jira.xwiki.org/jira/browse/XWIKI-1702) a more obscure error appears regarding some attributes and so. I decided not to follow a trial an error path, and I'm here asking for some guide or guidelines to do this upgrade, or in case such a thing doesn't exists beg for some help from you all, and as a thanks gift offer to publish a mini howto for upgrading XWiki from v0.9.x to 1.1. Thanks in advance for your help. -- Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma (Bit-Man) - Algorithm junkie Perl Mongers Capital Federal (http://cafe.pm.org/) GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Help on upgrade from 0.9.853
Your best bet really is to follow the release notes. These document the upgrade path fairly well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Víctor A. Rodríguez Sent: 02 October 2007 13:38 To: users@xwiki.org Subject: [xwiki-users] Help on upgrade from 0.9.853 Hi all, I've been using XWiki during this year and now I have a titanic task : upgrade it to XWiki 1.1 Unfortunately I haven't found any document on how to upgrade, neither in the site nor in the list archives, so I decided to transfer the MySQL database to a new location (unsing mysqldump) and install XWiki 1.1 from scratch (http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheXWikiWARmanually) using MySQL 5.0 and Tomcat 6 After obtaining a *Field 'XWD_ARCHIVE' doesn't have a default value error (and solved it thanks to http://jira.xwiki.org/jira/browse/XWIKI-1702) a more obscure error appears regarding some attributes and so. I decided not to follow a trial an error path, and I'm here asking for some guide or guidelines to do this upgrade, or in case such a thing doesn't exists beg for some help from you all, and as a thanks gift offer to publish a mini howto for upgrading XWiki from v0.9.x to 1.1. Thanks in advance for your help. -- Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma (Bit-Man) - Algorithm junkie Perl Mongers Capital Federal (http://cafe.pm.org/) GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Could not initialize main XWiki context
I had to install Tomcat with MySQL so that I can set the wiki up as a windows service. I tried to set it up with just Jetty - with no luck. I have been struggling with this for hours now. I read old emails regarding hibernate.cg.xml setup - and I have tried many possible combinations: property name=connection.urljdbc:mysql://127.0.0.1/xwiki?useServerPrepStmts=false/property property name=connection.usernamexwiki/property property name=connection.passwordxwiki/property property name=connection.driver_classcom.mysql.jdbc.Driver/property property name=dialectorg.hibernate.dialect.MySQLDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property property name=connection.urljdbc:mysql://localhost/xwiki?useServerPrepStmts=false/property property name=connection.usernamexwiki/property property name=connection.passwordxwiki/property property name=connection.driver_classcom.mysql.jdbc.Driver/property property name=dialectorg.hibernate.dialect.MySQLDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property All of which give me the same error. javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences Wrapped Exception: Unknown entity: com.xpn.xwiki.doc.XWikiDocument org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) Please help. If I don't get this installed as a windows service (which IMHO should not be difficult), I will have to resort to another wiki. Sheila ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Help on upgrade from 0.9.853
Hi Victor you should start by looking at this: http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation Now I have the same problem as you have. Here are the issues I see: - the 0.9 database schema is not compatible with latest 1.1.1 (though connecting 1.1rc2 to the 0.9 database works provided that you applied the fix you refered too). - You can export you 0.9 wiki pages by copying the script available at http://old.xwiki.org/xwiki/bin/view/Test/ImportExport . It allows you to create a .xar (zip formatted) package containing all your wiki - Alternatively you can connect a 1.1 wiki to the 0.9 database (provided you applied your fix), import the appropriate pages if necessary and export using the 1.1 export feature. It will create the xar package containing ALL your wiki pages and I don't see how to select only a few pages. As far as I can see this method is equivalent to the one above and the outcome is the same. - I tried a fresh installation: 1) create the database in MySQL (leave it empty) by following to the letter the excellent tutorial from the URL above; 2) connect you 1.1.1 wiki to this new database and it will create all the tables for you; 3) proceed with the tutorial and import all the pages you need (I recommand at least Panels.xar); 3) Now we have a problem: importing .xar packages coming from a 0.9 wiki does not work. This is where I am stuck. If you know the end of the story, I'd like to hear it ;-) I hope that could help to some extent... Marc Hi all, I've been using XWiki during this year and now I have a titanic task : upgrade it to XWiki 1.1 Unfortunately I haven't found any document on how to upgrade, neither in the site nor in the list archives, so I decided to transfer the MySQL database to a new location (unsing mysqldump) and install XWiki 1.1 from scratch (http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheXWikiWARmanually) using MySQL 5.0 and Tomcat 6 After obtaining a *Field 'XWD_ARCHIVE' doesn't have a default value error (and solved it thanks to http://jira.xwiki.org/jira/browse/XWIKI-1702) a more obscure error appears regarding some attributes and so. I decided not to follow a trial an error path, and I'm here asking for some guide or guidelines to do this upgrade, or in case such a thing doesn't exists beg for some help from you all, and as a thanks gift offer to publish a mini howto for upgrading XWiki from v0.9.x to 1.1. Thanks in advance for your help. -- Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma (Bit-Man) - Algorithm junkie Perl Mongers Capital Federal (http://cafe.pm.org/) GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Help on upgrade from 0.9.853
See also http://jira.xwiki.org/jira/browse/XE-131 Hi Victor you should start by looking at this: http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation Now I have the same problem as you have. Here are the issues I see: - the 0.9 database schema is not compatible with latest 1.1.1 (though connecting 1.1rc2 to the 0.9 database works provided that you applied the fix you refered too). - You can export you 0.9 wiki pages by copying the script available at http://old.xwiki.org/xwiki/bin/view/Test/ImportExport . It allows you to create a .xar (zip formatted) package containing all your wiki - Alternatively you can connect a 1.1 wiki to the 0.9 database (provided you applied your fix), import the appropriate pages if necessary and export using the 1.1 export feature. It will create the xar package containing ALL your wiki pages and I don't see how to select only a few pages. As far as I can see this method is equivalent to the one above and the outcome is the same. - I tried a fresh installation: 1) create the database in MySQL (leave it empty) by following to the letter the excellent tutorial from the URL above; 2) connect you 1.1.1 wiki to this new database and it will create all the tables for you; 3) proceed with the tutorial and import all the pages you need (I recommand at least Panels.xar); 3) Now we have a problem: importing .xar packages coming from a 0.9 wiki does not work. This is where I am stuck. If you know the end of the story, I'd like to hear it ;-) I hope that could help to some extent... Marc Hi all, I've been using XWiki during this year and now I have a titanic task : upgrade it to XWiki 1.1 Unfortunately I haven't found any document on how to upgrade, neither in the site nor in the list archives, so I decided to transfer the MySQL database to a new location (unsing mysqldump) and install XWiki 1.1 from scratch (http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheXWikiWARmanually) using MySQL 5.0 and Tomcat 6 After obtaining a *Field 'XWD_ARCHIVE' doesn't have a default value error (and solved it thanks to http://jira.xwiki.org/jira/browse/XWIKI-1702) a more obscure error appears regarding some attributes and so. I decided not to follow a trial an error path, and I'm here asking for some guide or guidelines to do this upgrade, or in case such a thing doesn't exists beg for some help from you all, and as a thanks gift offer to publish a mini howto for upgrading XWiki from v0.9.x to 1.1. Thanks in advance for your help. -- Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma (Bit-Man) - Algorithm junkie Perl Mongers Capital Federal (http://cafe.pm.org/) GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users