slub / ocrd_kitodo

Docker integration of Kitodo.Production and OCR-D
MIT License
10 stars 6 forks source link

Update Kitodo.Production and scripts for webhook manager version #98

Closed markusweigelt closed 4 months ago

markusweigelt commented 7 months ago
markusweigelt commented 6 months ago

@bertsky Adjusted to the changed asynchronous behavior of OCR-D manager. Synchronous is now the default.

bertsky commented 4 months ago

Wait! One bug did slip through: https://github.com/slub/ocrd_kitodo/blob/b8a38856dc3fee1e5d45ce4ea1b1b6d834db077b/.env#L22-L23

Notice the wrong variable name for the pw?

Live this causes:

MongoServerError: Authentication failed.
bertsky commented 4 months ago

Also fixed in https://github.com/slub/ocrd_kitodo/commit/c59b4cbd81f57b4de377b78ac641f977df2cd4c5.

bertsky commented 4 months ago

@markusweigelt, short explanation: in trying to make this work, I noticed I do need to update the Controller (because our timeout was partially caused by glitches there, not SSH itself) and added waiting for ocrd-database (because that is what surfaced on the CI as well). So I basically had to put all on one card. Hope all this is sufficient now :crossed_fingers:

bertsky commented 4 months ago

Ok, it finally (!!) seems to work again. For the moment, only locally – but on the CI all we are waiting for is a release of ocrd/core v2.62.3 to PyPI, so ocrd/all:maximum-cuda can be rebuilt (it does already work with ocrd/all:maximum).

I already merged the new Controller, so IMO the next steps should be: