Troubleshooting
db.error/not-an-entity
The error message looks like this:
Caused by: java.lang.IllegalArgumentException: :db.error/not-an-entity Unable to resolve entity: :document-plan/data-sample-method
This means that new version of Accelerated Text was run which included changes to database schema.
There are several ways this can be fixed. If you don't need to recover existing document plans, just run make delete-datomic-volume command and restart Accelerated Text, otherwise:
- Revert to previous version by editing
docker-compose.ymlacc-text-apiimage tag, for example, by changingacctext/api:latesttoacctext/api:1541ab8fbba68a86d01c085d7a6e2577db75b1f0(all available tags can be found here). - Export document plans
- run
make delete-datomic-volume - Restore
acc-text-apiimage tag tolatest