hi after bench update i am getting this error
mysqldump: Couldn’t execute ‘SELECT TRIGGER_NAME FROM INFORMATION_SCHEMA.TRIGG ERS WHERE EVENT_OBJECT_SCHEMA = DATABASE() AND EVENT_OBJECT_TABLE = ‘tabBOM’’: L ost connection to MySQL server during query (2013)\n"
Backup failed for Site galaxy. Database or site_config.json may be corrupt ed
then i tried bench update -no-backup
Migrating the7thgalaxy
Updating DocTypes for frappe : [== ] 14%Queued rebuildin g of search index for the7thgalaxy
Traceback with variables (most recent call last):
File “/usr/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
mod_name = ‘frappe.utils.bench_helper’
alter_argv = True
mod_spec = ModuleSpec(name=‘frappe.utils.bench_helper’, loader=<_frozen_im portlib_external.SourceFileLoader object at 0x7f7febf7fd00>, origin=‘/home/galax y/galaxyerp/apps/frappe/frappe/utils/bench_helper.py’)
code = <code object at 0x7f7fe9d33890, file “/home/galaxy/galaxye rp/apps/frappe/frappe/utils/bench_helper.py”, line 1>
main_globals = {‘name’: ‘main’, ‘doc’: None, ‘package’: ‘f rappe.utils’, ‘loader’: <_frozen_importlib_external.SourceFileLoader object at 0x7f7febf7fd00>, ‘spec’: ModuleSpec(name=‘frappe.utils.bench_helper’, loa der=<_frozen_importlib_external.SourceFileLoader object at 0x7f7febf7fd00>, orig in=‘/home/galaxy/galaxyerp/apps/frappe/frappe/utils/bench_helper.py’), ‘annota tions’: {}, ‘builtins’: <module ‘builtins’ (built-in)>, ‘file’: ‘/home /galaxy/galaxyerp/apps/frappe/frappe/utils/bench_helper.py’, ‘cached’: ‘/hom e/galaxy/galaxyerp/apps/frappe/frappe/utils/pycache/bench_helper.cpython-310 .pyc’, ‘importlib’: <module ‘importlib’ from ‘/usr/lib/python3.10/importlib/in it.py’>, ‘json’: <module ‘json’ from ‘/usr/lib/python3.10/json/init.py’>, ‘os’: <module ‘os’ from ‘/usr/lib/python3.10/os.py’>, ‘traceback’: <module ‘trac eback’ from ‘/usr/lib/python3.10/traceback.py’>, ‘warnings’: <module ‘warnings’ from ‘/usr/lib/python3.10/warnings.py’>, ‘click’: <module ‘cl…
File “/usr/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
code = <code object at 0x7f7fe9d33890, file “/home/galaxy/galaxye rp/apps/frappe/frappe/utils/bench_helper.py”, line 1>
run_globals = {‘name’: ‘main’, ‘doc’: None, ‘package’: ‘fr appe.utils’, ‘loader’: <_frozen_importlib_external.SourceFileLoader object a t 0x7f7febf7fd00>, ‘spec’: ModuleSpec(name=‘frappe.utils.bench_helper’, load er=<_frozen_importlib_external.SourceFileLoader object at 0x7f7febf7fd00>, origi n=’/home/galaxy/galaxyerp/apps/frappe/frappe/utils/bench_helper.py’), ‘annotat ions’: {}, ‘builtins’: <module ‘builtins’ (built-in)>, ‘file’: ‘/home/ galaxy/galaxyerp/apps/frappe/frappe/utils/bench_helper.py’, ‘cached’: ‘/home /galaxy/galaxyerp/apps/frappe/frappe/utils/pycache/bench_helper.cpython-310. pyc’, ‘importlib’: <module ‘importlib’ from ‘/usr/lib/python3.10/importlib/ini t.py’>, ‘json’: <module ‘json’ from ‘/usr/lib/python3.10/json/init.py’>, ’ os’: <module ‘os’ from ‘/usr/lib/python3.10/os.py’>, ‘traceback’: <module ‘trace back’ from ‘/usr/lib/python3.10/traceback.py’>, ‘warnings’: <module ‘warnings’ f rom ‘/usr/lib/python3.10/warnings.py’>, ‘click’: <module ‘cl…
init_globals = None
mod_name = ‘main’
mod_spec = ModuleSpec(name=‘frappe.utils.bench_helper’, loader=<_frozen_im portlib_external.SourceFileLoader object at 0x7f7febf7fd00>, origin=’/home/galax y/galaxyerp/apps/frappe/frappe/utils/bench_helper.py’)
pkg_name = ‘frappe.utils’
script_name = None
loader = <_frozen_importlib_external.SourceFileLoader object at 0x7f7febf7 fd00>
fname = ‘/home/galaxy/galaxyerp/apps/frappe/frappe/utils/bench_helper.py’
cached = ‘/home/galaxy/galaxyerp/apps/frappe/frappe/utils/pycache/benc h_helper.cpython-310.pyc’
File “/home/galaxy/galaxyerp/apps/frappe/frappe/utils/bench_helper.py”, line 1 09, in
main()
…skipped… 25 vars
File “/home/galaxy/galaxyerp/apps/frappe/frappe/utils/bench_helper.py”, line 1 8, in main
click.Group(commands=commands)(prog_name=“bench”)
commands = {‘frappe’: , ‘get-frappe-commands’: , ‘get-frappe-help’: }
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/click/core.py”, line 829, in call
return self.main(*args, **kwargs)
self =
args = ()
kwargs = {‘prog_name’: ‘bench’}
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
self =
args = [‘frappe’, ‘–site’, ‘the7thgalaxy’, ‘migrate’]
prog_name = ‘bench’
complete_var = None
standalone_mode = True
extra = {}
ctx = <click.core.Context object at 0x7f7fead537c0>
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
_process_result = <function MultiCommand.invoke.._process_result a t 0x7f7fe9cd6170>
args = [‘migrate’]
cmd_name = ‘frappe’
cmd =
sub_ctx = <click.core.Context object at 0x7f7fe9c39a50>
ctx = <click.core.Context object at 0x7f7fead537c0>
self =
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
_process_result = <function MultiCommand.invoke.._process_result a t 0x7f7fe9c2feb0>
args = []
cmd_name = ‘migrate’
cmd =
sub_ctx = <click.core.Context object at 0x7f7fe9c39090>
ctx = <click.core.Context object at 0x7f7fe9c39a50>
self =
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
self =
ctx = <click.core.Context object at 0x7f7fe9c39090>
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
args = ()
kwargs = {‘skip_failing’: False, ‘skip_search_index’: False}
self = <click.core.Context object at 0x7f7fe9c39090>
callback = <function migrate at 0x7f7fe9bb0700>
ctx = <click.core.Context object at 0x7f7fe9c39090>
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/click/decorators .py”, line 21, in new_func
return f(get_current_context(), *args, **kwargs)
args = ()
kwargs = {‘skip_failing’: False, ‘skip_search_index’: False}
f = <function migrate at 0x7f7fe9bb04c0>
File “/home/galaxy/galaxyerp/apps/frappe/frappe/commands/init.py”, line 29 , in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
ctx = <click.core.Context object at 0x7f7fe9c39090>
args = ()
kwargs = {‘skip_failing’: False, ‘skip_search_index’: False}
profile = False
f = <function migrate at 0x7f7fe9bb0430>
File “/home/galaxy/galaxyerp/apps/frappe/frappe/commands/site.py”, line 557, i n migrate
SiteMigration(
context = {‘sites’: [‘the7thgalaxy’], ‘force’: False, ‘verbose’: False, ‘p rofile’: False}
skip_failing = False
skip_search_index = False
activate_by_import = <module ‘traceback_with_variables.activate_by_import’ from ‘/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/traceback_with_va riables/activate_by_import.py’>
SiteMigration = <class ‘frappe.migrate.SiteMigration’>
site = ‘the7thgalaxy’
File “/home/galaxy/galaxyerp/apps/frappe/frappe/migrate.py”, line 175, in run
self.run_schema_updates()
self = <frappe.migrate.SiteMigration object at 0x7f7fe9c396c0>
site = ‘the7thgalaxy’
File “/home/galaxy/galaxyerp/apps/frappe/frappe/migrate.py”, line 45, in wrapp er
frappe.db.rollback()
args = (<frappe.migrate.SiteMigration object at 0x7f7fe9c396c0>,)
kwargs = {}
method = <function SiteMigration.run_schema_updates at 0x7f7fe7903eb0>
File “/home/galaxy/galaxyerp/apps/frappe/frappe/database/database.py”, line 10 50, in rollback
self.sql(“rollback”)
self = <frappe.database.mariadb.database.MariaDBDatabase object at 0x7f7fe 7717700>
save_point = None
File “/home/galaxy/galaxyerp/apps/frappe/frappe/database/database.py”, line 22 1, in sql
self._cursor.execute(query, values)
self = <frappe.database.mariadb.database.MariaDBDatabase object at 0x7f7fe 7717700>
query = ‘rollback’
values = None
as_dict = 0
as_list = 0
formatted = 0
debug = False
ignore_ddl = 0
as_utf8 = 0
auto_commit = 0
update = None
explain = False
run = True
pluck = False
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/pymysql/cursors. py”, line 158, in execute
result = self._query(query)
self = <pymysql.cursors.Cursor object at 0x7f7fe771d450>
query = ‘rollback’
args = None
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/pymysql/cursors. py”, line 325, in _query
conn.query(q)
self = <pymysql.cursors.Cursor object at 0x7f7fe771d450>
q = ‘rollback’
conn = <pymysql.connections.Connection object at 0x7f7fe771d390>
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/pymysql/connecti ons.py”, line 548, in query
self._execute_command(COMMAND.COM_QUERY, sql)
self = <pymysql.connections.Connection object at 0x7f7fe771d390>
sql = b’rollback’
unbuffered = False
File “/home/galaxy/galaxyerp/env/lib/python3.10/site-packages/pymysql/connecti ons.py”, line 797, in _execute_command
raise err.InterfaceError(0, “”)
self = <pymysql.connections.Connection object at 0x7f7fe771d390>
command = 3
sql = b’rollback’
pymysql.err.InterfaceError: (0, ‘’)
The login Page is stuck on verifying…
PLEASE HELP