Skip to content

Errors & unsuccessful install following Installation tutorial with Debian, NGinx and gunicorn #257

@oijn

Description

@oijn

bepasty team,

Thanks for your support. I have been trying to get bepasty installed and setup on a Debian 10.7 server - and to that end have tried to follow the Installation tutorial with Debian, NGinx and gunicorn from https://bepasty-server.readthedocs.io/en/latest/install-tutorial.html.

Seems simple enough - though I think that maybe the tutorial may been to be updated for the latest Debian 10?

When installing I encountered many errors regarding Python 2.7 and Python 3.5 - and pip install was not successful.

So I installed:
python3-dev python3-pip virtualenv python3-virtualenv
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
update-alternatives --config python

This then allowed pip3 install to succeed.

However, when I try
service nginx reload
service supervisor reload

I get the following errors:
2020-12-13 18:09:44,693 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2020-12-13 18:09:44,695 INFO Included extra file "/etc/supervisor/conf.d/bepasty.conf" during parsing
2020-12-13 18:09:44,696 INFO RPC interface 'supervisor' initialized
2020-12-13 18:09:44,698 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-12-13 18:09:44,698 INFO supervisord started with pid 390
2020-12-13 18:09:45,700 INFO spawned: 'bepasty' with pid 1144
2020-12-13 18:09:46,058 INFO exited: bepasty (exit status 1; not expected)
...
2020-12-13 18:09:49,577 INFO exited: bepasty (exit status 3; not expected)
2020-12-13 18:09:52,581 INFO spawned: 'bepasty' with pid 1167
2020-12-13 18:09:52,959 INFO exited: bepasty (exit status 1; not expected)
2020-12-13 18:09:53,960 INFO gave up: bepasty entered FATAL state, too many start retries too quickly

Does anyone have any suggestions please.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions