Hi All,
I encountered an error after I run bench start.
My installation is switch from production to development, I strictly followed the steps on Github to switch from production to develop.
My installation is on AWS EC2 fresh instance.
The error code is as below:
frappe@ip-172-31-23-138:~/frappe-bench$ bench start
05:42:01 system | worker_long.1 started (pid=4728)
05:42:01 system | watch.1 started (pid=4727)
05:42:01 system | redis_socketio.1 started (pid=4734)
05:42:01 system | web.1 started (pid=4729)
05:42:01 system | redis_queue.1 started (pid=4732)
05:42:01 system | schedule.1 started (pid=4730)
05:42:01 system | worker_default.1 started (pid=4735)
05:42:01 redis_queue.1 | 4749:C 16 Nov 05:42:01.270 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
05:42:01 redis_socketio.1 | 4744:C 16 Nov 05:42:01.274 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
05:42:01 redis_socketio.1 | 4744:C 16 Nov 05:42:01.276 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=4744, just started
05:42:01 redis_socketio.1 | 4744:C 16 Nov 05:42:01.276 # Configuration loaded
05:42:01 redis_socketio.1 | 4744:M 16 Nov 05:42:01.277 * Increased maximum number of open files to 10032 (it was originally set to 1024).
05:42:01 system | socketio.1 started (pid=4739)
05:42:01 system | redis_cache.1 started (pid=4731)
05:42:01 redis_cache.1 | 4750:C 16 Nov 05:42:01.282 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
05:42:01 redis_queue.1 | 4749:C 16 Nov 05:42:01.282 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=4749, just started
05:42:01 redis_queue.1 | 4749:C 16 Nov 05:42:01.282 # Configuration loaded
05:42:01 redis_queue.1 | 4749:M 16 Nov 05:42:01.283 * Increased maximum number of open files to 10032 (it was originally set to 1024).
05:42:01 redis_queue.1 | 4749:M 16 Nov 05:42:01.284 * Running mode=standalone, port=11000.
05:42:01 redis_queue.1 | 4749:M 16 Nov 05:42:01.284 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
05:42:01 redis_queue.1 | 4749:M 16 Nov 05:42:01.284 # Server initialized
05:42:01 redis_queue.1 | 4749:M 16 Nov 05:42:01.285 * Ready to accept connections
05:42:01 system | worker_short.1 started (pid=4751)
05:42:01 redis_socketio.1 | 4744:M 16 Nov 05:42:01.305 * Running mode=standalone, port=12000.
05:42:01 redis_socketio.1 | 4744:M 16 Nov 05:42:01.305 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
05:42:01 redis_socketio.1 | 4744:M 16 Nov 05:42:01.305 # Server initialized
05:42:01 redis_socketio.1 | 4744:M 16 Nov 05:42:01.306 * Ready to accept connections
05:42:01 redis_cache.1 | 4750:C 16 Nov 05:42:01.308 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=4750, just started
05:42:01 redis_cache.1 | 4750:C 16 Nov 05:42:01.308 # Configuration loaded
05:42:01 redis_cache.1 | 4750:M 16 Nov 05:42:01.309 * Increased maximum number of open files to 10032 (it was originally set to 1024).
05:42:01 redis_cache.1 | 4750:M 16 Nov 05:42:01.310 * Running mode=standalone, port=13000.
05:42:01 redis_cache.1 | 4750:M 16 Nov 05:42:01.310 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
05:42:01 redis_cache.1 | 4750:M 16 Nov 05:42:01.310 # Server initialized
05:42:01 redis_cache.1 | 4750:M 16 Nov 05:42:01.311 * Ready to accept connections
05:42:03 socketio.1 | listening on *: 9000
05:42:03 watch.1 | Usage: bench [OPTIONS] COMMAND [ARGS]…
05:42:03 watch.1 | Try “bench --help” for help.
05:42:03 watch.1 |
05:42:03 watch.1 | Error: No such command “watch”.
05:42:03 web.1 | Usage: bench [OPTIONS] COMMAND [ARGS]…
05:42:03 web.1 | Try “bench --help” for help.
05:42:03 web.1 |
05:42:03 web.1 | Error: No such command “serve”.
05:42:03 worker_short.1 | Usage: bench [OPTIONS] COMMAND [ARGS]…
05:42:03 worker_short.1 | Try “bench --help” for help.
05:42:03 worker_short.1 |
05:42:03 worker_short.1 | Error: No such command “worker”.
05:42:03 schedule.1 | Usage: bench [OPTIONS] COMMAND [ARGS]…
05:42:03 schedule.1 | Try “bench --help” for help.
05:42:03 schedule.1 |
05:42:03 schedule.1 | Error: No such command “schedule”.
05:42:03 worker_default.1 | Usage: bench [OPTIONS] COMMAND [ARGS]…
05:42:03 worker_default.1 | Try “bench --help” for help.
05:42:03 worker_default.1 |
05:42:03 worker_default.1 | Error: No such command “worker”.
05:42:03 worker_long.1 | Usage: bench [OPTIONS] COMMAND [ARGS]…
05:42:03 worker_long.1 | Try “bench --help” for help.
05:42:03 worker_long.1 |
05:42:03 worker_long.1 | Error: No such command “worker”.
05:42:03 system | watch.1 stopped (rc=2)
05:42:03 system | sending SIGTERM to redis_socketio.1 (pid 4734)
05:42:03 system | sending SIGTERM to worker_long.1 (pid 4728)
05:42:03 system | sending SIGTERM to redis_queue.1 (pid 4732)
05:42:03 system | sending SIGTERM to web.1 (pid 4729)
05:42:03 system | sending SIGTERM to schedule.1 (pid 4730)
05:42:03 system | sending SIGTERM to worker_default.1 (pid 4735)
05:42:03 system | sending SIGTERM to socketio.1 (pid 4739)
05:42:03 system | sending SIGTERM to redis_cache.1 (pid 4731)
05:42:03 system | sending SIGTERM to worker_short.1 (pid 4751)
05:42:03 redis_socketio.1 | 4744:signal-handler (1542346923) Received SIGTERM scheduling shutdown…
05:42:03 redis_queue.1 | 4749:signal-handler (1542346923) Received SIGTERM scheduling shutdown…
05:42:03 redis_cache.1 | 4750:signal-handler (1542346923) Received SIGTERM scheduling shutdown…
05:42:03 system | socketio.1 stopped (rc=-15)
05:42:03 system | worker_short.1 stopped (rc=-15)
05:42:03 system | worker_default.1 stopped (rc=-15)
05:42:03 system | web.1 stopped (rc=-15)
05:42:03 system | worker_long.1 stopped (rc=-15)
05:42:03 system | schedule.1 stopped (rc=-15)
05:42:03 redis_queue.1 | 4749:M 16 Nov 05:42:03.590 # User requested shutdown…
05:42:03 redis_queue.1 | 4749:M 16 Nov 05:42:03.590 * Removing the pid file.
05:42:03 redis_queue.1 | 4749:M 16 Nov 05:42:03.590 # Redis is now ready to exit, bye bye…
05:42:03 system | redis_queue.1 stopped (rc=-15)
05:42:03 redis_socketio.1 | 4744:M 16 Nov 05:42:03.611 # User requested shutdown…
05:42:03 redis_socketio.1 | 4744:M 16 Nov 05:42:03.611 * Removing the pid file.
05:42:03 redis_socketio.1 | 4744:M 16 Nov 05:42:03.611 # Redis is now ready to exit, bye bye…
05:42:03 system | redis_socketio.1 stopped (rc=-15)
05:42:03 redis_cache.1 | 4750:M 16 Nov 05:42:03.616 # User requested shutdown…
05:42:03 redis_cache.1 | 4750:M 16 Nov 05:42:03.616 * Removing the pid file.
05:42:03 redis_cache.1 | 4750:M 16 Nov 05:42:03.617 # Redis is now ready to exit, bye bye…
05:42:03 system | redis_cache.1 stopped (rc=-15)
Hopefully the masters can give me some advice as I want to build some application on frappe.
Cheers!
John