Upgrade error on the bench when try to restore the backup file

when I try to restore the backup sql file. I am getting this error. Please help on the what is the issue.

Bench version
/home/frappe/frappe-bench$ bench version
erpnext 8.3.4
frappe 8.3.4

Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 91, in
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 17, in main
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/init.py”, line 24, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py”, line 284, in backup
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 135, in init
local.conf = _dict(get_site_config())
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 189, in get_site_config
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 870, in get_file_json
return json.load(f)
File “/usr/lib/python2.7/json/init.py”, line 290, in load
File “/usr/lib/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python2.7/json/decoder.py”, line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 4 column 1 (char 70)

seems like issue with the site_config.json, Please check if the site_config.json has valid json

The Data is not loading after upgrade to
erpnext 8.3.4
frappe 8.3.4

All screens appear to be dull not bright when they are active I have reloaded site couple of times

With regards

I changed the json file to 755 since it seems to have changed compared to old installation site1.local

I saw in the inspector
TypeError: val is undefined

ReferenceError: Awesomplete is not defined[Learn More] desk.min.js:5420:1
TypeError: frappe.views.Factory is undefined[Learn More] list.min.js:1338:1
TypeError: frappe.views.Factory is undefined[Learn More] form.min.js:14:1
TypeError: frappe.views.Factory is undefined[Learn More] report.min.js:3:1
TypeError: frappe.breadcrumbs is undefined[Learn More]

Resolved after bench build frappe upgraded to 8.3.5

Thank you for the pointer, was able to solve the problem. But there is a new problem with site_config.json. After migrating the bench, now not able to reset the password or create new user.

New error
Encryption key is invalid, Please check site_config.json

tired coping the old instance encryption key, server is down.