Open stweil opened 6 days ago
After manually adding the authority table, there is another error for the next missing one:
Caused by: org.hibernate.HibernateException: Schema-validation: missing table [batch]
Also missing: workflow
, client
, docket
, folder
, project
, ruleset
, template
, process
, batch_x_process
and maybe more tables. How is it possible to run Tomcat with a new installation of Kitodo.Production?
I suppose the baseline sql is this file: https://github.com/kitodo/kitodo-production/releases/download/kitodo-production-3.6.3/kitodo_3-6-3.sql The wikis give the sql file for an old version of the database. https://github.com/kitodo/kitodo-production/wiki/Installationsanleitung-f%C3%BCr-Kitodo.Production-3.4#6-datenbank-vorbereiten
We should probably release an installation guide for 3.6.x
I suppose the baseline sql is this file: https://github.com/kitodo/kitodo-production/releases/download/kitodo-production-3.6.3/kitodo_3-6-3.sql
I think it would be a good idea to replace the outdated SQL files in the repository by this one.
A fresh installation of the latest Kitodo.Production fails when deployed by Tomcat:
There is indeed no table named
authority
in Kitodo/setup/*.sql.