• Discussion
  • python manger: Project startup failed, please check the project log

Hi

i did install Django project using this guide:
https://www.aapanel.com/forum/d/281-how-to-deploy-your-python-project-using-python-manager-django
uploaded my project files create DB. create superuser...

Now when i start the project from python manger i get this error

Project startup failed, please check the project log

and when i check logs, log is Empty
Other things:

  1. i did install only python 3.10 in python manager but i see python3.8 in Django error log.

  2. i had to install virtualenv and recreate same env because python manger don't create bin/active files. ( there are missing i did try that on 4 or 5 ubuntu servers )

to test thing out, I did install git clone https://github.com/liangliangyy/DjangoBlog.git and linked to my domain and that worked 100%

How can i find the error, or make the /log/error.log catch errors.

    ali_
    Hello, the method in the tutorial is outdated.
    This is that the installation method has been changed, and the source method is no longer used. Did you choose python3.8 when adding the project?
    Generate data directly:
    /www/wwwroot/wezo/DjangoBlog/126ac9f6149081eb0e97c2e939eaad52_venv/bin/python3 manage.py migrate
    /www/wwwroot/wezo/DjangoBlog/126ac9f6149081eb0e97c2e939eaad52_venv/bin/python3 manage.py makemigrations

    Generate superuser:
    /www/wwwroot/DjangoBlog/d69daf27a976191694137ec21fa87ff9_venv/bin/python3 manage.py createsuperuser

    Generate test data:
    /www/wwwroot/DjangoBlog/d69daf27a976191694137ec21fa87ff9_venv/bin/python3 manage.py create_testdata

    Then restart the project.
    You can refer to the Chinese tutorial:
    https://www.bt.cn/bbs/thread-90005-1-1.html

    2 years later