unexpected reset: dev_state = ENABLED

36 views
Skip to first unread message

Khalid Abdu Said

unread,
Sep 19, 2014, 8:38:07 AM9/19/14
to erpnext-dev...@googlegroups.com
Hi Everybody,

I got one problem after setting up another server for development.

when i tried to log on. A server Error: message displayed, and i got the unexpected reset: dev_state = ENABLED in the syslog file.
I don't know what to do now. How to solve the problem.

Thanks
Khalid

Pratik Vyas

unread,
Sep 20, 2014, 5:58:47 AM9/20/14
to erpnext-dev...@googlegroups.com
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/389f6c32-5159-4b83-af5a-6d28fc102360%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Hi Khalid,

Frappe doesn't log to syslog.

Also, this seems to be related to your machine,
http://superuser.com/questions/753825/errors-mei-me-00000003-0-timer-connect-disconnect-timeout-after-upgrade-to

Thanks,
--
Pratik
erpnext

Khalid Abdu Said

unread,
Sep 22, 2014, 9:53:43 AM9/22/14
to erpnext-dev...@googlegroups.com
Pratik,

Actually what i  wanted was after setting up ERPnext in another server. i restore a database from existing system to the new one and check if it can work smoothly(exact replica of the existing system), as a measure for disaster recovery!
so i got the following error on login

Traceback (innermost last):
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/website/render.py", line 22, in render
    data = render_page(path)
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/website/render.py", line 101, in render_page
    return build(path)
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/website/render.py", line 110, in build
    return build_method(path)
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/website/render.py", line 123, in build_page
    context = get_context(path)
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/website/context.py", line 36, in get_context
    context = build_context(context)
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/website/context.py", line 66, in build_context
    context.update(module.get_context(context) or {})
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/templates/pages/login.py", line 20, in get_context
    if get_oauth_keys(provider):
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/templates/pages/login.py", line 89, in get_oauth_keys
    social = frappe.get_doc("Social Login Keys", "Social Login Keys")
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/__init__.py", line 350, in get_doc
    return frappe.model.document.get_doc(arg1, arg2)
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/model/document.py", line 24, in get_doc
    controller = get_controller(doctype)
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/model/document.py", line 34, in get_controller
    module = load_doctype_module(doctype)
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/modules/__init__.py", line 58, in load_doctype_module
    doctype_python_modules[key] = frappe.get_module(get_module_name(doctype, module, prefix))
  File "/home/ubuntuuser2/frappe-bench/apps/frappe/frappe/__init__.py", line 377, in get_module
    return importlib.import_module(modulename)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
 ImportError: No module named social_login_keys.social_login_keys

can i have a solution for that
Thanks

Rushabh Mehta

unread,
Sep 23, 2014, 12:57:24 AM9/23/14
to erpnext-dev...@googlegroups.com
Did you run

bench frappe --latest

on your site?


--
1. Please be kind and don't send large attachments
2. For issues, features requests use https://github.com/frappe/erpnext/issues

---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.

Khalid Abdu Said

unread,
Sep 23, 2014, 3:36:10 AM9/23/14
to erpnext-dev...@googlegroups.com
Thanks Rushab,
That is great! It is working after running bench frappe --latest. But i wonder if i should follow the following steps when ever i want to run erpnext site on this server

1. stop the supervisor and nginx services
2. cd frappe-bench
3. bench start

Thanks
Khlid


On Friday, September 19, 2014 3:38:07 PM UTC+3, Khalid Abdu Said wrote:

Rushabh Mehta

unread,
Sep 23, 2014, 4:28:45 AM9/23/14
to erpnext-dev...@googlegroups.com
On 23-Sep-2014, at 1:06 pm, Khalid Abdu Said <khal...@gmail.com> wrote:

Thanks Rushab,
That is great! It is working after running bench frappe --latest. But i wonder if i should follow the following steps when ever i want to run erpnext site on this server

1. stop the supervisor and nginx services
2. cd frappe-bench
3. bench start

I think "bench update" does all of that.


Thanks
Khlid

On Friday, September 19, 2014 3:38:07 PM UTC+3, Khalid Abdu Said wrote:
Hi Everybody,

I got one problem after setting up another server for development.

when i tried to log on. A server Error: message displayed, and i got the unexpected reset: dev_state = ENABLED in the syslog file.
I don't know what to do now. How to solve the problem.

Thanks
Khalid

--
1. Please be kind and don't send large attachments
2. For issues, features requests use https://github.com/frappe/erpnext/issues
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages