Update From 9.2 to 9.3.1 - Failed

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Update From 9.2 to 9.3.1 - Failed

Keith Davis
I don't know what I did wrong. I followed the same process that I always
do, but I'm getting this:

HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in 0:
Failed to extract Entity Resource Reference from URL [
https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/]

*type* Exception report

*message* *com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL
[https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/
<https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/>]*

*description* *The server encountered an internal error that prevented it
from fulfilling this request.*

*exception*

javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 11007 in 0: Failed to extract Entity Resource Reference from
URL [https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/]
        org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
        org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)

*root cause*

com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL
[https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/]
        com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:926)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
        org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)


(There is more if I need to send that as well).

I rolled back to 9.2 and that works fine. I've looked in the Release
Notes and don't see anything that I need to change:

http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/9.3/

http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/9.3.1/


--
Keith Davis
214-906-5183
Reply | Threaded
Open this post in threaded view
|

Re: Update From 9.2 to 9.3.1 - Failed

Keith Davis
Ok, I guess I do need to send the rest. Looks like this is the failure:

"java.sql.SQLException: Cannot add foreign key constraint"

*root cause*

java.lang.RuntimeException: Failed to locate wiki descriptor for alias
[wiki.pridedallas.com]
        org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:80)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
        org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
        com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
        org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)

*root cause*

org.xwiki.wiki.manager.WikiManagerException: Failed to locate
XWiki.XWikiServerClass document for wiki alias [wiki.pridedallas.com]
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:128)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
        org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
        org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
        org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
        com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
        org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)

*root cause*

org.xwiki.query.QueryException: Exception while translating [where
doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name
like 'XWikiServer%'] XWQL query to the [hql] language. Query statement
= [where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and
doc.name like 'XWikiServer%']
        org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:130)
        org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
        org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
        org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
        org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
        org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
        com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
        org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)

*root cause*

com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document [xwiki:XWiki.XWikiServerClass]
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:992)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1817)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1870)
        com.xpn.xwiki.XWiki.getXClass(XWiki.java:6088)
        com.xpn.xwiki.XWiki.getClass(XWiki.java:6101)
        com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:498)
        org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
        org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
        org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
        org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
        org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
        org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97)
        org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
        org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
        org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
        org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
        org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
        com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
        org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)

*root cause*

com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while
switching to database xwiki
        com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:769)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:942)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:873)
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:865)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1817)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1870)
        com.xpn.xwiki.XWiki.getXClass(XWiki.java:6088)
        com.xpn.xwiki.XWiki.getClass(XWiki.java:6101)
        com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:498)
        org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
        org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
        org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
        org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
        org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
        org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97)
        org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
        org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
        org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
        org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
        org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
        com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
        org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)

*root cause*

com.xpn.xwiki.store.migration.DataMigrationException: Migration of
database [xwiki] has failed, it could not be safely used! Database is
currently in version [90000] while the required version is [93000].
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.preventAccessToOutdatedDb(AbstractDataMigrationManager.java:594)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:541)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:765)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:942)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:873)
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:865)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1817)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1870)
        com.xpn.xwiki.XWiki.getXClass(XWiki.java:6088)
        com.xpn.xwiki.XWiki.getClass(XWiki.java:6101)
        com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:498)
        org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
        org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
        org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
        org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
        org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
        org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97)
        org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
        org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:296)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
        org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
        org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
        org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
        org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
        org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
        org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
        org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
        org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
        org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
        com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
        org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)

*root cause*

com.xpn.xwiki.store.migration.DataMigrationException: Unable to update
schema of wiki [xwiki]
        com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.migrateDatabase(AbstractDataMigrationManager.java:742)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:664)
        com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:355)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsOnlyOnce(AbstractDataMigrationManager.java:644)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.tryToProcceedToMigration(AbstractDataMigrationManager.java:621)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:538)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:765)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:942)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:873)
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:865)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1817)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1870)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156)
        org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
        org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.containsKey(AbstractDocumentConfigurationSource.java:194)
        org.xwiki.configuration.internal.AbstractSpacesConfigurationSource$SpaceConfigurationSource.containsKey(AbstractSpacesConfigurationSource.java:172)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.containsKey(AbstractCompositeConfigurationSource.java:45)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.containsKey(AbstractCompositeConfigurationSource.java:45)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.getProperty(AbstractCompositeConfigurationSource.java:95)
        org.xwiki.store.filesystem.internal.DefaultFilesystemAttachmentsConfiguration.cleanOnStartup(DefaultFilesystemAttachmentsConfiguration.java:52)
        org.xwiki.store.filesystem.internal.DefaultFilesystemStoreTools.initialize(DefaultFilesystemStoreTools.java:179)
        org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
        org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
        org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:399)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        com.xpn.xwiki.web.Utils.getComponent(Utils.java:753)
        com.xpn.xwiki.web.Utils.getComponent(Utils.java:716)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1162)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1103)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:1076)
        com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117)
        org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
        org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
        java.lang.Thread.run(Unknown Source)

*root cause*

