09:14:11 web.1 | /opt/bench/erpnext/apps/frappe/frappe/database/query.py:197: UserWarning: The 'filters_config' hook used to add custom operators is not yet implemented in frappe.db.query engine. Use db_query (frappe.get_list) instead.
09:14:11 web.1 | warn(
09:14:11 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:11 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:11 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:11 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:14 web.1 | 192.168.5.138 - - [15/Aug/2022 09:14:14] "GET / HTTP/1.1" 500 -
09:14:14 web.1 | Traceback (most recent call last):
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/modules/utils.py", line 236, in load_doctype_module
09:14:14 web.1 | doctype_python_modules[key] = frappe.get_module(module_name)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line 1335, in get_module
09:14:14 web.1 | return importlib.import_module(modulename)
09:14:14 web.1 | File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
09:14:14 web.1 | return _bootstrap._gcd_import(name[level:], package, level)
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
09:14:14 web.1 | File "<frozen importlib._bootstrap_external>", line 883, in exec_module
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
09:14:14 web.1 | File "/opt/bench/erpnext/apps/erpnext/erpnext/setup/doctype/item_group/item_group.py", line 11, in <module>
09:14:14 web.1 | from frappe.website.render import clear_cache
09:14:14 web.1 | ModuleNotFoundError: No module named 'frappe.website.render'
09:14:14 web.1 |
09:14:14 web.1 | The above exception was the direct cause of the following exception:
09:14:14 web.1 |
09:14:14 web.1 | Traceback (most recent call last):
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/serve.py", line 17, in get_response
09:14:14 web.1 | endpoint, renderer_instance = path_resolver.resolve()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/path_resolver.py", line 52, in resolve
09:14:14 web.1 | if renderer_instance.can_render():
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line 16, in can_render
09:14:14 web.1 | if self.search_in_doctypes_with_web_view():
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line 28, in search_in_doctypes_with_web_view
09:14:14 web.1 | condition_field = self.get_condition_field(meta)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line 91, in get_condition_field
09:14:14 web.1 | controller = get_controller(meta.name)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/model/base_document.py", line 77, in get_controller
09:14:14 web.1 | return _get_controller()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/model/base_document.py", line 63, in _get_controller
09:14:14 web.1 | module = load_doctype_module(doctype, module_name)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/modules/utils.py", line 240, in load_doctype_module
09:14:14 web.1 | raise ImportError(msg) from e
09:14:14 web.1 | ImportError: Module import failed for Item Group, the DocType you're trying to open might be deleted.<br> Error: No module named 'frappe.website.render'
09:14:14 web.1 |
09:14:14 web.1 | During handling of the above exception, another exception occurred:
09:14:14 web.1 |
09:14:14 web.1 | Traceback (most recent call last):
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/app.py", line 78, in application
09:14:14 web.1 | response = get_response()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/serve.py", line 27, in get_response
09:14:14 web.1 | response = ErrorPage(exception=e).render()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/template_page.py", line 78, in render
09:14:14 web.1 | html = self.get_html()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/utils.py", line 510, in cache_html_decorator
09:14:14 web.1 | html = func(*args, **kwargs)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/template_page.py", line 86, in get_html
09:14:14 web.1 | self.init_context()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/error_page.py", line 14, in init_context
09:14:14 web.1 | super().init_context()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/base_template_page.py", line 15, in init_context
09:14:14 web.1 | self.context.update(get_website_settings())
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line 191, in get_website_settings
09:14:14 web.1 | if settings.splash_image:
09:14:14 web.1 | AttributeError: 'WebsiteSettings' object has no attribute 'splash_image'
09:14:14 web.1 |
09:14:14 web.1 | During handling of the above exception, another exception occurred:
09:14:14 web.1 |
09:14:14 web.1 | Traceback (most recent call last):
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/modules/utils.py", line 236, in load_doctype_module
09:14:14 web.1 | doctype_python_modules[key] = frappe.get_module(module_name)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line 1335, in get_module
09:14:14 web.1 | return importlib.import_module(modulename)
09:14:14 web.1 | File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
09:14:14 web.1 | return _bootstrap._gcd_import(name[level:], package, level)
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
09:14:14 web.1 | File "<frozen importlib._bootstrap_external>", line 883, in exec_module
09:14:14 web.1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
09:14:14 web.1 | File "/opt/bench/erpnext/apps/erpnext/erpnext/setup/doctype/item_group/item_group.py", line 11, in <module>
09:14:14 web.1 | from frappe.website.render import clear_cache
09:14:14 web.1 | ModuleNotFoundError: No module named 'frappe.website.render'
09:14:14 web.1 |
09:14:14 web.1 | The above exception was the direct cause of the following exception:
09:14:14 web.1 |
09:14:14 web.1 | Traceback (most recent call last):
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/serve.py", line 17, in get_response
09:14:14 web.1 | endpoint, renderer_instance = path_resolver.resolve()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/path_resolver.py", line 52, in resolve
09:14:14 web.1 | if renderer_instance.can_render():
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line 16, in can_render
09:14:14 web.1 | if self.search_in_doctypes_with_web_view():
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line 28, in search_in_doctypes_with_web_view
09:14:14 web.1 | condition_field = self.get_condition_field(meta)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line 91, in get_condition_field
09:14:14 web.1 | controller = get_controller(meta.name)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/model/base_document.py", line 77, in get_controller
09:14:14 web.1 | return _get_controller()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/model/base_document.py", line 63, in _get_controller
09:14:14 web.1 | module = load_doctype_module(doctype, module_name)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/modules/utils.py", line 240, in load_doctype_module
09:14:14 web.1 | raise ImportError(msg) from e
09:14:14 web.1 | ImportError: Module import failed for Item Group, the DocType you're trying to open might be deleted.<br> Error: No module named 'frappe.website.render'
09:14:14 web.1 |
09:14:14 web.1 | During handling of the above exception, another exception occurred:
09:14:14 web.1 |
09:14:14 web.1 | Traceback (most recent call last):
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/middlewares.py", line 16, in __call__
09:14:14 web.1 | return super().__call__(environ, start_response)
09:14:14 web.1 | File "/opt/bench/erpnext/env/lib/python3.10/site-packages/werkzeug/middleware/shared_data.py", line 247, in __call__
09:14:14 web.1 | return self.app(environ, start_response)
09:14:14 web.1 | File "/opt/bench/erpnext/env/lib/python3.10/site-packages/werkzeug/middleware/shared_data.py", line 247, in __call__
09:14:14 web.1 | return self.app(environ, start_response)
09:14:14 web.1 | File "/opt/bench/erpnext/env/lib/python3.10/site-packages/werkzeug/local.py", line 196, in application
09:14:14 web.1 | return ClosingIterator(app(environ, start_response), self.cleanup)
09:14:14 web.1 | File "/opt/bench/erpnext/env/lib/python3.10/site-packages/werkzeug/wrappers/request.py", line 187, in application
09:14:14 web.1 | resp = f(*args[:-2] + (request,))
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/app.py", line 90, in application
09:14:14 web.1 | response = handle_exception(e)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/app.py", line 287, in handle_exception
09:14:14 web.1 | response = get_response("message", http_status_code=http_status_code)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/serve.py", line 27, in get_response
09:14:14 web.1 | response = ErrorPage(exception=e).render()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/template_page.py", line 78, in render
09:14:14 web.1 | html = self.get_html()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/utils.py", line 510, in cache_html_decorator
09:14:14 web.1 | html = func(*args, **kwargs)
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/template_page.py", line 86, in get_html
09:14:14 web.1 | self.init_context()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/error_page.py", line 14, in init_context
09:14:14 web.1 | super().init_context()
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/base_template_page.py", line 15, in init_context
09:14:14 web.1 | self.context.update(get_website_settings())
09:14:14 web.1 | File "/opt/bench/erpnext/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line 191, in get_website_settings
09:14:14 web.1 | if settings.splash_image:
09:14:14 web.1 | AttributeError: 'WebsiteSettings' object has no attribute 'splash_image'
09:14:14 web.1 | 192.168.5.138 - - [15/Aug/2022 09:14:14] "GET /?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 -
09:14:14 web.1 | 192.168.5.138 - - [15/Aug/2022 09:14:14] "GET /?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 -
09:14:15 web.1 | 192.168.5.138 - - [15/Aug/2022 09:14:15] "GET /?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
09:14:15 web.1 | 192.168.5.138 - - [15/Aug/2022 09:14:15] "GET /?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
09:14:23 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:23 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:23 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:23 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:47 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:47 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:49 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:49 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:49 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:49 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:50 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:50 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:51 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:51 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:51 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:51 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:52 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
09:14:52 watch.1 | https://evilmartians.com/chronicles/postcss-8-plugin-migration
09:14:52 watch.1 | Watching for changes...
# AttributeError
AttributeError: 'WebsiteSettings' object has no attribute 'splash_image'
## Traceback *(most recent call last)*
* #### File "/opt/bench/erpnext/apps/frappe/frappe/modules/utils.py", line *236*, in `load_doctype_module`
doctype_python_modules[key] = frappe.get_module(module_name)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line *1335*, in `get_module`
return importlib.import_module(modulename)
* #### File "/usr/lib/python3.10/importlib/__init__.py", line *126*, in `import_module`
return _bootstrap._gcd_import(name[level:], package, level)![](http://192.168.6.84:8000/?__debugger__=yes&cmd=resource&f=console.png "Open an interactive python shell in this frame")
* #### File "<frozen importlib._bootstrap>", line *1050*, in `_gcd_import`
* #### File "<frozen importlib._bootstrap>", line *1027*, in `_find_and_load`
* #### File "<frozen importlib._bootstrap>", line *1006*, in `_find_and_load_unlocked`
* #### File "<frozen importlib._bootstrap>", line *688*, in `_load_unlocked`
* #### File "<frozen importlib._bootstrap_external>", line *883*, in `exec_module`
* #### File "<frozen importlib._bootstrap>", line *241*, in `_call_with_frames_removed`
* #### File "/opt/bench/erpnext/apps/erpnext/erpnext/setup/doctype/item_group/item_group.py", line *11*, in `<module>`
from frappe.website.render import clear_cache
* The above exception was the direct cause of the following exception:
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/serve.py", line *17*, in `get_response`
endpoint, renderer_instance = path_resolver.resolve()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/path_resolver.py", line *52*, in `resolve`
if renderer_instance.can_render():
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line *16*, in `can_render`
if self.search_in_doctypes_with_web_view():
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line *28*, in `search_in_doctypes_with_web_view`
condition_field = self.get_condition_field(meta)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line *91*, in `get_condition_field`
controller = get_controller(meta.name)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/model/base_document.py", line *77*, in `get_controller`
return _get_controller()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/model/base_document.py", line *63*, in `_get_controller`
module = load_doctype_module(doctype, module_name)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/modules/utils.py", line *240*, in `load_doctype_module`
raise ImportError(msg) from e
* During handling of the above exception, another exception occurred:
* #### File "/opt/bench/erpnext/apps/frappe/frappe/app.py", line *78*, in `application`
response = get_response()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/serve.py", line *27*, in `get_response`
response = ErrorPage(exception=e).render()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/template_page.py", line *78*, in `render`
html = self.get_html()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/utils.py", line *510*, in `cache_html_decorator`
html = func(*args, **kwargs)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/template_page.py", line *86*, in `get_html`
self.init_context()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/error_page.py", line *14*, in `init_context`
super().init_context()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/base_template_page.py", line *15*, in `init_context`
self.context.update(get_website_settings())
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line *191*, in `get_website_settings`
if settings.splash_image:
* During handling of the above exception, another exception occurred:
* #### File "/opt/bench/erpnext/apps/frappe/frappe/modules/utils.py", line *236*, in `load_doctype_module`
doctype_python_modules[key] = frappe.get_module(module_name)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line *1335*, in `get_module`
return importlib.import_module(modulename)
* #### File "/usr/lib/python3.10/importlib/__init__.py", line *126*, in `import_module`
return _bootstrap._gcd_import(name[level:], package, level)
* #### File "<frozen importlib._bootstrap>", line *1050*, in `_gcd_import`
* #### File "<frozen importlib._bootstrap>", line *1027*, in `_find_and_load`
* #### File "<frozen importlib._bootstrap>", line *1006*, in `_find_and_load_unlocked`
* #### File "<frozen importlib._bootstrap>", line *688*, in `_load_unlocked`
* #### File "<frozen importlib._bootstrap_external>", line *883*, in `exec_module`
* #### File "<frozen importlib._bootstrap>", line *241*, in `_call_with_frames_removed`
* #### File "/opt/bench/erpnext/apps/erpnext/erpnext/setup/doctype/item_group/item_group.py", line *11*, in `<module>`
from frappe.website.render import clear_cache
* The above exception was the direct cause of the following exception:
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/serve.py", line *17*, in `get_response`
endpoint, renderer_instance = path_resolver.resolve()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/path_resolver.py", line *52*, in `resolve`
if renderer_instance.can_render():
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line *16*, in `can_render`
if self.search_in_doctypes_with_web_view():
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line *28*, in `search_in_doctypes_with_web_view`
condition_field = self.get_condition_field(meta)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/document_page.py", line *91*, in `get_condition_field`
controller = get_controller(meta.name)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/model/base_document.py", line *77*, in `get_controller`
return _get_controller()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/model/base_document.py", line *63*, in `_get_controller`
module = load_doctype_module(doctype, module_name)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/modules/utils.py", line *240*, in `load_doctype_module`
raise ImportError(msg) from e
* During handling of the above exception, another exception occurred:
* #### File "/opt/bench/erpnext/apps/frappe/frappe/middlewares.py", line *16*, in `__call__`
return super().__call__(environ, start_response)
* #### File "/opt/bench/erpnext/env/lib/python3.10/site-packages/werkzeug/middleware/shared_data.py", line *247*, in `__call__`
return self.app(environ, start_response)
* #### File "/opt/bench/erpnext/env/lib/python3.10/site-packages/werkzeug/middleware/shared_data.py", line *247*, in `__call__`
return self.app(environ, start_response)
* #### File "/opt/bench/erpnext/env/lib/python3.10/site-packages/werkzeug/local.py", line *196*, in `application`
return ClosingIterator(app(environ, start_response), self.cleanup)
* #### File "/opt/bench/erpnext/env/lib/python3.10/site-packages/werkzeug/wrappers/request.py", line *187*, in `application`
resp = f(*args[:-2] + (request,))
* #### File "/opt/bench/erpnext/apps/frappe/frappe/app.py", line *90*, in `application`
response = handle_exception(e)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/app.py", line *287*, in `handle_exception`
response = get_response("message", http_status_code=http_status_code)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/serve.py", line *27*, in `get_response`
response = ErrorPage(exception=e).render()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/template_page.py", line *78*, in `render`
html = self.get_html()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/utils.py", line *510*, in `cache_html_decorator`
html = func(*args, **kwargs)
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/template_page.py", line *86*, in `get_html`
self.init_context()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/error_page.py", line *14*, in `init_context`
super().init_context()
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/page_renderers/base_template_page.py", line *15*, in `init_context`
self.context.update(get_website_settings())
* #### File "/opt/bench/erpnext/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line *191*, in `get_website_settings`
if settings.splash_image:
> AttributeError: 'WebsiteSettings' object has no attribute 'splash_image'
Manual Install
- Make a backup of the database on your current erpnext and download it.
bench backup-all-sites
- Backup the erpnext folder e.g (bench\erpnext) to a backup drive
- Install/Reinstall ERPNext on the new server
- Copy SITES folder on the backup drive in to the new install location \Path\to\install\bench\erpnext
- Copy APPS folder on the backup drive in to the new install location \Path\to\install\bench\erpnext
- Restore backup of site “ bench restore \path\to\backup.sql.gz”
- cd in \Path\to\install\bench\erpnext and Run the following command
bench setup requirements
- Run bench start