service nginx status
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en
Active: active (running) since Thu 2020-02-13 01:30:07 EST; 12h ago
Docs: man:nginx(8)
Process: 1356 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code
Process: 969 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process o
Main PID: 1357 (nginx)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/nginx.service
├─1357 nginx: master process /usr/sbin/nginx -g daemon on; master_pro
├─1358 nginx: worker process
├─1359 nginx: worker process
├─1360 nginx: worker process
├─1361 nginx: worker process
├─1362 nginx: worker process
├─1363 nginx: worker process
├─1364 nginx: worker process
├─1365 nginx: worker process
└─1366 nginx: cache manager process
Warning: Journal has been rotated since unit was started. Log output is incomple
sudo supervisorctl status
frappe-bench-redis:frappe-bench-redis-cache RUNNING pid 1491, uptime 12:30:19
frappe-bench-redis:frappe-bench-redis-queue RUNNING pid 1490, uptime 12:30:19
frappe-bench-redis:frappe-bench-redis-socketio RUNNING pid 1492, uptime 12:30:19
frappe-bench-web:frappe-bench-frappe-web FATAL Exited too quickly (process log may have details)
frappe-bench-web:frappe-bench-node-socketio RUNNING pid 26325, uptime 0:15:25
frappe-bench-workers:frappe-bench-frappe-default-worker-0 RUNNING pid 26297, uptime 0:15:26
frappe-bench-workers:frappe-bench-frappe-long-worker-0 RUNNING pid 26298, uptime 0:15:26
frappe-bench-workers:frappe-bench-frappe-schedule RUNNING pid 26296, uptime 0:15:26
frappe-bench-workers:frappe-bench-frappe-short-worker-0 RUNNING pid 26299, uptime 0:15:26
And
Traceback (most recent call last):
File "/home/erpnext/frappe-bench/env/bin/gunicorn", line 8, in <module>
sys.exit(run())
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 58, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/base.py", line 228, in run
super().run()
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/arbiter.py", line 58, in __init__
self.setup(app)
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/arbiter.py", line 118, in setup
self.app.wsgi()
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
return self.load_wsgiapp()
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
return util.import_app(self.app_uri)
File "/home/erpnext/frappe-bench/env/lib/python3.6/site-packages/gunicorn/util.py", line 358, in import_app
mod = importlib.import_module(module)
File "/home/erpnext/frappe-bench/env/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/erpnext/frappe-bench/apps/frappe/frappe/app.py", line 13, in <module>
from werkzeug.contrib.profiler import ProfilerMiddleware
ModuleNotFoundError: No module named 'werkzeug.contrib'
I tried this and got :
Requirement already satisfied: werkzeug==0.16.0 in ./env/lib/python3.6/site-packages (0.16.0)