[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@suse.com 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@opensuse.org To contact the owner, e-mail: opensuse-translation+owner@opensuse.org
Stanislav Brabec schrieb:
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.
Thanks for the heads up! Given that we are six weeks from the release there is very little room for failures of the new version. We're also about to deploy software.o.o and I expect people to notice lots of missing translations there as the last call to action didn't yield much. I'm very much looking forward to a new version myself but I'm a bit nervous to spoil the release fun :-) Do we need anything urgent or could the migration be deferred to August, so after the release of 42.3? cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-translation+owner@opensuse.org
Hello all,
I also think that better time would be after Leap 42.3 release.
Best regards
Ferdinand
Slovak translator
2017-06-12 12:21 GMT+02:00 Ludwig Nussel
Stanislav Brabec schrieb:
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.
Thanks for the heads up! Given that we are six weeks from the release there is very little room for failures of the new version. We're also about to deploy software.o.o and I expect people to notice lots of missing translations there as the last call to action didn't yield much. I'm very much looking forward to a new version myself but I'm a bit nervous to spoil the release fun :-) Do we need anything urgent or could the migration be deferred to August, so after the release of 42.3?
cu Ludwig
-- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-translation+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-translation+owner@opensuse.org
Ludwig Nussel wrote:
Stanislav Brabec schrieb:
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.
Thanks for the heads up! Given that we are six weeks from the release there is very little room for failures of the new version. We're also about to deploy software.o.o and I expect people to notice lots of missing translations there as the last call to action didn't yield much. I'm very much looking forward to a new version myself but I'm a bit nervous to spoil the release fun :-) Do we need anything urgent or could the migration be deferred to August, so after the release of 42.3?
The risk of migration itself is zero. The old instance would not be altered at all. The whole migration will be performed on an offline backup instance. After completing of the migration process, new server and new database will be used. If anything will fail, it is easy to switch back. You can preview new weblate versions on https://hosted.weblate.org/ The turning the old Weblate down has the only one purpose: Perform migration on an up-to-date data set. Testing and fixing of the migration process took a long time. Skipping many versions and two years of development is far from being trivial. Longer waiting will complicate the migration even more. Even now, weblate released a newer version 2.14.1. But the migration was tuned and tested for 2.13.1, so we will do it for 2.13.1 and migrate to the latest version afterwards. Migration from 2.6 to any recent version could require different hacks, but migration from 2.13.1 to the next version should be seamless. If anything will fail, it is easily possible to switch to Weblate 2.6 (one line in the opensuse.org routing tables). We can tune up the new instance for a few days in a "Testing period", where users will be discouraged to perform big changes (comments, suggestions etc.). If any serious problem will be found, we can revert. If not, stay at the new version. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.com 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@opensuse.org To contact the owner, e-mail: opensuse-translation+owner@opensuse.org
participants (3)
-
Ferdinand Galko
-
Ludwig Nussel
-
Stanislav Brabec