Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Supervisord is running as root and it is searching... #35

Open
gmacario opened this issue Aug 2, 2018 · 0 comments
Open

Warning: Supervisord is running as root and it is searching... #35

gmacario opened this issue Aug 2, 2018 · 0 comments

Comments

@gmacario
Copy link
Member

gmacario commented Aug 2, 2018

Inspecting logs after deploying to hackafake@staging.hackafake.com:

root@cs-176-221-51-111:/var/tmp/hackafake-backend-master (master)*$ docker-compose logs
Attaching to hackafake-backend-master_server_1, hackafake-backend-master_mongodb_1
server_1   | usage: manage.py [-?] {shell,runserver} ...
server_1   | manage.py: error: invalid choice: 'deploy' (choose from 'shell', 'runserver')
server_1   | /usr/lib/python2.7/dist-packages/supervisor/options.py:298: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
server_1   |   'Supervisord is running as root and it is searching '
server_1   | 2018-08-02 09:20:39,762 CRIT Supervisor running as root (no user in config file)
server_1   | 2018-08-02 09:20:39,764 INFO supervisord started with pid 1
server_1   | 2018-08-02 09:20:40,768 INFO spawned: 'nginx' with pid 16
server_1   | 2018-08-02 09:20:40,772 INFO spawned: 'bot' with pid 17
server_1   | 2018-08-02 09:20:40,775 INFO spawned: 'uwsgi' with pid 18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant