[Toaster] Django error with south_migrationhistory setting up a production instance
Smith, Elliot
elliot.smith at intel.com
Mon Apr 18 02:56:23 PDT 2016
Hello Murray.
Is this a cut and paste from the error report? If so, there may be an issue
with a typo somewhere (it should read "south" rather than "sourth").
You could also try removing your MySQL db and creating it again from
scratch.
Also try removing any *.pyc files in the migrations directory, in case
Toaster is trying to load stale migrations.
Elliot
On 18 April 2016 at 09:30, Murray Thomson <murraythomson123 at gmail.com>
wrote:
> Hi,
>
> I'm trying to set up a production instance in a Virtualbox running Ubuntu
> 14.04. I've followed the instructions in the wiki.
> <https://wiki.yoctoproject.org/wiki/Setting_up_a_production_instance_of_Toaster>
>
> I have found that git is missing as a dependency (it might not be a
> dependency but it's needed later to clone poky)
> On the step 1, you need sudo permissions to create /var/www/toaster (I
> then changed the folder permissions with 'sudo chmod 777 /var/www/toaster
> -R'
> On the step 5, the command
>
> ./bitbake/lib/toaster/manage.py migrate
>
> fails with an error saying "Table 'toaster_data.sourth_migrationhistory' doesn't exist"
>
> Using DJango 1.6. I've tried different versions of Django, changing "SOUTH_TESTS_MIGRATE = True" in the settings.py file and also tried Ubuntu 16.04 but I couldn't get around it.
> I'm new to Django so I would appreciate if someone could point me in the right direction.
>
> Regards,
>
> Murray
>
>
>
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
>
--
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20160418/5f995a31/attachment.html>
More information about the toaster
mailing list