Skip to content

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

@gmacario

Description

@gmacario

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) ***
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions