com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with SQL [select distinct doc.space, doc.name from XWikiDocument as doc , BaseObject as obj, StringProperty as prop, BaseObject as userobj where doc.fullName=obj.name and obj.className=? and obj.id=prop.id.id and prop.value=? and doc.fullName=userobj.name and userobj.className=?]
Wrapped Exception: Error number 3301 in 3: Exception while switching to database workspacetemplate
Wrapped Exception: Migration of database [workspacetemplate] has failed, it could not be safely used! Database is currently in version  while the required version is .