I attempted to deploy a Django project using aaPanel, and my project directory is located at home/companyprofile/djangoProject. I didn’t place the project inside the www directory because there is already an existing domain under www/wwwroot, for example companyName.co.id.
However, after clicking Confirm, the project was immediately marked as suspended. aaPanel automatically created a virtual environment (env directory), but the bin folder did not contain Gunicorn or any of the required libraries. When I checked the gunicorn_error.log, I repeatedly encountered the following error:
nohup: failed to run command '/home/companyprofile/djangoProject/d4a6e6d2a58b9675272b7ad31628cd6f_venv/bin/gunicorn': No such file or directory
I have tried several approaches: initially I used Python 3.10.0, which didn’t work, and then switched to 3.8.5, but the issue still persists.
What exactly is causing this problem, and how can I fix it? Any help would be greatly appreciated.
image:
