New Error when updating V4

When i’m executing Bench update

Already up-to-date.
remote: Counting objects: 141, done.
remote: Compressing objects: 100% (139/139), done.
remote: Total 141 (delta 117), reused 25 (delta 1), pack-reused 0
Réception d’objets: 100% (141/141), 14.43 KiB | 0 bytes/s, done.
Résolution des deltas: 100% (117/117), complété avec 64 objets locaux.
Depuis GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
19ce1a7…b77510c master → upstream/master
6625a5e…7981046 develop → upstream/develop
19ce1a7…b77510c v4.x.x → upstream/v4.x.x

  • [nouvelle étiquette] v4.14.1 → v4.14.1
    remote: Counting objects: 26, done.
    remote: Compressing objects: 100% (15/15), done.
    remote: Total 26 (delta 3), reused 2 (delta 2), pack-reused 9
    Unpacking objects: 100% (26/26), done.
    Depuis GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
  • branch master → FETCH_HEAD
    3b8682f…8f7621c master → upstream/master
    Mise à jour 3b8682f…8f7621c
    Fast-forward
    .travis.yml | 2 ±
    erpnext/version.py | 2 ±
    erpnext/buying/doctype/purchase_order/purchase_order.json | 3 +±
    erpnext/hooks.py | 2 ±
    erpnext/patches.txt | 1 +
    erpnext/patches/v4_2/update_advance_paid.py | 13 +++++++++++++
    erpnext/selling/doctype/sales_order/sales_order.json | 3 +±
    setup.py | 2 ±
    8 files changed, 22 insertions(+), 6 deletions(-)
    create mode 100644 erpnext/patches/v4_2/update_advance_paid.py
    Depuis GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
  • branch master → FETCH_HEAD
    Mise à jour 19ce1a7…b77510c
    Fast-forward
    .travis.yml | 2 ±
    frappe/version.py | 2 ±
    frappe/hooks.py | 2 ±
    frappe/model/document.py | 6 +++±-
    setup.py | 2 ±
    5 files changed, 8 insertions(+), 6 deletions(-)
    Depuis GitHub - frappe/shopping_cart: Online Shopping Cart integrated with ERPNext
  • branch master → FETCH_HEAD
    Already up-to-date.
    Depuis GitHub - saurabh6790/loyalty_point
  • branch master → FETCH_HEAD
    Already up-to-date.
    database backup taken - ./www.boutiquextension.com/private/backups/20150429_5978 5440_database.sql.gz - on 2015-04-29 14:11:16.854216
    database backup taken - ./www.liquidationdrummond.com/private/backups/20150429_7 1273876_database.sql.gz - on 2015-04-29 14:11:17.050512

Running latest for www.boutiquextension.com

Traceback (most recent call last):
File “/home/phil/frappe-bench/env/bin/frappe”, line 9, in
load_entry_point(‘frappe==4.12.1’, ‘console_scripts’, ‘frappe’)()
File “/home/phil/frappe-bench/apps/frappe/frappe/cli.py”, line 39, in main
ret = run(fn, args)
File “/home/phil/frappe-bench/apps/frappe/frappe/cli.py”, line 83, in run
out = globals().get(fn)(**args)
File “/home/phil/frappe-bench/apps/frappe/frappe/cli.py”, line 67, in new_fn
return fn(*args, **new_kwargs)
File “/home/phil/frappe-bench/apps/frappe/frappe/cli.py”, line 431, in latest
frappe.modules.patch_handler.run_all()
File “/home/phil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, li ne 21, in run_all
executed = [p[0] for p in frappe.db.sql(“”“select patch from tabPatch Log” “”)]
File “/home/phil/frappe-bench/apps/frappe/frappe/database.py”, line 79, in sql
self.connect()
File “/home/phil/frappe-bench/apps/frappe/frappe/database.py”, line 49, in con nect
use_unicode=True, charset=‘utf8’)
File “/home/phil/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/__ init__.py”, line 81, in Connect
return Connection(*args, **kwargs)
File “/home/phil/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/co nnections.py”, line 193, in init
super(Connection, self).init(*args, **kwargs2)
_mysql_exceptions.OperationalError: (2002, “Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)”)
Error: None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/phil/bench-repo/bench/cli.py”, line 55, in cli
bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 610, in ca ll
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 590, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 936, in invo ke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 782, in invo ke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 416, in invo ke
return callback(*args, **kwargs)
File “/home/phil/bench-repo/bench/cli.py”, line 247, in update
patch_sites()
File “/home/phil/bench-repo/bench/utils.py”, line 116, in patch_sites
exec_cmd(“{frappe} --latest all”.format(frappe=get_frappe(bench=bench)), cwd =os.path.join(bench, ‘sites’))
File “/home/phil/bench-repo/bench/utils.py”, line 72, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘/home/phil/frappe-bench/env/bin/frappe - -latest all’ returned non-zero exit status 1

It seems that your MySQL server is down. Can you restart and try again?

I changed my source.list with MariaDB 10 (because it was 5.5) and reinstalled the mariaDB Server and working fine now :smile:
Thanks