[Oct 2018] Sorry! We will be back soon error

Hey guys,
This is an urgent matter so it would be very much appreciated if someone could help.

After install R1Soft for back-up service and restarting the VPS, it seems ERPNext went into Sorry! We will be back soon … that page :slight_smile:

I tried setting the maintenance-mode to off, that didn’t work. I updated bench, that didn’t work neither.

When trying to restart supervisor I get the following error:

root@server2:~# sudo service supervisor restart
Restarting supervisor: Error: Invalid user name erpnext in section ‘program:frappe-bench-frappe-web’ (file: ‘/etc/supervisor/conf.d/frappe-bench.conf’)
For help, use /usr/bin/supervisord -h

Any ideas ?

After doing an apt-get update and upgrade it seems if I run bench start the system is working but the command line doesn’t stop and I am getting this error:


20:49:14 web.1 | www.jiankongbao.com does not exist
20:49:14 web.1 | ----------------------------------------
20:49:14 web.1 | Exception happened during processing of request from (‘182.163.234.135’, 57881)
20:49:14 web.1 | Traceback (most recent call last):
20:49:14 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 593, in process_request_thread
20:49:14 web.1 | self.finish_request(request, client_address)
20:49:14 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 334, in finish_request
20:49:14 web.1 | self.RequestHandlerClass(request, client_address, self)
20:49:14 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 649, in init
20:49:14 web.1 | self.handle()
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 216, in handle
20:49:14 web.1 | rv = BaseHTTPRequestHandler.handle(self)
20:49:14 web.1 | File “/usr/lib/python2.7/BaseHTTPServer.py”, line 340, in handle
20:49:14 web.1 | self.handle_one_request()
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 251, in handle_one_request
20:49:14 web.1 | return self.run_wsgi()
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 193, in run_wsgi
20:49:14 web.1 | execute(self.server.app)
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 183, in execute
20:49:14 web.1 | for data in application_iter:
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/init.py”, line 284, in debug_application
20:49:14 web.1 | app_iter = self.app(environ, start_response)
20:49:14 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py”, line 15, in call
20:49:14 web.1 | return super(StaticDataMiddleware, self).call(environ, start_response)
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py”, line 599, in call
20:49:14 web.1 | return self.app(environ, start_response)
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py”, line 599, in call
20:49:14 web.1 | return self.app(environ, start_response)
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py”, line 228, in application
20:49:14 web.1 | return ClosingIterator(app(environ, start_response), self.cleanup)
20:49:14 web.1 | File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py”, line 291, in application
20:49:14 web.1 | return f(*args[:-2] + (request,))(*args[-2:])
20:49:14 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 59, in application
20:49:14 web.1 | init_request(request)
20:49:14 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 110, in init_request
20:49:14 web.1 | frappe.init(site=site, sites_path=_sites_path)
20:49:14 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 135, in init
20:49:14 web.1 | local.conf = _dict(get_site_config())
20:49:14 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 192, in get_site_config
20:49:14 web.1 | sys.exit(1)

Question now, who is www.jiankongbao.com ???

www.jiankongbao.com 1 does not exist

this site does not exist. If you check the currentsite file in Sites folder, you will find this name there. In case you have another site, then use that site via this command:

bench use [insert site name]

and then bench start the usual way. Or if not then, create a new site bench new [site name]. Also please take required backups - this is very important and also fixtures if you have customized anything.

The important idea is that I have never added that website nor I know anything about it.

P.S: The website is not in the folder Sites and I also cannot find the folder currentsite

it is not a folder but a textfile in Sites folder.

Go to frappe-bench — > Open Sites folder – > currentsite.txt

The name mentioned inside is your currentsite. This error tells me that in that textfile that site is mentioned but that site does not actually exist.

But then not an issue, simply switch to whatever site you have or create a new-site and install your apps on it and you can start working.

When you create new site and want bench to use that site you use this command bench use [sitename]