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