Unable to start ERPNext fter update from 8.xx to 9.xx

Excellent , thanks for reporting this -

There seem to be two or three problems:
with ‘route’ and rendering a page for various languages?
with 'monthly_sales_target’ and desktop notifications.
and this third problem here:

html = frappe.render_template(context.source, context)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/jinja.py”, line 50, in render_template
return get_jenv().from_string(template).render(context)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 989, in render
return self.environment.handle_exception(exc_info, True)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File “”, line 1, in top-level template code
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/web.html”, line 1, in top-level template code
{% extends base_template_path %}
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/base.html”, line 100, in top-level template code
{%- block script %}{%- endblock %}
File “”, line 90, in block “script”
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/includes/login/login.js”, line 58, in top-level template code
args.cmd = “{{ ldap_settings.method }}”;
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 408, in getattr
return getattr(obj, attribute)
UndefinedError: ‘ldap_settings’ is undefined

So your update and migrate completed and you resolved any errors.

But then you got this after you started up the server? You got a login screen and successfully logged in and then what did you do before you got this?

I could never login on the local host:8080

I reported your issue here on v8 to v9 upgrade: login ldap setttings undefined & unknown columns ‘monthly_sales_target’ & 'route' · Issue #11404 · frappe/erpnext · GitHub

I forgot to confirm after ‘bench update’ you ran ‘bench migrate’ correct?

After running bench migrate I am getting the following traceback error when I try to login in the browser by typing localhost:8080/desk# @clarkej

