How to fix: Sorry! We will be back soon. Don't panic

I installed ERPNEXT but shows


				We will be back soon.
				Don't panic. It's not you, it's us.

				Most likely, our engineers are updating the code,
				and it should take a minute for the new code to load into memory.

				Try refreshing after a minute or two.

when I did netstat
tcp 0 0 localhost:8000 localhost:51406 TIME_WAIT
tcp 0 0 localhost:8000 localhost:51410 TIME_WAIT
tcp 0 0 localhost:8000 localhost:51408 TIME_WAIT
tcp 0 0 localhost:8000 localhost:51404 TIME_WAIT

When I did
sudo supervisorctl status
frappe-bench-redis:frappe-bench-redis-cache RUNNING pid 5423, uptime 0:03:21
frappe-bench-redis:frappe-bench-redis-queue RUNNING pid 5422, uptime 0:03:21
frappe-bench-redis:frappe-bench-redis-socketio RUNNING pid 5424, uptime 0:03:21
frappe-bench-web:frappe-bench-frappe-web RUNNING pid 5566, uptime 0:03:15
frappe-bench-web:frappe-bench-node-socketio RUNNING pid 5567, uptime 0:03:15
frappe-bench-workers:frappe-bench-frappe-default-worker-0 RUNNING pid 5542, uptime 0:03:16
frappe-bench-workers:frappe-bench-frappe-long-worker-0 RUNNING pid 5543, uptime 0:03:16
frappe-bench-workers:frappe-bench-frappe-schedule RUNNING pid 5541, uptime 0:03:16
frappe-bench-workers:frappe-bench-frappe-short-worker-0 RUNNING pid 5544, uptime 0:03:16

Could you guide why I get this Sorry page?

Most probably a patch in your bench update failed. Try bench update again and share the trace

Hi. Thanks for the reply.

When I run the bench update as root it says You should not run this command as root

Then I changed to user frappe. see below.

frappe@vps325469:/root$ bench --version
frappe@vps325469:/root$ bench update
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/.bench/bench/”, line 40, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/bench/commands/”, line 30, in update‘.’)
File “/home/frappe/.bench/bench/patches/”, line 27, in run
with open(target_patch_file, ‘w’) as f:
IOError: [Errno 13] Permission denied: ‘/root/patches.txt’

i am basically dealing with the same issue here, look what i get on my typing those commands:

read this last part