How to validate database state

I recently upgradet my docker based gitea instance from 1.13.71.14.1. Then I noticed a weird issue while creating a PR and checked the logs. X-ORM retried to update the db and returned an error.

Is there a way to validate the db or manually trigger an update?

Are there any logs from your docker ?

Unfortunately not. Meanwhile the system ran its purge jobs where all the stopped containers were deleted. So I can’t provide any logs.
The message contained failed updates by x-orm which were retried 10 times. I noticed it because I ran into the js serviceworker error while trying to create a new pull-request.

Is there any way like gitea migrate to validate the database state or to trigger a xorm sync?

Yeah, You can use gitea migrate.