Page tree
Skip to end of metadata
Go to start of metadata

This How-To shows you, how to update a translate5 installation which is set up as shown in the translate5 Ubuntu installation How-To.

Users of other Linux distributions should be able to adopt the described steps.

For PHP 5.6 Updaters

Current version of translate5 runs only with PHP 7.3. If you update from PHP 5.6 to 7.3 it can happen that install and update script complains about the wrong PHP version.

If this is the case, just unzip the translate5.zip in you application folder and confirm that all files should be overwritten. This affects only the application files, no user data.

After that the install and update script should be runable again.


Update the file tree and database structure

Backup translate5

Although our updates are well tested, we strongly recommend to make a backup of the whole application directory /var/www/translate5 and the translate5 database!
Creating a backup is currently not part of this manual or the update script itself!

Update translate5

Open the command line.

Change to translate5 directory:

 

cd /var/www/translate5
sudo -u www-data ./install-and-update.sh

The script is looking for file updates on translate5 update server. If there is a new version available, the package is downloaded and installed automatically.

Database is also updated automatically. Find out more about the updater script.

Optional: Restart openTMSTermTagger REST-server

Please watch the output of the updater. If openTMSTermTagger has been updated, restart your openTMSTermTagger instance.

Refresh Browser Window

Please ensure that you refresh your browser with translate5 loaded after the update. Press therefore <CTRL>-<F5>.

A simple page reload would not be sufficient, since some files are getting cached. A simple reload would not change these files after an update.

That's it. You are done. translate5 is up2date (smile)

  • No labels