org.hibernate.HibernateException: Failed updating schema while
executing query [alter table activitystream_events_status add index
FKBF7104E8CB8C5002 (ases_eventid), add constraint FKBF7104E8CB8C5002
foreign key (ases_eventid) references activitystream_events
(ase_eventid)]
        com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:652)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:393)
        com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:198)
        com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:179)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.migrateDatabase(AbstractDataMigrationManager.java:742)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:664)
        com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:355)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsOnlyOnce(AbstractDataMigrationManager.java:644)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.tryToProcceedToMigration(AbstractDataMigrationManager.java:621)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:538)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:765)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:942)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:873)
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:865)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1817)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1870)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156)
        org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
        org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.containsKey(AbstractDocumentConfigurationSource.java:194)
        org.xwiki.configuration.internal.AbstractSpacesConfigurationSource$SpaceConfigurationSource.containsKey(AbstractSpacesConfigurationSource.java:172)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.containsKey(AbstractCompositeConfigurationSource.java:45)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.containsKey(AbstractCompositeConfigurationSource.java:45)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.getProperty(AbstractCompositeConfigurationSource.java:95)
        org.xwiki.store.filesystem.internal.DefaultFilesystemAttachmentsConfiguration.cleanOnStartup(DefaultFilesystemAttachmentsConfiguration.java:52)
        org.xwiki.store.filesystem.internal.DefaultFilesystemStoreTools.initialize(DefaultFilesystemStoreTools.java:179)
        org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
        org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
        org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:399)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        com.xpn.xwiki.web.Utils.getComponent(Utils.java:753)
        com.xpn.xwiki.web.Utils.getComponent(Utils.java:716)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1162)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1103)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:1076)
        com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117)
        org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
        org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
        java.lang.Thread.run(Unknown Source)

*root cause*

java.sql.SQLException: Cannot add foreign key constraint
        com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
        com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2809)
        com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1811)
        com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1725)
        org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
        org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
        org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:234)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:648)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:393)
        com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:198)
        com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:179)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.migrateDatabase(AbstractDataMigrationManager.java:742)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:664)
        com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:355)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsOnlyOnce(AbstractDataMigrationManager.java:644)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.tryToProcceedToMigration(AbstractDataMigrationManager.java:621)
        com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:538)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:765)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:942)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:873)
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:865)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1817)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1870)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139)
        org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156)
        org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
        org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.containsKey(AbstractDocumentConfigurationSource.java:194)
        org.xwiki.configuration.internal.AbstractSpacesConfigurationSource$SpaceConfigurationSource.containsKey(AbstractSpacesConfigurationSource.java:172)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.containsKey(AbstractCompositeConfigurationSource.java:45)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.containsKey(AbstractCompositeConfigurationSource.java:45)
        org.xwiki.configuration.internal.AbstractCompositeConfigurationSource.getProperty(AbstractCompositeConfigurationSource.java:95)
        org.xwiki.store.filesystem.internal.DefaultFilesystemAttachmentsConfiguration.cleanOnStartup(DefaultFilesystemAttachmentsConfiguration.java:52)
        org.xwiki.store.filesystem.internal.DefaultFilesystemStoreTools.initialize(DefaultFilesystemStoreTools.java:179)
        org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
        org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
        org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:399)
        org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
        com.xpn.xwiki.web.Utils.getComponent(Utils.java:753)
        com.xpn.xwiki.web.Utils.getComponent(Utils.java:716)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1162)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1103)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:1076)
        com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117)
        org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
        org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
        java.lang.Thread.run(Unknown Source)


On Mon, May 1, 2017 at 7:44 AM, Keith Davis <[hidden email]>
wrote:

> I don't know what I did wrong. I followed the same process that I always
> do, but I'm getting this:
>
> HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in 0:
> Failed to extract Entity Resource Reference from URL [
> https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/]
>
> *type* Exception report
>
> *message* *com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed
> to extract Entity Resource Reference from URL
> [https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/
> <https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/>]*
>
> *description* *The server encountered an internal error that prevented it
> from fulfilling this request.*
>
> *exception*
>
> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/]
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
>
> *root cause*
>
> com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [https://wiki.pridedallas.com:8443/xwiki/bin/view/Main/]
> com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:926)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
>
>
> (There is more if I need to send that as well).
>
> I rolled back to 9.2 and that works fine. I've looked in the Release Notes and don't see anything that I need to change:
>
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/9.3/
>
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/9.3.1/
>
>
> --
> Keith Davis
> 214-906-5183 <(214)%20906-5183>
>



--
Keith Davis
214-906-5183

Reply | Threaded
Open this post in threaded view
|

Re: Update From 9.2 to 9.3.1 - Failed

Keith Davis
Looks like this is the failure:



java.sql.SQLException: Cannot add foreign key constraint



and



org.hibernate.HibernateException: Failed updating schema while executing
query [alter table activitystream_events_status add index
FKBF7104E8CB8C5002 (ases_eventid), add constraint FKBF7104E8CB8C5002
foreign key (ases_eventid) references activitystream_events (ase_eventid)]


com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:652)


com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:393)



