I am stuck on Ubuntu, I checked that on Clearing Cache some HTTP Post events ocurring on console but didn’t finish my setup yet SO much frustrated here, something is wrong guys
Hello Mehta , Pratik and noetico,
I have done with the Setup, but after the filling out the setup forms, its stuck on the ‘smoothie cup’ keeps bouncing with the ‘setting up’ there after the notifications popup. Its been there for hours,
I have tried a lot things, bench update, bench patch and everything mentioned in the above posts including clearing cache too, but its stuck there. Can you please help guys how to bypass or get over this setup forms and go to the ERP next modules. It will help me to browse the through the modules and getting the ready the system for development for me.
Many many thanks for all of your support.
Best Regards
Shihab
Following is the output from Chrome Javascript console
POST http://192.168.1.7/ 417 (EXPECTATION FAILED)
desk.min.js:178 Traceback (innermost last):
File “/home/satishg/frappe-bench/apps/frappe/frappe/app.py”, line 51, in application
response = frappe.handler.handle()
File “/home/satishg/frappe-bench/apps/frappe/frappe/handler.py”, line 62, in handle
execute_cmd(cmd)
File “/home/satishg/frappe-bench/apps/frappe/frappe/handler.py”, line 85, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/satishg/frappe-bench/apps/frappe/frappe/init.py”, line 718, in call
return fn(*args, **newargs)
File “/home/satishg/frappe-bench/apps/erpnext/erpnext/setup/page/setup_wizard/setup_wizard.py”, line 36, in setup_account
update_user_name(args)
File “/home/satishg/frappe-bench/apps/erpnext/erpnext/setup/page/setup_wizard/setup_wizard.py”, line 108, in update_user_name
“last_name”: args.get(“last_name”)
File “/home/satishg/frappe-bench/apps/frappe/frappe/model/document.py”, line 194, in insert
self.run_post_save_methods()
File “/home/satishg/frappe-bench/apps/frappe/frappe/model/document.py”, line 558, in run_post_save_methods
self.run_method(“on_update”)
File “/home/satishg/frappe-bench/apps/frappe/frappe/model/document.py”, line 506, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/satishg/frappe-bench/apps/frappe/frappe/model/document.py”, line 619, in composer
return composed(self, method, *args, **kwargs)
File “/home/satishg/frappe-bench/apps/frappe/frappe/model/document.py”, line 602, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/satishg/frappe-bench/apps/frappe/frappe/model/document.py”, line 500, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/satishg/frappe-bench/apps/frappe/frappe/core/doctype/user/user.py”, line 82, in on_update
self.send_password_notifcation(new_password)
File “/home/satishg/frappe-bench/apps/frappe/frappe/core/doctype/user/user.py”, line 113, in send_password_notifcation
self.send_welcome_mail()
File “/home/satishg/frappe-bench/apps/frappe/frappe/core/doctype/user/user.py”, line 165, in send_welcome_mail
{“link”: link})
File “/home/satishg/frappe-bench/apps/frappe/frappe/core/doctype/user/user.py”, line 192, in send_login_mail
message=frappe.get_template(template).render(args), as_bulk=self.flags.delay_emails)
File “/home/satishg/frappe-bench/apps/frappe/frappe/init.py”, line 313, in sendmail
cc=cc, message_id=message_id)
File “/home/satishg/frappe-bench/apps/frappe/frappe/email/init.py”, line 19, in sendmail
mail = get_email(recipients, sender, content or msg, subject, attachments=attachments, reply_to=reply_to, cc=cc)
File “/home/satishg/frappe-bench/apps/frappe/frappe/email/email_body.py”, line 22, in get_email
emailobj.set_html(content, text_content, footer=footer, print_html=print_html, formatted=formatted)
File “/home/satishg/frappe-bench/apps/frappe/frappe/email/email_body.py”, line 64, in set_html
formatted = get_formatted_html(self.subject, message, footer, print_html)
File “/home/satishg/frappe-bench/apps/frappe/frappe/email/email_body.py”, line 216, in get_formatted_html
“footer”: get_footer(footer),
File “/home/satishg/frappe-bench/apps/frappe/frappe/email/email_body.py”, line 228, in get_footer
email_account = get_outgoing_email_account(False)
File “/home/satishg/frappe-bench/apps/frappe/frappe/email/smtp.py”, line 58, in get_outgoing_email_account
frappe.throw(_(“Please setup default Email Account from Setup > Email > Email Account”))
File “/home/satishg/frappe-bench/apps/frappe/frappe/init.py”, line 237, in throw
msgprint(msg, raise_exception=exc)
File “/home/satishg/frappe-bench/apps/frappe/frappe/init.py”, line 230, in msgprint
_raise_exception()
File “/home/satishg/frappe-bench/apps/frappe/frappe/init.py”, line 215, in _raise_exception
raise raise_exception, encode(msg)
ValidationError: Please setup default Email Account from Setup > Email > Email Account
desk.min.js:166 Uncaught TypeError: Cannot read property ‘responseText’ of undefineddesk.min.js:166 statusCode.417desk.min.js:169 (anonymous function)jquery.min.js:2 jjquery.min.js:2 k.fireWithjquery.min.js:4 xjquery.min.js:4 (anonymous function)
I had the Same errorr Satis, Hope teams solve this and help out us.
Dear Team,
Please release a fix on this.
Thanks
Shihab
Any suggestions on how to get past the setup screen?
I just ran bench update again and still getting error about Redis cache server not running.
I now have complete access to the erpnext database. Is there any way I can directly update the default email account in the database?
This validation error has been fixed. Can you update and check?
-Anand.
Well before it was fixed I just removed both bench-repo and frappe-bench folders and reinstalled everything and it worked.
Another question. Can i restore backup of v4 to v5. I had completed all updates in v4 before taking backup.
Thanks pdvyas for answering.
However, when I run the command
bench frappe --restore database_name database_file
I am getting an error that "app frappe is not installed when in fact it is installed.
Also, when I go to “Item Group Tree” I don’t find any option to add new item. Screenshot is attached for reference
Somehow solved the “Item Group” problem. Just imported items from demo file and the option to create “New” items appeared.
ON v5,
bench --site {sitename} restore path/to/sql
Finally Installation Problem solved …thanks a lot community …many many thanks …
Do we have a directory of all bench commands and their uses or any documents or walk-through of how to use them.
Thanks
Shihab