This is the first time that i try to install open edx locally
with
LMS : 127.0.0.1:80
CMS : 127.0.0.1:8080
open-release : hawthorn.master
Method : Native installation
can someone help me !!
this is the error
TASK [edx_django_service : migrate database] ***********************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["make", "migrate"], "delta": "0:00:01.474205", "end": "2021-02-22 10:19:39.010966", "failed": true, "rc": 2, "start": "2021-02-22 10:19:37.536761", "stderr": "/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: 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 the next release.\n from cryptography import utils, x509\nTraceback (most recent call last):\n File \"manage.py\", line 10, in <module>\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 <module>\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 <module>\n from appconf import AppConf\n File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/__init__.py\", line 1, in <module>\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] Erreur 1", "stderr_lines": ["/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: 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 the next release.", " from cryptography import utils, x509", "Traceback (most recent call last):", " File \"manage.py\", line 10, in <module>", " 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 <module>", " from compressor.conf import CompressorConf # noqa", " File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/conf.py\", line 7, in <module>", " from appconf import AppConf", " File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/__init__.py\", line 1, in <module>", " 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] Erreur 1"], "stdout": "python manage.py migrate --noinput\nMakefile:47 : la recette pour la cible « migrate » a échouée", "stdout_lines": ["python manage.py migrate --noinput", "Makefile:47 : la recette pour la cible « migrate » a échouée"]}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry
PLAY RECAP *********************************************************************
localhost : ok=285 changed=184 unreachable=0 failed=1
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] ------------------------------------------------------------------- 1092.55s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: checkout edx-platform repo into /edx/app/edxapp/edx-platform [0] -------------- 702.45s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ----------------------------------------------- 573.28s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements ----------------------------------------------- 395.76s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: create service worker users [1] ----------------------------------------------- 391.64s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: gather static assets with paver [1] ------------------------------------------- 266.53s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: code sandbox | Install base sandbox requirements and create sandbox virtualenv [0] 156.44s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Install system packages -------------------------------------------------------- 84.79s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Create Diffie-Hellman parameters to prevent weak key exchange ------------------ 68.53s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [0] -------------------------------------------------- 51.34s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing:
Playbook Configure instance(s) finished: 2021-02-22 09:19:39.151979, 604 total tasks. 1:15:26.732009 elapsed.
========================================
Ansible failed!
----------------------------------------
If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
Your log file is at logs/install-20210222-090153.log
Your environment:
VTE_VERSION=4205
OPENEDX_RELEASE=open-release/hawthorn.master
========================================
Installation finished at 2021-02-22 10:19:41