Cannot migrate the database for Moztrap installation

68 views
Skip to first unread message

AltaAna0 .

unread,
Oct 24, 2013, 7:59:40 AM10/24/13
to moz...@googlegroups.com
Hello,
I am trying to install Moztrap on Ubuntu, but when running ./manage.py syncdb --migrate I get the following error:

Create the database tables for all apps in INSTALLED_APPS whose
    tables haven't already been created.
manage.py: error: no such option: --migrate

Python version: 2.7.3
Django version: 1.5.4
I don't understand why this isn't working. I don't know Python, I just wanted to install Moztrap and see how it works. Thanks!



Cameron Dawson

unread,
Oct 24, 2013, 1:38:14 PM10/24/13
to moz...@googlegroups.com
MozTrap doesn't actually support Django 1.5 yet.  We are still on 1.4.  This may well be the issue.

Your best bet to install is to create a virtualenv and run bin/install-reqs which will get all the right versions of the python packages.

https://moztrap.readthedocs.org/en/latest/installation.html#quickstart

We will be updating MozTrap to work with Django 1.5 at some point, but I can't say exactly when.  I'm working on a few projects at once.  So your best bet is to use the existing packages from requirements.txt.

I hope this helps.  And thanks for using MozTrap!  :)
-Cam

AltaAna0 .

unread,
Oct 25, 2013, 4:29:39 AM10/25/13
to moz...@googlegroups.com
Thanks!


--
You received this message because you are subscribed to a topic in the Google Groups "MozTrap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/moztrap/MKW3Wuo9F4g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to moztrap+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages