I have noticed that you have mentioned restoring a v4 backup on the v5 setup.
Is it going to work?
Btw, I have successfully installed v5 with the commands.
Another problem I am facing is that I am unable to install the erpnext app on the new site as I am running this command:
bench frappe --install_app erpnext local.site
The error that I am getting is
Installing erpnext... Traceback (most recent call last): File "/home/aditya/frappe-bench/frappe-bench-5/env/bin/frappe", line 9, in <module> load_entry_point('frappe==5.0.0-alpha', 'console_scripts', 'frappe')() File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/cli.py", line 53, in main return run(fn, parsed_args) File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/cli.py", line 81, in run out = globals().get(fn)(*args.get(fn), **args) File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/cli.py", line 67, in new_fn return fn(*args, **new_kwargs) File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/cli.py", line 363, in install_app install_app(app_name, verbose=verbose) File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/installer.py", line 118, in install_app add_module_defs(name) File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/installer.py", line 217, in add_module_defs d.save() File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/model/document.py", line 203, in save self.insert() File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/model/document.py", line 175, in insert self.db_insert() File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/model/base_document.py", line 232, in db_insert ), d.values()) File "/home/aditya/frappe-bench/frappe-bench-5/apps/frappe/frappe/database.py", line 129, in sql self._cursor.execute(query, values) File "/home/aditya/frappe-bench/frappe-bench-5/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute self.errorhandler(self, exc, value) File "/home/aditya/frappe-bench/frappe-bench-5/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue frappe.exceptions.NameError: (u'Module Def', u'Accounts', IntegrityError(1062, "Duplicate entry 'Accounts' for key 'PRIMARY'"))