<div dir="ltr">Beyond the original specific question - upgrades like this should be tested using a Vagrant box, preferably also using an automatic provisioning tool like Puppet (my personal preference) or Chef (obligatory mention) and automatic testing using things like Cucumber, Spec, ServerSpec or perhaps other testing frameworks.<div>
<br></div><div>That way you can write the tests to verify your current setup and repeat the verification after the update.</div><div><br></div><div>Also - once you have automatic provisioning and testing in place, you should consider treating the servers as immutable, i.e. once they are setup they are not upgraded in-place but rebuilt whenever such a large change is required. This way you are sure that what you run is exactly what you tested in your Vagrant environment and what will be re-installed in case of a disaster.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 May 2014 23:27, Efraim Flashner <span dir="ltr"><<a href="mailto:efraim.flashner@gmail.com" target="_blank">efraim.flashner@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't believe it is possible for a user to create a partition. Of<br>
course that is more of a brain-fart on my part, because it's not so<br>
useful to your situation. Gparted should be able to resize unmounted<br>
ext3/4 partitions, and from there you can create a new partition, copy<br>
your /home directory there and edit /etc/fstab to point to the new<br>
partition.<br>
<br>
I found these release notes: <a href="https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes" target="_blank">https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes</a>, but it looks rather short, and doesn't mention django. Fortunately django has its own release notes here: <a href="https://docs.djangoproject.com/en/1.6/releases/" target="_blank">https://docs.djangoproject.com/en/1.6/releases/</a> which should help with the upgrade.<br>
<br>
Sorry I couldn't be more helpful, I've never used django.<br>
<br>
-Efraim<br>
<br>
<br>
On Thu, 15 May 2014 16:00:00 +0300<br>
Uri Even-Chen <<a href="mailto:uri@speedy.net">uri@speedy.net</a>> wrote:<br>
<br>
> Thank you, it's a good idea. At work my home directory is not in a<br>
> separate partition so it's not kept if I reinstall Ubuntu. Do you<br>
> know how I can create a partition and move it to a separate partition?<br>
><br>
> Uri Even-Chen<br>
> Mobile Phone: <a href="tel:%2B972-50-9007559" value="+972509007559">+972-50-9007559</a><br>
> E-mail: <a href="mailto:uri@speedy.net">uri@speedy.net</a><br>
> Speedy Net: <a href="http://www.speedy.net/" target="_blank">http://www.speedy.net/</a><br>
> Speedy Composer: <a href="http://www.speedycomposer.com/" target="_blank">http://www.speedycomposer.com/</a><br>
<div class="HOEnZb"><div class="h5">><br>
><br>
><br>
> On Thu, May 15, 2014 at 3:46 PM, Ori Idan <<a href="mailto:ori@helicontech.co.il">ori@helicontech.co.il</a>><br>
> wrote:<br>
><br>
> ><br>
> > On Thu, May 15, 2014 at 3:20 PM, Uri Even-Chen <<a href="mailto:uri@speedy.net">uri@speedy.net</a>><br>
> > wrote:<br>
> ><br>
> >> Hi people,<br>
> >><br>
> >> I work at my job with Ubuntu 12.04 and we run Django 1.4.12<br>
> >> locally with Python 2.7.3 and PostgreSQL. We want to upgrade<br>
> >> Django from 1.4 to 1.6 and I also thought it would be a good idea<br>
> >> to upgrade Python to 2.7.6 and maybe even 3, so I tried to upgrade<br>
> >> Ubuntu to 14.04. But after I completed the upgrade, Django didn't<br>
> >> work and I couldn't even run migrations (with South). I had to<br>
> >> reinstall Ubuntu 12.04 and I lost all the files I had in my home<br>
> >> directory (because I chose not to keep Ubuntu 14.04) except some<br>
> >> files that I backed up. My questions are:<br>
> >><br>
> >> 1. What do we need to do in order for Django to work with Ubuntu<br>
> >> 14.04? 2. Why isn't it possible to reinstall Ubuntu 12.04 after<br>
> >> upgrading to 14.04 and still keep all the files in my home<br>
> >> directory, while not keeping all the other files (the operating<br>
> >> system files)?<br>
> >><br>
> > Why do you think it is not possible? I do it all the time.<br>
> > I keep my home directory in a separate partition so when I upgrade<br>
> > (or downgrade) the OS the home directory stays the same.<br>
> ><br>
> > --<br>
> > Ori Idan<br>
> ><br>
> ><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Efraim Flashner<br>
<a href="mailto:efraim.flashner@gmail.com">efraim.flashner@gmail.com</a> 4096R/CA3D8351 created: 2013-10-08<br>
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351<br>
</font></span><br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
<a href="http://www.linkedin.com/in/gliderflyer" target="_blank">
<span>
<img src="http://s4.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png" alt="View my profile on LinkedIn" height="25" width="160">
</span></a></div>
</div>