Hi Ned sorry for posting the question here.
This is what i follow:
1) make sure to set
the migrate_db variable to false (you will want to perform the
migrations manually rather than have ansible do it at deploy time):
- checkout the tag "release-2015-11-09" on the first one (this is the last release before django 1.8 upgrade)
- checkout the tag "dogwood-first-18" on the second new server (this is the first django 1.8 release)
- checkout "named-release/dogwood" on the third new server (this is the final dogwood release)
2) Once all three servers are ready, backup your mysql/mongo databases.
3) SSH into the first new server (the one hosting "release-2015-11-09" code), and migrate edx-platform and xqueue databases:
sudo -Hu edxapp bash
cd
source edxapp_env
cd edx-platform
./manage.py lms syncdb --migrate --settings aws && ./manage.py cms syncdb --migrate --settings aws
exit
sudo -Hu xqueue bash
cd
source venvs/xqueue/bin/activate
cd xqueue
SERVICE_VARIANT=xqueue /edx/app/xqueue/venvs/xqueue/bin/django-admin.py syncdb --migrate --settings=xqueue.aws_settings --pythonpath=/edx/app/xqueue/xqueue
4) SSH into the second new server (the one hosting "dogwood-first-18" code), and migrate edx-platform and xqueue databases, using --fake-initial flag:
sudo -Hu edxapp bash
cd
source edxapp_env
cd edx-platform
./manage.py lms migrate --settings=aws --fake-initial --noinput && ./manage.py cms migrate --settings=aws --fake-initial --noinput
But on the 4th step i ecnounter this error:
2016-03-07 15:29:04,710 WARNING 6055 [py.warnings] util.py:8 - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/south/db/generic.py:9: RemovedInDjango19Warning: The django.db.backends.util module has been renamed. Use django.db.backends.utils instead.