Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Please follow these steps to update an on-premise installation of translate5:

  • ssh to the machine.
  • Go to the directory, where your docker-compose.yml is located (on modern systems: docker compose ls)
  • go into php container
    • docker compose exec php bash
    • or if provided with alias "t5b"
  • check status (no workers running?)
    • t5 status
  • set maintenance mode
    • t5 main:set now
      (or set the maintenance mode to be run at a future point in time with announcement; see options with "t5 main --help")
  • Download install package
  • exit container
    • exit (ctrl-D)
  • update docker
    • docker compose pull
    • docker compose up -d
  • go into php container
    • docker compose exec php bash (or again t5b)
  • update installation
    • sudo -u www-data ./install-and-update.sh name-of-translate5-install-package.zip

    •  → dangerous: if previous update was done as root (what is no problem if nothing in /data/ was added) the above call may not unpack all files.
    • → quirk: db-update-scripts may create files in /data with root-rights. To be sure, make a "chown -R www-data:www-data ./data" to have proper rights for all user-data files
  • disable maintenance mode
    • t5 main:end
  • No labels