I have a working VPS in which ERPNext13 is already running.
I have create another instance of ERPNext using:
bench init newerp13 --version version-13
Now when I try to create a new site using following:
bench new-site newerp13 --db-name newerp13
I am getting this error.
Installing frappe...
Updating DocTypes for frappe : [=================================== ] 87%Traceback (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,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/yogesh/newerp13/apps/frappe/frappe/utils/bench_helper.py", line 110, in <module>
main()
File "/home/yogesh/newerp13/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/yogesh/newerp13/env/lib/python3.10/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/yogesh/newerp13/env/lib/python3.10/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/yogesh/newerp13/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/yogesh/newerp13/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/yogesh/newerp13/env/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/yogesh/newerp13/env/lib/python3.10/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/yogesh/newerp13/apps/frappe/frappe/commands/site.py", line 74, in new_site
_new_site(
File "/home/yogesh/newerp13/apps/frappe/frappe/installer.py", line 82, in _new_site
install_app(app, verbose=verbose, set_as_patched=not source_sql)
File "/home/yogesh/newerp13/apps/frappe/frappe/installer.py", line 186, in install_app
sync_for(name, force=True, sync_everything=True, verbose=verbose, reset_permissions=True)
File "/home/yogesh/newerp13/apps/frappe/frappe/model/sync.py", line 75, in sync_for
import_file_by_path(
File "/home/yogesh/newerp13/apps/frappe/frappe/modules/import_file.py", line 146, in import_file_by_path
import_doc(
File "/home/yogesh/newerp13/apps/frappe/frappe/modules/import_file.py", line 252, in import_doc
old_doc = frappe.get_doc(doc.doctype, doc.name)
File "/home/yogesh/newerp13/apps/frappe/frappe/__init__.py", line 1074, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File "/home/yogesh/newerp13/apps/frappe/frappe/model/document.py", line 79, in get_doc
return controller(*args, **kwargs)
File "/home/yogesh/newerp13/apps/frappe/frappe/model/document.py", line 118, in __init__
self.load_from_db()
File "/home/yogesh/newerp13/apps/frappe/frappe/model/document.py", line 163, in load_from_db
frappe.throw(
File "/home/yogesh/newerp13/apps/frappe/frappe/__init__.py", line 504, in throw
msgprint(
File "/home/yogesh/newerp13/apps/frappe/frappe/__init__.py", line 479, in msgprint
_raise_exception()
File "/home/yogesh/newerp13/apps/frappe/frappe/__init__.py", line 434, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.DoesNotExistError: Print Style Modern not found
Regards,