Я пытаюсь развернуть проект django на EC2, но появляется ошибка:Failed at step USER spawning

Я пытаюсь развернуть проект django на EC2, но появляется ошибка Я не знаю, что не так, я делаю все правильно

[Unit]
Description=gunicorn daemon
After=network.target
[Service]
User=ubuntu
Group=www-data
WorkingDirectory=/home/ubuntu/project_wishlist
ExecStart=/home/ubuntu/project_wishlist/venv/bin/gunicorn --workers 3 --bind unix:/home/ubuntu/project_wishlist/wishlist.sock wishlist.wsgi:application
[Install]
WantedBy=multi-user.target










● gunicorn.service - gunicorn daemon
   Loaded: loaded (/etc/systemd/system/gunicorn.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2022-06-26 22:51:26 UTC; 17min ago
 Main PID: 3739 (code=exited, status=217/USER)

Jun 26 22:51:26 ip-172-31-83-229.ec2.internal systemd[1]: Started gunicorn daemon.
Jun 26 22:51:26 ip-172-31-83-229.ec2.internal systemd[3739]: Failed at step USER spawning /home/ubuntu/project_wishlist/venv/bin/gunicorn: No such process
Jun 26 22:51:26 ip-172-31-83-229.ec2.internal systemd[1]: gunicorn.service: main process exited, code=exited, status=217/USER
Jun 26 22:51:26 ip-172-31-83-229.ec2.internal systemd[1]: Unit gunicorn.service entered failed state.
Jun 26 22:51:26 ip-172-31-83-229.ec2.internal systemd[1]: gunicorn.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Failed at step USER spawning /home/ubuntu/project_wishlist/venv/bin/gunicorn: No such process

Вернуться на верх