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

server_1 | *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** #37

Open
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 -f
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:57:45,589 CRIT Supervisor running as root (no user in config file)
server_1   | 2018-08-02 09:57:45,591 INFO supervisord started with pid 1
server_1   | 2018-08-02 09:57:46,594 INFO spawned: 'nginx' with pid 17
server_1   | 2018-08-02 09:57:46,596 INFO spawned: 'bot' with pid 18
server_1   | 2018-08-02 09:57:46,598 INFO spawned: 'uwsgi' with pid 19
server_1   | [uWSGI] getting INI configuration from /server/uwsgi.ini
server_1   | *** Starting uWSGI 2.0.17 (64bit) on [Thu Aug  2 09:57:46 2018] ***
server_1   | compiled with version: 6.3.0 20170516 on 02 August 2018 09:20:20
server_1   | os: Linux-4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018
server_1   | nodename: 0b1015813835
server_1   | machine: x86_64
server_1   | clock source: unix
server_1   | detected number of CPU cores: 8
server_1   | current working directory: /
server_1   | detected binary path: /usr/local/bin/uwsgi
server_1   | !!! no internal routing support, rebuild with pcre support !!!
server_1   | uWSGI running as root, you can use --uid/--gid/--chroot options
server_1   | *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
...
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