Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S sysadmin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 84
    • Issues 84
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • tails
  • sysadmin
  • Issues
  • #17782
Closed
Open
Issue created Nov 23, 2020 by Zen Fu@zenMaintainer22 of 22 checklist items completed22/22 checklist items

Upgrade Weblate to latest 4.x

In advance:

  • Migrate the Translation Platform to use a containerized Weblate: #17870 (closed)
  • Check and eventually adapt our custom scripts to latest Weblate API
  • Check whether there are any changes in relation to the current translation workflow
  • Get puppet-tails!77 (merged) to a working merge-able state
  • Check whether unicode-related errors occur in the upgraded Weblate. (can't reproduce myself, thus will rely on Reviewers testing)
  • Check whether permissions enforcing works fine
  • Coordinate testing of the upgraded platform
  • Setup upgrade tooling in production VM
  • Schedule downtime (current plan: Feb 15, 2022) and warn in advance

On the scheduled day:

  • Shutdown the service: disable Puppet Agent and stop Apache and Weblate
  • Disable cron jobs.
  • Save a backup of Weblate
  • Merge Weblate upgrade: puppet-tails!77 (merged)
  • Pull all intermediate container images needed for the upgrade.
  • Change the database owner to weblate.
  • Run Puppet Agent until it succeeds (2-3 times) and then shutdown the service again
  • For each new version (4.0, ..., 4.9), do the upgrade dance: make upgrade VERSION=4.X (1h)
  • Change the database owner back to postgres.
  • Enable and run Puppet Agent
  • Remove unnecessary container images.
  • Make sure the website and all glue code works fine
  • Report about permission changes in tails-weblate@.
  • File issue to discuss and plan further upgrades (4.10 is already out) -- #17890
Edited Feb 15, 2022 by Zen Fu
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking