Hi,
Yes, will try.
But, I think it was because I had a different default page for the website. I changed it to one of the standard types (login), and I was able to go a little further away.
Now I get:
Executing erpnext.patches.v4_4.make_email_accounts in site1.local (1bd3e0294d)
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 77, in <module>
main()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 14, in main
click.Group(commands=commands)(prog_name='bench')
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/commands.py", line 28, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/commands.py", line 203, in migrate
frappe.modules.patch_handler.run_all()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 25, in run_all
if not run_single(patchmodule = patch):
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 52, in run_single
return execute_patch(patchmodule, method, methodargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 68, in execute_patch
frappe.get_attr(patchmodule.split()[0] + ".execute")()
File "/home/erpnext/frappe-bench/apps/erpnext/erpnext/patches/v4_4/make_email_accounts.py", line 4, in execute
frappe.reload_doc("email", "doctype", "email_account")
File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 513, in reload_doc
return frappe.modules.reload_doc(module, dt, dn, force=force)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/__init__.py", line 37, in reload_doc
return import_files(module, dt, dn, force=force)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 17, in import_files
return import_file(module, dt, dn, force=force)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 22, in import_file
ret = import_file_by_path(path, force)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 54, in import_file_by_path
import_doc(doc, force=force, data_import=data_import)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 120, in import_doc
doc.insert()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 183, in insert
self.run_post_save_methods()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 518, in run_post_save_methods
self.run_method("on_update")
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 466, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 577, in composer
return composed(self, method, *args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 560, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 460, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 115, in on_update
module = load_doctype_module(self.name, self.module)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/__init__.py", line 62, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(get_module_name(doctype, module, prefix))
File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 522, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 10, in <module>
from frappe.email.receive import POP3Server, Email
File "/home/erpnext/frappe-bench/apps/frappe/frappe/email/receive.py", line 11, in <module>
from email_reply_parser import EmailReplyParser
ImportError: No module named email_reply_parser
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench==0.1', 'console_scripts', 'bench')()
File "/home/erpnext/bench-repo/bench/cli.py", line 55, in cli
bench()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
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 invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/home/erpnext/bench-repo/bench/cli.py", line 244, in update
patch_sites()
File "/home/erpnext/bench-repo/bench/utils.py", line 117, in patch_sites
run_frappe_cmd('--site', 'all', 'migrate', bench=bench)
File "/home/erpnext/bench-repo/bench/utils.py", line 422, in run_frappe_cmd
subprocess.check_call((f, '-m', 'frappe.utils.bench_helper', 'frappe') + args, cwd=sites_dir)
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('/home/erpnext/frappe-bench/env/bin/python', '-m', 'frappe.utils.bench_helper', 'frappe', '--site', 'all', 'migrate')' returned non-zero exit status 1
Should I have deleted all email settings as before (outgoing email settings was giving troubles)
Many thanks and kind regards,