Stuck in update

Hello, my erpnext server now always show the page of “Updating
Your system is being updated. Please refresh again after a few moments”

I originally consider it is updating ; however ; it has been updating for a while!
Has there anyone know how to solve such a problem?
Thx

did u run bench update?

@hereabdulla yes! I have run bench update, and he response with the following things and I don’t know how to solve it @@
`
INFO:bench.utils:updating bench
Already up-to-date.
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)
INFO:bench.app:pulling frappe
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript

  • branch develop → FETCH_HEAD
    Already up-to-date.
    INFO:bench.app:pulling erpnext
    From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
  • branch develop → FETCH_HEAD
    Already up-to-date.
    /home/eroerp/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:318: 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 https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
    SNIMissingWarning
    /home/eroerp/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: 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.
    InsecurePlatformWarning
    Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
    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/eroerp/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 79, in
    main()
    File “/home/eroerp/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 16, in main
    click.Group(commands=commands)(prog_name=‘bench’)
    File “/home/eroerp/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
    return self.main(*args, **kwargs)
    File “/home/eroerp/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
    rv = self.invoke(ctx)
    File “/home/eroerp/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/eroerp/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/eroerp/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/eroerp/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
    return callback(*args, **kwargs)
    File “/home/eroerp/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/eroerp/frappe-bench/apps/frappe/frappe/commands/init.py”, line 24, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
    File “/home/eroerp/frappe-bench/apps/frappe/frappe/commands/site.py”, line 277, in backup
    frappe.init(site=site)
    File “/home/eroerp/frappe-bench/apps/frappe/frappe/init.py”, line 130, in init
    local.conf = _dict(get_site_config())
    File “/home/eroerp/frappe-bench/apps/frappe/frappe/init.py”, line 182, in get_site_config
    config.update(get_file_json(site_config))
    File “/home/eroerp/frappe-bench/apps/frappe/frappe/init.py”, line 860, in get_file_json
    return json.load(f)
    File “/usr/lib/python2.7/json/init.py”, line 290, in load
    **kw)
    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 369, in decode
    raise ValueError(errmsg(“Extra data”, s, end, len(s)))
    ValueError: Extra data: line 2 column 11 - line 7 column 1 (char 11 - 134)
    `

Can you post the contents of site_config.json ?

@netchampfaris of course! the “site_config.json” in the folder of my host

{
“db_name”: “71b271d0edb79b86”,
“db_password”: “xxxxxxxxxxxxxxxxx”,
“limits”: {
“space_usage”: {
“backup_size”: 1.0,
“database_size”: 10.65,
“files_size”: 2.0,
“total”: 13.65
}
}
}

Hey, did you find a solution for this?

if you have the same issue kindly post the error log

I fixed it by running bench update again and it worked. Thanks!