Details
Description
At startup, the wiki did not initialize and you get the following in your logs:
2012-01-12 13:24:54,667 [http://localhost:8080/xwiki/bin/view/Main/] WARN o.h.u.JDBCExceptionReporter - SQL Error: 0, SQLState: 42P01 2012-01-12 13:24:54,667 [http://localhost:8080/xwiki/bin/view/Main/] ERROR o.h.u.JDBCExceptionReporter - ERROR: relation "xwikidbversion" does not exist Position: 45 2012-01-12 13:24:54,673 [http://localhost:8080/xwiki/bin/view/Main/] WARN o.h.u.JDBCExceptionReporter - SQL Error: 0, SQLState: 25P02 2012-01-12 13:24:54,674 [http://localhost:8080/xwiki/bin/view/Main/] ERROR o.h.u.JDBCExceptionReporter - ERROR: current transaction is aborted, commands ignored until end of transaction block 2012-01-12 13:24:54,694 [http://localhost:8080/xwiki/bin/view/Main/] ERROR .x.x.s.XWikiHibernateBaseStore - Failed creating schema update script org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
There is an easy workaround if you startup fresh (not importing old data), which is to fix the DB version to the latest DB version in your xwiki.cfg using:
xwiki.store.migration.version=15429