So it appears to be the same problem as
https://jira.xwiki.org/browse/XWIKI-14225, however, this is *not *the case
for me, my activitystream table is already INNODB:



Thomas Mortagne
<https://jira.xwiki.org/secure/ViewProfile.jspa?name=tmortagne> added a
comment - 25/Apr/17 04:25

*The issue was that activitystream_events was still MyISAM for some reason.
Converting it to INNODB fix it.*
Reply | Threaded
Open this post in threaded view
|

Re: Update From 9.2 to 9.3.1 - Failed

Keith Davis
Sorry, actitvitystream_events table and for that matter, I checked, and all
tables are INNODB.

I ran the query manually and it does fail, but no additional info:

ALTER TABLE activitystream_events_status ADD INDEX FKBF7104E8CB8C5002
(ases_eventid),
ADD CONSTRAINT FKBF7104E8CB8C5002 FOREIGN KEY (ases_eventid) REFERENCES
activitystream_events (ase_eventid);
/* SQL Error (1215): Cannot add foreign key constraint */

Ah, activitystream_events_status is latin1_swedish_ci and
activitystream_events is utf8_bin. Not sure how that happened, I'm guessing
that is not intentional and I'm sure that's what's causing the failure.
What collation should the tables be, utf8_bin, I assume?



On Mon, May 1, 2017 at 8:14 AM, Keith Davis <[hidden email]>
wrote:

> Looks like this is the failure:
>
>
>
> java.sql.SQLException: Cannot add foreign key constraint
>
>
>
> and
>
>
>
> org.hibernate.HibernateException: Failed updating schema while executing
> query [alter table activitystream_events_status add index
> FKBF7104E8CB8C5002 (ases_eventid), add constraint FKBF7104E8CB8C5002
> foreign key (ases_eventid) references activitystream_events (ase_eventid)]
>
>             com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(
> XWikiHibernateBaseStore.java:652)
>
>             com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(
> XWikiHibernateBaseStore.java:393)
>
>
>
> So it appears to be the same problem as https://jira.xwiki.org/
> browse/XWIKI-14225, however, this is *not *the case for me, my
> activitystream table is already INNODB:
>
>
>
> Thomas Mortagne
> <https://jira.xwiki.org/secure/ViewProfile.jspa?name=tmortagne> added a
> comment - 25/Apr/17 04:25
>
> *The issue was that activitystream_events was still MyISAM for some
> reason. Converting it to INNODB fix it.*
>



--
Keith Davis
214-906-5183
Reply | Threaded
Open this post in threaded view
|

Re: Update From 9.2 to 9.3.1 - Failed

Keith Davis
There were 4-5 tables that were not UTF8. This is probably because UTF8 was
not our default collation for the MySQL servers originally, but it is now.
I converted those latin1_swedis_ci tables. That fixed the issue.

On Mon, May 1, 2017 at 8:27 AM, Keith Davis <[hidden email]>
wrote:

> Sorry, actitvitystream_events table and for that matter, I checked, and
> all tables are INNODB.
>
> I ran the query manually and it does fail, but no additional info:
>
> ALTER TABLE activitystream_events_status ADD INDEX FKBF7104E8CB8C5002
> (ases_eventid),
> ADD CONSTRAINT FKBF7104E8CB8C5002 FOREIGN KEY (ases_eventid) REFERENCES
> activitystream_events (ase_eventid);
> /* SQL Error (1215): Cannot add foreign key constraint */
>
> Ah, activitystream_events_status is latin1_swedish_ci and
> activitystream_events is utf8_bin. Not sure how that happened, I'm guessing
> that is not intentional and I'm sure that's what's causing the failure.
> What collation should the tables be, utf8_bin, I assume?
>
>
>
> On Mon, May 1, 2017 at 8:14 AM, Keith Davis <[hidden email]>
> wrote:
>
>> Looks like this is the failure:
>>
>>
>>
>> java.sql.SQLException: Cannot add foreign key constraint
>>
>>
>>
>> and
>>
>>
>>
>> org.hibernate.HibernateException: Failed updating schema while executing
>> query [alter table activitystream_events_status add index
>> FKBF7104E8CB8C5002 (ases_eventid), add constraint FKBF7104E8CB8C5002
>> foreign key (ases_eventid) references activitystream_events (ase_eventid)]
>>
>>             com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWi
>> kiHibernateBaseStore.java:652)
>>
>>             com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWi
>> kiHibernateBaseStore.java:393)
>>
>>
>>
>> So it appears to be the same problem as https://jira.xwiki.org/brow
>> se/XWIKI-14225, however, this is *not *the case for me, my
>> activitystream table is already INNODB:
>>
>>
>>
>> Thomas Mortagne
>> <https://jira.xwiki.org/secure/ViewProfile.jspa?name=tmortagne> added a
>> comment - 25/Apr/17 04:25
>>
>> *The issue was that activitystream_events was still MyISAM for some
>> reason. Converting it to INNODB fix it.*
>>
>
>
>
> --
> Keith Davis
> 214-906-5183 <(214)%20906-5183>
>



--
Keith Davis
214-906-5183