-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1541ab8
commit 64c026c
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 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: | ||
|
||
1. Revert to previous version by editing `docker-compose.yml` `acc-text-api` image tag, for example, by changing `acctext/api:latest` to `acctext/api:1541ab8fbba68a86d01c085d7a6e2577db75b1f0` (all available tags can be found [here](https://hub.docker.com/r/acctext/api)). | ||
2. [Export document plans](export.md) | ||
3. run `make delete-datomic-volume` | ||
4. Restore `acc-text-api` image tag to `latest` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters