Skip to main content

How to upgrade the Repo Connector to a newer version

When upgrading the Repository Connector to a newer or latest version, it is important to complete the steps outlined in this document for a successful upgrade with no disruption to translation work in progress.

  1. Stop the previous version.

    • To stop the Repository Connector, run from your repo-connector folder:
      ​java -jar repo-connector-1.5.10.jar -stop

  2. Back-up the current configuration files.

    • Copy repo-connector.conf , logback.xml , smartling-config.json(optional) and store them somewhere you can access for step 5.

    • By default, these config files are located in [repository connector directory]/cfg.

  3. Clean repository connector directory

    • Delete all files from [repository connector directory].

  4. Download a new version.

  5. Replace the default configuration with the config files from back-up

  6. Start the new version.

    • Replace config files with previously stored and start the Repository Connector via execution:
      ​java -jar repo-connector-1.7.11.jar -start

    • If you have saved your configuration files in a folder other than the default (/cfg) add the parameter -configuration <folder_name> to the command.

Note: The connector will check out all configured repositories and re-upload all files. The connector then automatically syncs with the translation status in Smartling.

Tip: Your updated connector is ready to use.

Did this answer your question?