Mailinglist Archive: opensuse-translation (41 mails)

< Previous Next >
[opensuse-translation] Weblate upgrade planned (several days outage expected)
Hi.

We finally solved problems that were blocking our Weblate server from
upgrade. We do not need to stick at the old Weblate 2.6 any more.

The bad news is the fact, that the upgrade and migration process will
take a non-trivial amount of machine time (about two days) to proceed.

For that time, Weblate has to be down or in read-only mode.

The date of the outage is not yet defined. I propose work days of the
next week. Please let us know if you plan any special plans for these
days.

We are planning to migrate:
from Weblate 2.6 on SLE12 SP1 and mysql
to Weblate 2.13.1 on Leap 42.2 and postgresql

Leap has more python packages and packaging would require much less effort.


Here is the detailed description of the migration process:

1) Make Weblate read-only or off.

2) Backup the whole database and repositories.

3) Restore data on a staging machine with Leap 42.2.

4) Intermediate upgrade to Weblate 2.10:
https://build.opensuse.org/project/show/M17N:l10n.opensuse.org:weblate-2.10

It is not possible to upgrade directly to >=2.11, as
python-python-social-auth was replaced by python-social-auth-app-django,
and migration process is broken for our instance version.
https://github.com/python-social-auth/social-app-django/issues/26

5) Upgrade to patched Weblate 2.13.1. The upstream 2.13.1 has a broken
migration process and drops some comments.

The migration process changes the format of the database. Each

6) Dump mysql database by Django Shell commands.

7) Import database dump by Django Shell commands to a pre-initialized
database with some truncated tables.

This import will require at least 32GB of swap and will take many hours.

8) Switch to the new production server.

9) Create new permissions system.

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx
Křižíkova 148/34 (Corso IIa) tel: +49 911 7405384547
186 00 Praha 8-Karlín fax: +420 284 084 001
Czech Republic http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76

--
To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-translation+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups