Chris Hof 5 Years Ago What's the best way to update from Beta1 to Beta2? Please sign in to reply. Reply as... Cancel Jamie Sammons Chris Hof 5 Years Ago Hi Chris, You should be able to copy your <beta1_bundle>/data directory to the beta 2 bundle directory and point the Beta 2 bundle to the same database that you used with Beta 1. That in theory should let you transition to Beta 2. There isn't really an upgrade path since both Beta 1 and Beta 2 use the same internal build number. Please sign in to reply. Reply as... Cancel Chris Hof Jamie Sammons 5 Years Ago Hmm, nope, we then get: 2019-04-18 14:57:08.822 ERROR [main][JDBCExceptionReporter:234] Unknown column 'layoutseti0_.headId' in 'field list' 2019-04-18 14:57:08.827 ERROR [main][PortalInstances:261] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query Oh well, it's a beta after all, we'll start with an empty instance... Please sign in to reply. Reply as... Cancel Jamie Sammons Chris Hof 5 Years Ago Yeah that means there was a schema change between B1 and B2. You could possible add that column to the db but you are probably correct that an empty instance is probably the easiest way to go. Please sign in to reply. Reply as... Cancel
Jamie Sammons Chris Hof 5 Years Ago Hi Chris, You should be able to copy your <beta1_bundle>/data directory to the beta 2 bundle directory and point the Beta 2 bundle to the same database that you used with Beta 1. That in theory should let you transition to Beta 2. There isn't really an upgrade path since both Beta 1 and Beta 2 use the same internal build number. Please sign in to reply. Reply as... Cancel Chris Hof Jamie Sammons 5 Years Ago Hmm, nope, we then get: 2019-04-18 14:57:08.822 ERROR [main][JDBCExceptionReporter:234] Unknown column 'layoutseti0_.headId' in 'field list' 2019-04-18 14:57:08.827 ERROR [main][PortalInstances:261] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query Oh well, it's a beta after all, we'll start with an empty instance... Please sign in to reply. Reply as... Cancel Jamie Sammons Chris Hof 5 Years Ago Yeah that means there was a schema change between B1 and B2. You could possible add that column to the db but you are probably correct that an empty instance is probably the easiest way to go. Please sign in to reply. Reply as... Cancel
Chris Hof Jamie Sammons 5 Years Ago Hmm, nope, we then get: 2019-04-18 14:57:08.822 ERROR [main][JDBCExceptionReporter:234] Unknown column 'layoutseti0_.headId' in 'field list' 2019-04-18 14:57:08.827 ERROR [main][PortalInstances:261] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query Oh well, it's a beta after all, we'll start with an empty instance... Please sign in to reply. Reply as... Cancel Jamie Sammons Chris Hof 5 Years Ago Yeah that means there was a schema change between B1 and B2. You could possible add that column to the db but you are probably correct that an empty instance is probably the easiest way to go. Please sign in to reply. Reply as... Cancel
Jamie Sammons Chris Hof 5 Years Ago Yeah that means there was a schema change between B1 and B2. You could possible add that column to the db but you are probably correct that an empty instance is probably the easiest way to go. Please sign in to reply. Reply as... Cancel