Upgrading hawthorn to Juniper

Hi,

I execute a Upgrading hawthorn to Juniper, but rece error on update from Hawthorn.2 to Hawthorn.master.

ASK [edx_django_service : migrate database] ***********************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“make”, “migrate”], “delta”: “0:00:01.287420”, “end”: “2020-11-17 17:59:41.068373”, “failed”: true, “rc”: 2, “start”: “2020-11-17 17:59:39.780953”, “stderr”: “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.\n from cryptography import x509\nTraceback (most recent call last):\n File “manage.py”, line 10, in \n execute_from_command_line(sys.argv)\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/init.py”, line 364, in execute_from_command_line\n utility.execute()\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/init.py”, line 338, in execute\n django.setup()\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/init.py”, line 27, in setup\n apps.populate(settings.INSTALLED_APPS)\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/registry.py”, line 108, in populate\n app_config.import_models()\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/config.py”, line 202, in import_models\n self.models_module = import_module(models_module_name)\n File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module\n import(name)\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/models.py”, line 1, in \n from compressor.conf import CompressorConf # noqa\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/conf.py”, line 7, in \n from appconf import AppConf\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/init.py”, line 1, in \n from .base import AppConf # noqa\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/base.py”, line 107\n class AppConf(metaclass=AppConfMetaClass):\n ^\nSyntaxError: invalid syntax\nmake: *** [migrate] Error 1”, “stderr_lines”: ["/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.", " from cryptography import x509", “Traceback (most recent call last):”, " File “manage.py”, line 10, in “, " execute_from_command_line(sys.argv)”, " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/init.py”, line 364, in execute_from_command_line", " utility.execute()", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/init.py”, line 338, in execute", " django.setup()", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/init.py”, line 27, in setup", " apps.populate(settings.INSTALLED_APPS)", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/registry.py”, line 108, in populate", " app_config.import_models()", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/config.py”, line 202,in import_models", " self.models_module = import_module(models_module_name)", " File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module", " import(name)", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/models.py”, line 1,in “, " from compressor.conf import CompressorConf # noqa”, " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/conf.py”, line 7, in “, " from appconf import AppConf”, " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/init.py”, line 1, in “, " from .base import AppConf # noqa”, " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/base.py”, line 107", " class AppConf(metaclass=AppConfMetaClass):", " ^", “SyntaxError: invalid syntax”, “make: *** [migrate] Error 1”], “stdout”: “python manage.py migrate --noinput\nMakefile:47: recipe for target ‘migrate’ failed”, “stdout_lines”: [“python manage.py migrate --noinput”, “Makefile:47: recipe for target ‘migrate’ failed”]}

Firstly, make a fresh installation of the Juniper release on a new machine, and move your data and settings to it. Stop all services on the hawthorn machine.
Migrate database of mysql and mongo… step by step…
hawthorn to Ironwood then juniper… run migration after Db restore…