I have added MariaDB repos and installed all dependencies.
erpnext@erpnext:~/frappe-bench$ ./scripts/install.sh migrate_3_to_4 /home/erpnext/
New python executable in env/bin/python2.7
Not overwriting existing python script env/bin/python (you must use env/bin/python2.7)
Installing setuptools, pip...done.
remote: Reusing existing pack: 112688, done.
remote: Counting objects: 183, done.
remote: Compressing objects: 100% (181/181), done.
remote: Total 112871 (delta 87), reused 4 (delta 2)
Receiving objects: 100% (112871/112871), 35.11 MiB | 2.25 MiB/s, done.
Resolving deltas: 100% (80258/80258), done.
remote: Reusing existing pack: 833, done.
remote: Counting objects: 31, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 864 (delta 15), reused 0 (delta 0)
Receiving objects: 100% (864/864), 252.09 KiB | 267 KiB/s, done.
Resolving deltas: 100% (592/592), done.
Traceback (most recent call last):
File "scripts/3to4.py", line 33, in <module>
migrate(args.site)
File "scripts/3to4.py", line 21, in migrate
validate(site)
File "scripts/3to4.py", line 15, in validate
if not executed(last_3_patch):
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 89, in executed
done = frappe.db.get_value("Patch Log", {"patch": patchmodule})
File "/home/erpnext/frappe-bench/apps/frappe/frappe/database.py", line 300, in get_value
ret = self.get_values(doctype, filters, fieldname, ignore, as_dict, debug)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/database.py", line 317, in get_values
return self.get_values_from_table(fields, filters, doctype, as_dict, debug, order_by, update)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/database.py", line 390, in get_values_from_table
conditions, order_by), filters, as_dict=as_dict, debug=debug, update=update)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/database.py", line 76, in sql
self.connect()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/database.py", line 47, in connect
use_unicode=True, charset='utf8')
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
TypeError: connect() argument 2 must be string, not None
erpnext@erpnext:~/frappe-bench$