In a production server the web paged reported Sorry! We will back soon.
So I did this:
frappe@ubuntu:~/frappe-bench$ sudo supervisorctl restart all
frappe-bench-workers:frappe-bench-frappe-schedule: started
frappe-bench-workers:frappe-bench-frappe-default-worker-0: started
frappe-bench-workers:frappe-bench-frappe-long-worker-0: started
frappe-bench-workers:frappe-bench-frappe-short-worker-0: started
frappe-bench-web:frappe-bench-frappe-web: started
frappe-bench-web:frappe-bench-node-socketio: started
frappe-bench-redis:frappe-bench-redis-queue: ERROR (spawn error)
frappe-bench-redis:frappe-bench-redis-cache: ERROR (spawn error)
frappe-bench-redis:frappe-bench-redis-socketio: ERROR (spawn error)
This logs/node-socketio.error.log reported an ‘orphan’ process tying up the port 9000:
Error: listen EADDRINUSE :::9000
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1277:14)
at listen (net.js:1313:10)
at Server.listen (net.js:1409:5)
This Bench stop and server error - #5 by Manasvi_Patel
advised how to kill this ‘orphan’ process like so:
frappe@ubuntu:~/frappe-bench$ lsof -i :9000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 5233 frappe 10u IPv6 83596 0t0 TCP *:9000 (LISTEN)
frappe@ubuntu:~/frappe-bench$ kill 5233
This command then ran ok so the login page appeared!
sudo supervisorctl restart all
hope this helps