Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4198

Instruction how to enable TM Maintenance

    XMLWordPrintable

Details

    • High
    • Hide
      We need to make TM Maintenance available for all deployments
      See https://jira.translate5.net/browse/TRANSLATE-4198 for formatted instructions.

      Needed steps:
      - update PHP and t5memory (t5memory tag should be :latest) container, recreate
      - docker compose pull php t5memory
      - docker compose up --force-recreate -d php t5memory
      - activate plugin - go to the document-root of your translate5 installation dir in your php-docker-container and call there
      t5 plugin:enable TMMaintenance
      - the needed access roles are added automatically to all sysadmin and admin users
      - admins and PM users can set the needed roles to each user in the UIs user administration panel
      - log in with such user and you are able to use TM Maintenance with that user.

      Please note, that before being able to use TM maintenance for a TM, the TM needs to be reorganized because of changes in its data structures. translate5 will do that automatically for a TM as soon as you start to try to use it in TM maintenance, yet with big TMs that will take some time and the UI might run into timeouts then.
      You can also migrate all TMs first on the CMD to the new format by using the command line interface. Go to the document-root of your translate5 installation dir in your php-docker-container and call there:
      t5 t5memory:reorganize

      The command has the following parameters

      --tmName=TMNAME If no UUID was given this will filter the list of all TMs if provided
      --batchSize=BATCHSIZE Number of memories to reorganize at once. Works only if no UUID and tmName was given
      --startFromId=STARTFROMID

      The IDs of the TMs you see when showing the “id” column in the language resource management in the UI.
      Show
      We need to make TM Maintenance available for all deployments See https://jira.translate5.net/browse/TRANSLATE-4198 for formatted instructions. Needed steps: - update PHP and t5memory (t5memory tag should be :latest) container, recreate - docker compose pull php t5memory - docker compose up --force-recreate -d php t5memory - activate plugin - go to the document-root of your translate5 installation dir in your php-docker-container and call there t5 plugin:enable TMMaintenance - the needed access roles are added automatically to all sysadmin and admin users - admins and PM users can set the needed roles to each user in the UIs user administration panel - log in with such user and you are able to use TM Maintenance with that user. Please note, that before being able to use TM maintenance for a TM, the TM needs to be reorganized because of changes in its data structures. translate5 will do that automatically for a TM as soon as you start to try to use it in TM maintenance, yet with big TMs that will take some time and the UI might run into timeouts then. You can also migrate all TMs first on the CMD to the new format by using the command line interface. Go to the document-root of your translate5 installation dir in your php-docker-container and call there: t5 t5memory:reorganize The command has the following parameters --tmName=TMNAME If no UUID was given this will filter the list of all TMs if provided --batchSize=BATCHSIZE Number of memories to reorganize at once. Works only if no UUID and tmName was given --startFromId=STARTFROMID The IDs of the TMs you see when showing the “id” column in the language resource management in the UI.
    • TM Maintenance is now enabled by default

    Description

      We need to make TM Maintenance available for all deployments.

      Needed steps:

      • update PHP and t5memory (t5memory tag should be :latest) container, recreate
        docker compose pull php t5memory
        docker compose up --force-recreate -d php t5memory 
      • activate plugin - go to the document-root of your translate5 installation dir in your php-docker-container and call there
        t5 plugin:enable TMMaintenance
        
      • The needed access roles are added automatically to all sysadmin, admin users
      • Admins and PM users can set the needed roles to each user in the UIs user administration panel
      • log in with such user and you are able to use TM Maintenance with that user.

      Please note, that before being able to use TM maintenance for a TM, the TM needs to be reorganized because of changes in its data structures. translate5 will do that automatically for a TM as soon as you start to try to use it in TM maintenance, yet with big TMs that will take some time and the UI might run into timeouts then.
      You can also migrate all TMs first on the CMD to the new format by using the command line interface. Go to the document-root of your translate5 installation dir in your php-docker-container and call there:

      t5 t5memory:reorganize
      

      The command has the following parameters

      --tmName=TMNAME If no UUID was given this will filter the list of all TMs if provided
      --batchSize=BATCHSIZE Number of memories to reorganize at once. Works only if no UUID and tmName was given
      --startFromId=STARTFROMID
      

      The IDs of the TMs you see when showing the “id” column in the language resource management in the UI.
       
       
       

       

      Attachments

        Activity

          People

            leonkiz Leon Kiz
            leonkiz Leon Kiz
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: