Well. I too deleted it earlier. But it recreates itself. So same problem occured again.
So i took ownership of the file and it worked.
Now as soon as I make my first login using Administrator and password, I get a pop up message saying
Redis cache server not running. Please contact Administrator / tech support
is it possible that the hanging later in the setup is related to this problem?
I have exact problem also; the setup is stuck and the ‘smoothie cup’ keeps bouncing with the ‘setting up’ there after the notifications popup. Please erpnext team; I know it’s demanding supporting thousands; but this very problem is critical 'cus we can’t even get in at all. Let this one be fixed; we’ve done ‘develop’, ‘upgrade’, still stuck at that point. Please help.
Yeah, thats my problem too…Please team help us poor fellas
Yeah; been on it for hours; first the black screen then ran the update now this. Let’s pray it’s sorted soon. Thanks team.
Noetico do you have any other version of ERPNEXT running on your local ?
For me any version will do
Tried all of them, Please help
@msuworld. I lost all! I just have one with a friend; I can get that on monday. I updated my local and they all got broken; had 3 images running; each failed after running bench update a few days ago; got stuck at ‘updating we will be back in a few moments’. I downloaded the latest vm yesterday; not working. So I’m not with a working erpnext now; unbelievable. I don’t also know how to export my data off the instance I was using so I could import when I have a version working.
Can someone please tell me what the superuser password is for the vm?
Also. There’s something wrong with the message that pops up on completing the setup forms; it mentions an address template; there’s no part of the setup form asking for an address. I think If this code is problematic; erpnext dev team should allow us skip it and just login and setup from the various modules. @rmehta please have your team skip this initial setup as an option so we can login and setup manually from the modules; this initial setup is broken.
I downloaded and tried v5 vm just two days ago and it was working fine
I also think so, once i was able to bypass this setup forms, but after stopping server and restarting again it again popped up. Dear Team Can you please help us the way to skip this setup forms.
It would be very kind of you.
Can you share your javascript trace when the setup fails?
Hi, Mehta, isn’t failing Its stuck on the dancing screen, i found this on firebug,
Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More]
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. desk
"Traceback (innermost last):
File “/home/msu/frappe-bench9/apps/frappe/frappe/app.py”, line 51, in application
response = frappe.handler.handle()
File “/home/msu/frappe-bench9/apps/frappe/frappe/handler.py”, line 62, in handle
execute_cmd(cmd)
File “/home/msu/frappe-bench9/apps/frappe/frappe/handler.py”, line 85, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/msu/frappe-bench9/apps/frappe/frappe/init.py”, line 718, in call
return fn(*args, **newargs)
File “/home/msu/frappe-bench9/apps/erpnext/erpnext/setup/page/setup_wizard/setup_wizard.py”, line 36, in setup_account
update_user_name(args)
File “/home/msu/frappe-bench9/apps/erpnext/erpnext/setup/page/setup_wizard/setup_wizard.py”, line 108, in update_user_name
“last_name”: args.get(“last_name”)
File “/home/msu/frappe-bench9/apps/frappe/frappe/model/document.py”, line 194, in insert
self.run_post_save_methods()
File “/home/msu/frappe-bench9/apps/frappe/frappe/model/document.py”, line 558, in run_post_save_methods
self.run_method(“on_update”)
File “/home/msu/frappe-bench9/apps/frappe/frappe/model/document.py”, line 506, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/msu/frappe-bench9/apps/frappe/frappe/model/document.py”, line 619, in composer
return composed(self, method, *args, **kwargs)
File “/home/msu/frappe-bench9/apps/frappe/frappe/model/document.py”, line 602, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/msu/frappe-bench9/apps/frappe/frappe/model/document.py”, line 500, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/msu/frappe-bench9/apps/frappe/frappe/core/doctype/user/user.py”, line 82, in on_update
self.send_password_notifcation(new_password)
File “/home/msu/frappe-bench9/apps/frappe/frappe/core/doctype/user/user.py”, line 113, in send_password_notifcation
self.send_welcome_mail()
File “/home/msu/frappe-bench9/apps/frappe/frappe/core/doctype/user/user.py”, line 165, in send_welcome_mail
{“link”: link})
File “/home/msu/frappe-bench9/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/msu/frappe-bench9/apps/frappe/frappe/init.py”, line 313, in sendmail
cc=cc, message_id=message_id)
File “/home/msu/frappe-bench9/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/msu/frappe-bench9/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/msu/frappe-bench9/apps/frappe/frappe/email/email_body.py”, line 64, in set_html
formatted = get_formatted_html(self.subject, message, footer, print_html)
File “/home/msu/frappe-bench9/apps/frappe/frappe/email/email_body.py”, line 216, in get_formatted_html
“footer”: get_footer(footer),
File “/home/msu/frappe-bench9/apps/frappe/frappe/email/email_body.py”, line 228, in get_footer
email_account = get_outgoing_email_account(False)
File “/home/msu/frappe-bench9/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/msu/frappe-bench9/apps/frappe/frappe/init.py”, line 237, in throw
msgprint(msg, raise_exception=exc)
File “/home/msu/frappe-bench9/apps/frappe/frappe/init.py”, line 230, in msgprint
_raise_exception()
File “/home/msu/frappe-bench9/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:178
TypeError: xhr is undefined
Thanks a lot for your time on looking into this.
Best Regards
Shihab
Mine started working; I also noticed first off; for the black screen; clearing the browser’s history took care of that. Here’s what I think works before any patches; download the vm (for those using this); don’t update before running it; just run first; if you get the black screen; then clean up your browser; run and setup then update. I still think there should be a direct login on first use and manual setup from module; more like an ‘advanced user’ scenario. It will help even beginners cross the setup bug. Thanks erpnext! Solid update! V5!
@msuworld, I just installed a 2nd instance. Just clear your browser’s cache and the setup completes; even the black screen issue. Works.
I too am getting stuck at the setup with the same error as posted above by Shihab.
noetico can you help me please help how you resolve this issue ? I have tried clearing cache, restarting browser didn’t help. Do you have skype, my skype msu_cse_kuet. It would be great to get help on this.
Many thanks for your suggestion.
I think noetico is talking about vm setup. It is working fine for me as well. I am having problems with a fresh install on Ubuntu.
One tip. After vm installation I was having problems accessing erpnext using Chrome. Using Firefox worked.