Https://demo.erpnext.com requires login?

https://demo.erpnext.com requires login?

1 Like

beta.erpnext.com

does not require a login

2 Likes

You can hardly test anything there though. Its like for View-Only purposes.

1 Like

Normally demo and beta run with no login required.

But right now while beta runs ok with no login, demo does not - it refuses to run without user login.

I informed support@erpnext.com about this.

1 Like

Reported here demo.erpnext.com requires login!? · Issue #16240 · frappe/erpnext · GitHub

2 Likes

How was this solved? The issue still persists on the demo link.

Indeed yes my error not fixed -

I have reopened this thanks

1 Like

ok for me access to both demo and beta login fails to work?

Please would anyone else confirm thanks!

In the case of the beta instance, the page ERPNext Demo fails to progress past ‘Logging in…’

Found this error in console for beta.erpnext.com

POST https://beta.erpnext.com/ 500 (INTERNAL SERVER ERROR)

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 58, in application
    init_request(request)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 120, in init_request
    frappe.local.http_request = frappe.auth.HTTPRequest()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 51, in __init__
    frappe.local.login_manager = LoginManager()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 105, in __init__
    if self.login()==False: return
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 131, in login
    self.post_login()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 138, in post_login
    self.make_session()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 182, in make_session
    full_name=self.full_name, user_type=self.user_type)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 200, in __init__
    self.start()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 217, in start
    "session_expiry": get_expiry_period(self.device),
  File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 381, in get_expiry_period
    exp_sec = frappe.defaults.get_global_default(key) or default
  File "/home/frappe/frappe-bench/apps/frappe/frappe/defaults.py", line 105, in get_global_default
    if not_in_user_permission(key, value):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/defaults.py", line 61, in not_in_user_permission
    user_permission = get_user_permissions(user).get(frappe.unscrub(key)) or []
  File "/home/frappe/frappe-bench/apps/frappe/frappe/defaults.py", line 74, in get_user_permissions
    return _get_user_permissions(user)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/user_permission/user_permission.py", line 67, in get_user_permissions
    filters=dict(user=user)):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1268, in get_all
    return get_list(doctype, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1241, in get_list
    return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py", line 93, in execute
    result = self.build_and_run()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py", line 117, in build_and_run
    return frappe.db.sql(query, as_dict=not self.as_list, debug=self.debug, update=self.update)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/database.py", line 210, in sql
    self._cursor.execute(query)
  File "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/pymysql/cursors.py", line 165, in execute
    result = self._query(query)
  File "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/pymysql/cursors.py", line 321, in _query
    conn.query(q)
  File "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/pymysql/connections.py", line 860, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  File "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/pymysql/connections.py", line 1061, in _read_query_result
    result.read()
  File "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/pymysql/connections.py", line 1349, in read
    first_packet = self.connection._read_packet()
  File "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/pymysql/connections.py", line 1018, in _read_packet
    packet.check_error()
  File "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/pymysql/connections.py", line 384, in check_error
    err.raise_mysql_exception(self._data)
  File "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.InternalError: (1054, "Unknown column 'applicable_for' in 'field list'")

Thanks Jatin! The problem may be beta runs 3.4 while just 2.7 and 3.6 are supported Travis CI - Test and Deploy Your Code with Confidence

edit: ok that traceback you got from ‘bench console’!? Any clues to what magic you did to get that would be appreciated!

No. I tried to log into beta.erpnext.com and opened the browser console to catch any errors that were occuring.

Thanks -

It seems beta.erpnext.com Launch Demo now runs as expected

ERPNext: v11.0.3-beta.32 () (staging)
Frappe Framework: v11.0.3-beta.46 () (staging)

Wind Power now reports assets of 2 trillion dollars :slight_smile:

demo.erpnext.com requires login - but beta will do instead

2 Likes

It seems beta.erpnext.com is not alive anymore, has it been abandoned? and demo.erpnext.com redirects to Not Found.

You will have to click on one of the domains which will redirect you to a demo account.