Updating from Zanata-server 3.9.6 to Zanata-Platform 4.0.0 Error

Description

Hello,

I got Zanata-Server 3.9.6 working and tried to update it to Zanata-Platform 4.0.0. Used like before Wildfly version 10.1.0.Final and did everything like before. Now I am getting this error when starting up zanata:

15:49:18,871 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool – 74) MSC000001: Failed to start service jboss.persistenceunit."zanata.war#zanataDatasourcePU": org.jboss.msc.service.StartException in service jboss.persistenceunit."zanata.war#zanataDatasourcePU": javax.persistence.PersistenceException: [PersistenceUnit: zanataDatasourcePU] Unable to build Hibernate SessionFactory
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:179) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final]
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:121) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final]
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:193) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.8.0_121]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_121]
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: zanataDatasourcePU] Unable to build Hibernate SessionFactory
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:954) [hibernate-entitymanager-5.0.10.Final.jar:5.0.10.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:882) [hibernate-entitymanager-5.0.10.Final.jar:5.0.10.Final]
at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:161) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final]
... 7 more
Caused by: org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'org.zanata.model.HAccount'
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:260) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:513) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:482) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:91) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.spi.SearchIntegratorBuilder.initDocumentBuilders(SearchIntegratorBuilder.java:358) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.spi.SearchIntegratorBuilder.buildNewSearchFactory(SearchIntegratorBuilder.java:199) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.spi.SearchIntegratorBuilder.buildSearchIntegrator(SearchIntegratorBuilder.java:117) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.hcore.impl.HibernateSearchSessionFactoryObserver.sessionFactoryCreated(HibernateSearchSessionFactoryObserver.java:75) [hibernate-search-orm-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) [hibernate-core-5.0.10.Final.jar:5.0.10.Final]
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:530) [hibernate-core-5.0.10.Final.jar:5.0.10.Final]
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444) [hibernate-core-5.0.10.Final.jar:5.0.10.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:879) [hibernate-entitymanager-5.0.10.Final.jar:5.0.10.Final]
... 9 more
Caused by: org.hibernate.search.exception.SearchException: Unable to open Lucene IndexReader for IndexManager org.zanata.model.HAccount
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:113) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.initialize(SharingBufferReaderProvider.java:91) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.impl.PropertiesParseHelper.createDirectoryBasedReaderProvider(PropertiesParseHelper.java:172) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.createIndexReader(DirectoryBasedIndexManager.java:224) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:109) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:256) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
... 20 more
Caused by: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path="C:\Users\LOB\zanata\indexes\org.zanata.model.HAccount\segments_d"))): -11 (needs to be between 1071082519 and 1071082519). This version of Lucene only supports indexes created with release 4.0 and later.
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:299) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:53) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:50) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:731) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:50) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.readerFactory(SharingBufferReaderProvider.java:131) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider$PerDirectoryLatestReader.<init>(SharingBufferReaderProvider.java:206) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:108) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
... 25 more

15:49:18,887 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "zanata.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"zanata.war#zanataDatasourcePU\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"zanata.war#zanataDatasourcePU\": javax.persistence.PersistenceException: [PersistenceUnit: zanataDatasourcePU] Unable to build Hibernate SessionFactory
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: zanataDatasourcePU] Unable to build Hibernate SessionFactory
Caused by: org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'org.zanata.model.HAccount'
Caused by: org.hibernate.search.exception.SearchException: Unable to open Lucene IndexReader for IndexManager org.zanata.model.HAccount
Caused by: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path=\"C:\\Users\\LOB\\zanata\\indexes\\org.zanata.model.HAccount\\segments_d\"))): -11 (needs to be between 1071082519 and 1071082519). This version of Lucene only supports indexes created with release 4.0 and later."},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.persistenceunit.\"zanata.war#zanataDatasourcePU\""],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}

What might be the issue? I don't have a clue..

Environment

None

Assignee

Unassigned

Reporter

B L

Labels

None

Tested Version/s

None

Affects versions

Priority

unspecified
Configure