...
Code Block | ||
---|---|---|
| ||
cd /var/www/translate5 sudo chown -R www-data:www-data . sudo -u www-data ./install-and-update.sh --maintenance 16:00 "Reason for maintenance: Translate5 Update" # adjust the time and notice text to your needs # if you use the public version of translate5: sudo -u www-data ./install-and-update.sh # if you use a customized installation package: sudo -u www-data ./install-and-update.sh /path/to/the/custom/translate5-1.2.3.zip # if in use, restart the frontend messagebus now! See below. sudo -u www-data ./install-and-update.sh --maintenance off |
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.
Restart of frontend message bus
Before leaving the maintenance mode the frontend message bus should be restarted. How to do that depends on how it is started on your machine.
If you followed the translate5 Installation Guide a
Code Block |
---|
sudo supervisorctl restart all |
should do the job.
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.