ERROR 2006 (HY000) at line 10867: Server has gone away ] 47% ETA 0:02:17
726MiB 0:02:03 [5.87MiB/s] [========================> ] 48%
App frappe already installed
File “/usr/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 109, in
main()
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=“bench”)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 829, in call
return self.main(*args, **kwargs)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/env/lib/python3.10/site-packages/click/decorators.py”, line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/commands/init.py”, line 29, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/commands/site.py”, line 199, in restore
_new_site(
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/installer.py”, line 108, in _new_site
scheduler.toggle_scheduler(enable_scheduler)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/scheduler.py”, line 141, in toggle_scheduler
frappe.db.set_single_value(“System Settings”, “enable_scheduler”, int(enable))
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/database/database.py”, line 835, in set_single_value
return self.set_value(doctype, doctype, fieldname, value, *args, **kwargs)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/database/database.py”, line 985, in set_value
modified = modified or now()
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/data.py”, line 370, in now
return now_datetime().strftime(DATETIME_FORMAT)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/data.py”, line 303, in now_datetime
dt = convert_utc_to_system_timezone(datetime.datetime.utcnow())
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/data.py”, line 350, in convert_utc_to_system_timezone
time_zone = get_system_timezone()
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/data.py”, line 324, in get_system_timezone
return frappe.cache().get_value(“time_zone”, _get_system_timezone)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 81, in get_value
val = generator()
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/utils/data.py”, line 317, in _get_system_timezone
return frappe.db.get_system_setting(“time_zone”) or “Asia/Kolkata” # Default to India ?!
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/database/database.py”, line 1297, in get_system_setting
return frappe.get_system_settings(key)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/init.py”, line 2286, in get_system_settings
local.system_settings = get_cached_doc(“System Settings”)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/init.py”, line 1109, in get_cached_doc
doc = get_doc(*args, **kwargs)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/init.py”, line 1200, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/model/document.py”, line 78, in get_doc
return controller(*args, **kwargs)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/model/document.py”, line 110, in init
self.load_from_db()
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/model/document.py”, line 138, in load_from_db
single_doc = frappe.db.get_singles_dict(self.doctype, for_update=self.flags.for_update)
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/database/database.py”, line 782, in get_singles_dict
queried_result = frappe.qb.get_query(
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/query_builder/utils.py”, line 87, in execute_query
result = frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
File “/home/ajaymahiwal/frappe-instances/instance_2_newcom/frappe-bench/apps/frappe/frappe/database/database.py”, line 272, in sql
traceback.print_stack()
Error in query:
(‘SELECT field
,value
FROM tabSingles
WHERE doctype
=%(param1)s’, {‘param1’: ‘System Settings’})
Table ‘_001ca6ffbc7a8e3a.tabSingles’ doesn’t exist