Server Error
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 54, in application
init_request(request)
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 116, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 53, in init
frappe.local.login_manager = LoginManager()
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 115, in init
self.make_session(resume=True)
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 178, in make_session
full_name=self.full_name, user_type=self.user_type)
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 219, in init
self.resume()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 274, in resume
data = self.get_session_record()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 291, in get_session_record
r = self.get_session_data()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 307, in get_session_data
data = self.get_session_data_from_db()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 339, in get_session_data_from_db
self.delete_session()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 351, in delete_session
delete_session(self.sid, reason=“Session Expired”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 106, in delete_session
logout_feed(user, reason)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/communication/feed.py”, line 64, in logout_feed
add_authentication_log(subject, user, operation=“Logout”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/authentication_log/authentication_log.py”, line 22, in add_authentication_log
}).insert(ignore_permissions=True)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 211, in insert
self.run_method(“before_insert”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 705, in run_method
run_webhooks(self, method)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/webhook/init.py”, line 21, in run_webhooks
fields=[“name”, “webhook_docevent”, “webhook_doctype”])
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1173, in get_all
return get_list(doctype, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1146, 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 88, in execute
result = self.build_and_run()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 100, in build_and_run
args = self.prepare_args()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 117, in prepare_args
self.set_optional_columns()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 218, in set_optional_columns
columns = frappe.db.get_table_columns(self.doctype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 823, in get_table_columns
return self.get_db_table_columns(‘tab’ + doctype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 819, in get_db_table_columns
return [r[0] for r in self.sql(“DESC %s” % table)]
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 163, in sql
self._cursor.execute(query)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 250, in execute
self.errorhandler(self, exc, value)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 50, in defaulterrorhandler
raise errorvalue
ProgrammingError: (1146, “Table ‘d56cb677eaab3383.tabWebhook’ doesn’t exist”)

Maybe try to reload that missing table?

For eg Error after update (tabLanguage doesnt exist) - #5 by noetico

Amarjeet_Singh_Sintu,

Issue #11404 remains open, so if you no longer get the errors it refers to, please let me know and I will close it, thanks

I’m also getting same issue. Trying with VM.

Thanks for your reply… I am unfortunately still getting the same errors. Was outstion…sorry for delay in reply.

1 Like

You tried to reload tabWebhook and still not found?

I am still finding out how do I do that? If you can be so nice please elaborate to the uninitiated plz…

I saw the below commands from your link. I am going to try it just now then I will give you feedback thanks @clarkej

shreyaspNov '16
@noetico

bench --site your_site console
In console: frappe.reload_doc(‘core’, ‘doctype’, ‘language’)
frappe.db.commit()
then proceed with bench --site your_site migrate

Like this:

frappe@erpnext:~/frappe-bench$ bench console
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
Type “copyright”, “credits” or “license” for more information.
IPython 5.1.0 – An enhanced Interactive Python.
? → Introduction and overview of IPython’s features.
%quickref → Quick reference.
help → Python’s own help system.
object? → Details about ‘object’, use ‘object??’ for extra details.

In [1]: frappe.reload_doc(“integrations”, “doctype”, “webhook”)

1

That’s good progress, now check the logs for signs of an error…

For me, it’s:

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 54, in application
    init_request(request)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 116, in init_request
    frappe.local.http_request = frappe.auth.HTTPRequest()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 53, in __init__
    frappe.local.login_manager = LoginManager()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 111, in __init__
    self.run_trigger('on_session_creation')
  File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 232, in run_trigger
    frappe.call(frappe.get_attr(method), login_manager=self)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 935, in call
    return fn(*args, **newargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/communication/feed.py", line 59, in login_feed
    add_authentication_log(subject, login_manager.user)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/authentication_log/authentication_log.py", line 22, in add_authentication_log
    }).insert(ignore_permissions=True)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 211, in insert
    self.run_method("before_insert")
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 705, in run_method
    run_webhooks(self, method)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/webhook/__init__.py", line 21, in run_webhooks
    fields=["name", "webhook_docevent", "webhook_doctype"])
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1173, in get_all
    return get_list(doctype, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1146, 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 88, in execute
    result = self.build_and_run()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py", line 100, in build_and_run
    args = self.prepare_args()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py", line 117, in prepare_args
    self.set_optional_columns()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py", line 218, in set_optional_columns
    columns = frappe.db.get_table_columns(self.doctype)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/database.py", line 823, in get_table_columns
    return self.get_db_table_columns('tab' + doctype)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/database.py", line 819, in get_db_table_columns
    return [r[0] for r in self.sql("DESC `%s`" % table)]
  File "/home/frappe/frappe-bench/apps/frappe/frappe/database.py", line 163, in sql
    self._cursor.execute(query)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 250, in execute
    self.errorhandler(self, exc, value)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
    raise errorvalue
ProgrammingError: (1146, "Table 'd56cb677eaab3383.tabWebhook' doesn't exist")

That’s not end. Here is screenshot when I applied below command in bench console as suggested above i.e.
In [1]: frappe.reload_doc(“integrations”, “doctype”, “webhook”)

‎Ok… to know your site name; enter th terminal if you don’t have gui… do

Cd /home and hit enter from wherever you are

Then…
Cd frappe/frappe-bench/sites

Your site should be something like site1.local or maybe some other name like erpnext.vm if you got a vm image.

So the site name you can then use in the command.

Like this

Bench --site site1.local console

Hit enter.

Then continue.

One of the logs file; frappe.txt shows following traceback:

[DEBUG] 2017-11-01 03:39:18,290 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 03:43:19,397 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 03:47:19,475 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 03:51:20,517 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 03:55:21,570 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 03:59:22,629 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:03:23,695 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:07:24,711 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:11:25,720 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:15:26,750 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:19:27,772 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:23:28,777 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:27:29,807 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:31:31,095 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:35:31,179 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:39:32,203 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:43:33,283 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:47:34,352 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:51:35,393 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:55:36,490 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 04:59:37,583 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:03:38,636 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:07:39,641 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:11:40,678 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:15:41,751 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:19:42,784 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:23:43,909 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:27:45,025 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:31:46,470 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:35:47,551 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:39:48,660 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:43:49,781 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:47:50,830 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:51:51,280 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:55:52,393 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 05:59:53,471 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:03:53,554 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:07:54,610 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:11:55,688 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:15:56,872 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:19:57,923 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:24:22,740 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:28:22,856 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:32:24,354 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:36:25,456 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:40:26,513 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:44:27,525 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:48:28,556 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:52:29,603 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 06:56:30,654 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:00:31,665 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:04:32,771 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:08:33,810 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:12:34,900 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:16:35,946 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:20:36,960 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:24:37,974 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:28:39,000 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:32:40,269 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:36:40,319 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:40:41,341 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:44:42,403 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:48:43,464 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:52:44,494 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 07:56:45,560 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 08:00:46,622 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 08:04:48,107 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 08:08:49,129 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 08:12:50,151 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 08:19:32,144 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-01 08:23:33,210 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-03 05:59:20,115 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-03 06:03:20,317 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-03 06:07:20,471 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-03 06:11:21,520 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-03 06:22:15,049 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-03 06:26:16,006 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-03 06:30:17,023 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm
[DEBUG] 2017-11-03 06:34:18,024 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: erpnext.vm
Queued events for site erpnext.vm

No those are not tracebacks, they are identified like this:

Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 174, in runmodule_as_main
“main”, fname, loader, pkg_name)

The bottom of the traceback typically has an Exception or Error message with clue to highlight hopefully the problem…

Also please rather than post pages of logs, to try to digest and focus on their content to get to the root of the problem, thanks…

Hello @clarkej, might you missed my comment: Unable to start ERPNext fter update from 8.xx to 9.xx - #29 by aaimaa .

This contains Traceback as well as a screenshot. This comment is just to bump, might you missed my comment.