slub / ocrd_kitodo

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

Summary of issues experienced when deploying to TU BS OCR-D Server #6

Closed SvenMarcus closed 2 years ago

SvenMarcus commented 2 years ago
bertsky commented 2 years ago

@SvenMarcus could you please

markusweigelt commented 2 years ago

@SvenMarcus

  • [ ] ocrd-manager couldn't connect to ocrd-controller due to missing host key of controller
  • [ ] after adding the host manually, ssh authentication failed from ocrd-manager to controller.

    • can be fixed by providing the -i ~/.ssh/id_rsa option for the ssh command in for_production.sh

Did you test this with "root" or "ocrd" user? Now for "ocrd" user the controller ip is added to generation of known host in manager so there should no message in logs. But problem with missing id_rsa for "ocrd user" i can not recreate atm.

  • [ ] after running the ocrd workflow once, it fails with Directory '' already is a workspace (probably intended behaviour).

Yes this behaviour is fixed in current state of development.

SvenMarcus commented 2 years ago

Hm we may have been root instead of ocrd. So the first error is probably a mistake on our end. As for the-i ~/.ssh/id_rsa issue, there we are pretty sure that we tried to run the workflow by executing the Kitodo script and then we got the authentication error. And only after that we went in to add the ID in order to fix it.

I tried retracing my steps, but after pulling the latest changes I ran into build issues with the Docker services (will create a new issue for this)

markusweigelt commented 2 years ago

The ticket should refer to the stable status of 05.04.2022. Atm some adjustments are made here and certain topics are already in progress and not documented yet :)