1
0
-1

I installed translate5 using Docker, but I'm getting the following error message (see image below). 

 Database                      : not optimal                                                                                                                        

 [WARNING] Database is not up to date: there are 22 DB files to be imported! call "translate5.[sh|bat] database:update"

I've tried troubleshooting, but it's still not working. How can I fix this?


    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Penny, the docker compose configuration must be updated. 

      Please add to the docker compose file another service: 

         okapi-147:
             restart: always
             image: translate5/okapi-longhorn:combined-java11

      then docker compose up -d this new service and then do in the translate5 php container: 

      t5 okapi:list
      t5 okapi:add http://okapi-147.:8080/okapi-longhorn-147/
      t5 okapi:list
      t5 database:update

      This steps are currently missing in our documentation.

      Best regards
      Thomas

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Thomas,
        Thank you for help!  The updated docker compose configuration worked perfectly.

          CommentAdd your comment...