Changes for page Installation
Last modified by Vincent Massol on 2024/10/28
To version 1.111
edited by Vincent Massol
on 2007/09/10
on 2007/09/10
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -134,5 +134,27 @@ 134 134 * XWiki.XWikiAllGroup (list of registered users) and XWiki.AdminGroup (list of Admins): If you have existing users and import a new version of these pages, you'll find that your users do not belong to these groups anymore and thus may not be able to edit pages, log in, etc. You'll need to add them again to the right groups. 135 135 * Any other page you have modified, such as Main.WebHome, a modified Panel, etc. 136 136 137 +1.1 Troubleshooting 137 137 139 +1.1.1 Field 'XWD_ARCHIVE' doesn't have a default value 138 138 141 +If you get an error like the one below it probably means you had an old XWiki version installed (most likely a 0.9 version) which had a wrong schema. We're normally automatically fixing schemas at startup when you set the <tt>xwiki.store.hibernate.updateschema</tt> configuration parameter in <tt>xwiki.cfg</tt> (it's set to on by default). However it's currently not done for this error. 142 + 143 +{code:none} 144 +Wrapped Exception: Could not execute JDBC batch update 145 +[...] 146 +Wrapped Exception: 147 +java.sql.BatchUpdateException: Field 'XWD_ARCHIVE' doesn't have a default value 148 +{code} 149 + 150 +To fix this run the following SQL command on your database: 151 + 152 +{code:sql} 153 +alter table xwikidoc modify column XWD_ARCHIVE mediumtext null; 154 +{code} 155 + 156 +1.1.1 Failure to log in 157 + 158 +Check that you don't have some old cookies and try deleting them. 159 + 160 +