ERPNext Update issue

Facing an issue when updating the Bench.

itwork@ERP:~$ bench update
INFO:bench.utils:updating bench
Already up-to-date.
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages frappe
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript

  • branch master → FETCH_HEAD
    Already up-to-date. erpnext
    From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
  • branch master → FETCH_HEAD
    Already up-to-date. knowledge_base
    From GitHub - frappe/knowledge_base: [Merged in Frappe Framework Core]
  • branch master → FETCH_HEAD
    Already up-to-date.
    /home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see
    /home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see Advanced Usage - urllib3 2.0.0a2 documentation.
    Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
    Traceback (most recent call last):
    File “/usr/lib/python2.7/”, line 162, in _run_module_as_main
    main”, fname, loader, pkg_name)
    File “/usr/lib/python2.7/”, line 72, in _run_code
    exec code in run_globals
    File “/home/itwork/frappe-bench/apps/frappe/frappe/utils/”, line 79, in
    File “/home/itwork/frappe-bench/apps/frappe/frappe/utils/”, line 16, in main
    File “/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 716, in call
    return self.main(*args, **kwargs)
    File “/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 696, in main
    rv = self.invoke(ctx)
    File “/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 534, in invoke
    return callback(*args, **kwargs)
    File “/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
    File “/home/itwork/frappe-bench/apps/frappe/frappe/commands/”, line 24, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
    File “/home/itwork/frappe-bench/apps/frappe/frappe/commands/”, line 277, in backup
    File “/home/itwork/frappe-bench/apps/frappe/frappe/”, line 120, in init
    local.conf = _dict(get_site_config())
    File “/home/itwork/frappe-bench/apps/frappe/frappe/”, line 172, in get_site_config
    File “/home/itwork/frappe-bench/apps/frappe/frappe/”, line 846, in get_file_json
    return json.load(f)
    File “/usr/lib/python2.7/json/”, line 290, in load
    File “/usr/lib/python2.7/json/”, line 338, in loads
    return _default_decoder.decode(s)
    File “/usr/lib/python2.7/json/”, line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File “/usr/lib/python2.7/json/”, line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
    ValueError: Expecting property name: line 5 column 1 (char 113)


did you make any changes in site_config.json or common_site_config.json ?
if yes then please check if json is valid or not on jsonlint

Thanks, Makarand

I checked both the files. it shows Valid JSON.

Its fixed.
I have 2 sites. there was an error in 2nd site. the Site JSON was like below.

“db_password”: “xxxxxxxxxxxxxx”,
“db_name”: “xxxxxxxxxxxxxxxx”,
“host_name”: “http://hostname”,

I changed it to ,

“db_password”: “xxxxxxxxxxxxxxxx”,
“db_name”: “xxxxxxxxxxxxxxxxxx”,
“host_name”: “http://hostname”,
“limits”: {
“space_usage”: {
“backup_size”: 203.0,
“database_size”: 43.38,
“files_size”: 37.0,
“total”: 283.38

The DNS based multi tenancy is also enabled.

remove the comma from the end and try again

Yes… Done… Thanks…