Hi, Fabian, Thank you for sharing your tips. I am also trying to migrate from 0.9.840 to 1b3 using postgresql 8.1. I tried your approach and it did not work for me. I think "upload_maxsize" is a custom property and I didn't have it in my xwikilongs/xwikiproperties table. I keep getting a lot of errors like this in my log files after my upgrade. 16:31:15,498 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Ma in/WebHome BasicLazyInitializer:getProxyFactory:130 - CGLIB Enhancement failed: com.xpn.xwiki.objects.classes.DateClass java.lang.NoClassDefFoundError at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyIni tializer.java:116) at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFacto Did you have this kind of CGLIB errors before? Thanks -Jimmy
Hi,
I finally managed the update from XWiki 0.9.840 to 1.0b3 running on Postgres 8.1. :-) For my situation two SQL commands were necessary in order to have a pretty nice 1.0b3 instance.
1) Have a look at the xwikilongs-table. Write down the row for upload_maxsize. Later you will have to insert the whole row. 2) DELETE FROM xwikilongs; (Be careful!) 3) Deploy the new XWiki version and configure your database in hibernate.cfg.xml. 4) Start the context and access your WebHome. Hibernate will update your database layout, but you will receive a exception, because XWiki can't find your configuration setting for upload_maxsize...;-) 5) INSERT INTO xwikilongs VALUES(PK_OF_THE_PARAM, 'upload_maxsize', VALUE_OF_THE_PARAM); (Replace PK_OF_THE_PARAM and VALUE_OF_THE_PARAM with your values.) 6) Have fun with your upgraded XWiki! :-D
Today I have done this procedure twice in order to be sure that it works and both times it worked without any problems. After upgrading I did some tests (attaching files, browsing, etc.) and everything worked really fine.
One thing everyone should consider to do: Go to your XWiki directory and delete the skins/default folder in order to replace it with skins/xwiki10b1 in order to have the new skin. Only with the new skin you can access new features like the improved settings editor and so on. If you did not use the default skin with your old XWiki, have a look at the database and run an UPDATE on xwikiprefs.xwd_skin (I think thats the right table/column. I forgot to write it down...).
HTH
PS: Thanks a lot XWiki-devs and go for the release! After testing this beta release, we now know more than ever that XWiki was the right choice for us! Great work!
Best regards, Fabian.