[Systems] Migrating Pootle from Justice to Bender

James Cameron quozl at laptop.org
Mon May 22 16:07:11 EDT 2023


It is important to have it working with Ubuntu 22.04, for the best duration of security updates.  Have you taken the issues to the upstream project?  I see there are several pootle on GitHub, including Docker support, but I've not gone through the process of identifying which is the upstream.

It may be simpler to use the latest pootle and figure out how to import our existing translations.

On Mon, May 22, 2023 at 12:29:56PM +0100, Chihurumnaya Ibiam wrote:
> I've been running tests with ubuntu 18 as pootle is based on Python 2 and I'm
> not sure there's support
> for Python 2 there, ran into too many issues when I tried with ubuntu 22 too.
> 
> I'll test with ubuntu 18 and 20 and let you know which is viable.
> 
> --
> 
> Ibiam Chihurumnaya
> [1]ibiam at sugarlabs.org
> 
> On Sun, May 21, 2023 at 7:55 PM Bernie Innocenti <[2]bernie at codewiz.org> wrote:
> 
>     Hey Ibiam,
> 
>     Thank you for offering to migrate Pootle and for scoping the work to be
>     done. If Alex or James could setup the new VM on bender and give you
>     root access, I'll do the necessary DNS adjustments.
> 
>     Would a fresh Ubuntu 22.04 LTS install with a single partition of 50GB
>     be suitable?
> 
>     Thanks,
>     Bernie.
> 
>     On 2023/05/21 06:01, Chihurumnaya Ibiam wrote:
>     > On Sun, May 21, 2023 at 9:08 AM James Cameron <[3]quozl at laptop.org
>     > <mailto:[4]quozl at laptop.org>> wrote:
>     >
>     >     G'day Ibiam,
>     >
>     >     I'll reply in context below.  I don't have access to Bender, so
>     >     can't comment on the plan completely, but I'll mention what I can.
>     >
>     >     On Sat, May 20, 2023 at 04:11:33PM +0100, Chihurumnaya Ibiam wrote:
>     >      > Hi Everyone,
>     >      >
>     >      > We need to migrate Pootle to Bender as we have little control
>     >     over the
>     >      > translate server at the moment and migrating will give us more
>     >     control.
>     >      >
>     >      > I've come up with what needs to be done for the migration to take
>     >     place and I'd
>     >      > like comments and suggestions. Regards.
>     >      >
>     >      > --
>     >      >
>     >      > Ibiam Chihurumnaya
>     >      > [1][5]ibiam at sugarlabs.org <mailto:[6]ibiam at sugarlabs.org>
>     >      >
>     >      > References:
>     >      >
>     >      > [1] mailto:[7]ibiam at sugarlabs.org <mailto:[8]ibiam at sugarlabs.org>
>     >
>     >      > POOTLE MIGRATION PLAN
>     >      > =====================
>     >      >
>     >      > This document describes the plans to migrate pootle translation
>     >     server from justice to bender.
>     >      >
>     >      > Backups
>     >      > =======
>     >      >
>     >      > Database backup; Backup the pootle database.
>     >      > They're older backups in /root/ but I doubt we'll need them.
>     >      >
>     >      > User directories:
>     >      > Backup current active user directories which include;
>     >      > /home/quozl/, /home/ibiamchihurumnaya/, /home/bernie/, /home/
>     aperez/,
>     >
>     >     No need to backup user directories, let the users transfer what they
>     >     need.
>     >
>     >
>     > Agreed, took a second look and there's nothing in any of the directories.
>     >
>     >      >
>     >      >
>     >      > Pootle and it's configurations;
>     >      >
>     >      > /srv/www-sugarlabs/pootle as /var/lib/pootle/ is a link to it.
>     >      > /etc/apache2/newpootle.sugaralabs.org.conf
>     >
>     >     Good opportunity to fix that typo.  Sugaralabs.
>     >
>     >
>     > Thanks for pointing that out, it was a typo on my end.
>     >
>     >      >
>     >      >
>     >      > Other directories: Backup
>     >      > /etc/network/interfaces - would edit to fit the ip address range
>     >     of bender.
>     >      > /etc/postfix/ - mail delivery config
>     >      > /etc/ssl/ - not sure if we should back this up as we can create
>     >     new certificates
>     >      > /etc/letsencrypt/
>     >
>     >     None of these should be migrated as is.  Instead, whatever function
>     >     is being performed should be reimplemented on the later operating
>     >     system release on Bender.
>     >
>     >
>     > Makes sense.
>     >
>     >
>     >      >
>     >      > Migration Date
>     >      > ==============
>     >      > TBD
>     >      >
>     >      >
>     >      > Post Update
>     >      > ===========
>     >      > Update Service/translate on the wiki to reflect new changes.
>     >
>     >     You may find the previous migration plan there useful.
>     >
>     >     Also, you may find it very helpful to copy the virtual machine to
>     >     your own lab, bring it up in isolation, and bring up a replacement
>     >     using the same operating system release as Bender.  That will give
>     >     you a list of steps that you have tested.  It won't need to support
>     >     mail, but that's a minor component.
>     >
>     >
>     > Agreed, I've been doing some tests by bringing it up locally and noting
>     > the steps and now I'd include adding ssl and letsencrypt.
>     >
>     >
>     > I forgot to mention the size of the volume, it'll be 40GB as pootle is
>     > currently 30GB so giving it extra 10GB.
>     >
>     >
>     >     Hope that helps!
>     >
>     >      > _______________________________________________
>     >      > Systems mailing list
>     >      > [9]Systems at lists.sugarlabs.org <mailto:[10]
>     Systems at lists.sugarlabs.org>
>     >      > [11]http://lists.sugarlabs.org/listinfo/systems
>     >     <[12]http://lists.sugarlabs.org/listinfo/systems>
>     >
>     >
>     > --
>     >
>     > Ibiam Chihurumnaya
>     > [13]ibiam at sugarlabs.org <mailto:[14]ibiam at sugarlabs.org>
>     >
>     > _______________________________________________
>     > Systems mailing list
>     > [15]Systems at lists.sugarlabs.org
>     > [16]http://lists.sugarlabs.org/listinfo/systems
> 
>     --
>     _ // Bernie Innocenti
>     \X/  [17]https://codewiz.org/
> 
> References:
> 
> [1] mailto:ibiam at sugarlabs.org
> [2] mailto:bernie at codewiz.org
> [3] mailto:quozl at laptop.org
> [4] mailto:quozl at laptop.org
> [5] mailto:ibiam at sugarlabs.org
> [6] mailto:ibiam at sugarlabs.org
> [7] mailto:ibiam at sugarlabs.org
> [8] mailto:ibiam at sugarlabs.org
> [9] mailto:Systems at lists.sugarlabs.org
> [10] mailto:Systems at lists.sugarlabs.org
> [11] http://lists.sugarlabs.org/listinfo/systems
> [12] http://lists.sugarlabs.org/listinfo/systems
> [13] mailto:ibiam at sugarlabs.org
> [14] mailto:ibiam at sugarlabs.org
> [15] mailto:Systems at lists.sugarlabs.org
> [16] http://lists.sugarlabs.org/listinfo/systems
> [17] https://codewiz.org/


More information about the Systems mailing list