Error While Trying To Login to ERP Page

Traceback (innermost last):
File “/home/aafpl/frappe-bench/apps/frappe/frappe/website/render.py”, line 25, in render
data = render_page_by_language(path)
File “/home/aafpl/frappe-bench/apps/frappe/frappe/website/render.py”, line 91, in render_page_by_language
return render_page(path)
File “/home/aafpl/frappe-bench/apps/frappe/frappe/website/render.py”, line 107, in render_page
return build(path)
File “/home/aafpl/frappe-bench/apps/frappe/frappe/website/render.py”, line 114, in build
return build_page(path)
File “/home/aafpl/frappe-bench/apps/frappe/frappe/website/render.py”, line 127, in build_page
context = get_context(path)
File “/home/aafpl/frappe-bench/apps/frappe/frappe/website/context.py”, line 16, in get_context
context = build_context(context)
File “/home/aafpl/frappe-bench/apps/frappe/frappe/website/context.py”, line 54, in build_context
ret = module.get_context(context)
File “/home/aafpl/frappe-bench/apps/frappe/frappe/templates/pages/desk.py”, line 21, in get_context
boot = frappe.sessions.get()
File “/home/aafpl/frappe-bench/apps/frappe/frappe/sessions.py”, line 108, in get
bootinfo[“notification_info”] = get_notification_info_for_boot()
File “/home/aafpl/frappe-bench/apps/frappe/frappe/desk/notifications.py”, line 130, in get_notification_info_for_boot
out = get_notifications()
File “/home/aafpl/frappe-bench/apps/frappe/frappe/desk/notifications.py”, line 27, in get_notifications
“open_count_other”: get_notifications_for_other(config, notification_count),
File “/home/aafpl/frappe-bench/apps/frappe/frappe/desk/notifications.py”, line 57, in get_notifications_for_other
return get_notifications_for(“for_other”, config, notification_count)
File “/home/aafpl/frappe-bench/apps/frappe/frappe/desk/notifications.py”, line 67, in get_notifications_for
open_count[m] = frappe.get_attr(notification_map[m])()
File “/home/aafpl/frappe-bench/apps/frappe/frappe/core/notifications.py”, line 55, in get_unseen_likes
and seen=0""", {“user”: frappe.session.user})[0][0]
File “/home/aafpl/frappe-bench/apps/frappe/frappe/database.py”, line 135, in sql
self._cursor.execute(query, values)
File “/home/aafpl/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 205, in execute
self.errorhandler(self, exc, value)
File “/home/aafpl/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (1054, “Unknown column ‘doc_owner’ in ‘where clause’”)

run bench update or bench migrate && bench build

It is giving the following error on running the command bench update… it is asking for a github.com login credentials

aafpl@aafpl:~$ bench update
remote: Counting objects: 784, done.
remote: Total 784 (delta 688), reused 688 (delta 688), pack-reused 96
Receiving objects: 100% (784/784), 194.58 KiB | 107.00 KiB/s, done.
Resolving deltas: 100% (689/689), completed with 290 local objects.
From https://github.com/frappe/frappe
c0b8438…3fa108b master -> upstream/master
aaa5765…cfdaf5b develop -> upstream/develop
ec35533…327961b gh-pages -> upstream/gh-pages

  • [new tag] v6.17.3 -> v6.17.3
    Already up-to-date.
    Requirement already satisfied (use --upgrade to upgrade): Pillow in ./env/lib/python2.7/site-packages
    From https://github.com/frappe/frappe
  • branch master -> FETCH_HEAD
    Updating c0b8438…3fa108b
    Fast-forward
    frappe/version.py | 2 ±
    frappe/core/doctype/communication/communication.js | 4 ±
    frappe/custom/doctype/custom_field/custom_field.py | 8 ±
    frappe/desk/like.py | 2 ±
    frappe/desk/page/setup_wizard/setup_wizard.js | 12 ±
    …/api/core/frappe.core.notifications.html | 16 +++
    frappe/docs/current/api/desk/frappe.desk.like.html | 96 +++++++++++++++
    …/api/desk/frappe.desk.notifications.html | 32 +++++
    frappe/docs/current/api/desk/index.txt | 2 ±
    frappe/docs/current/api/frappe.sessions.html | 2 ±
    …/current/api/model/frappe.model.db_query.html | 16 +±
    …/current/api/model/frappe.model.document.html | 18 ±-
    …/api/utils/frappe.utils.bench_helper.html | 2 ±
    …/docs/current/api/utils/frappe.utils.data.html | 16 +++
    …/api/website/frappe.website.template.html | 131 ---------------------
    frappe/docs/current/api/website/index.txt | 1 -
    frappe/docs/current/index.html | 2 ±
    frappe/docs/current/models/core/comment.html | 3 ±
    frappe/docs/current/models/core/communication.html | 14 —
    frappe/docs/current/models/core/user.html | 6 ±
    frappe/docs/current/models/desk/feed.html | 66 +++++++++±
    frappe/hooks.py | 2 ±
    frappe/model/utils/rename_field.py | 2 ±
    frappe/public/js/frappe/desk.js | 2 ±
    frappe/public/js/frappe/form/control.js | 9 ±
    frappe/public/js/frappe/form/layout.js | 58 ++++±—
    frappe/public/js/frappe/form/toolbar.js | 5 ±
    frappe/public/js/frappe/list/list_item_main.html | 2 ±
    …/public/js/frappe/list/list_item_main_head.html | 2 ±
    frappe/public/js/frappe/list/listview.js | 4 ±
    frappe/utils/scheduler.py | 2 ±
    setup.py | 2 ±
    32 files changed, 324 insertions(+), 217 deletions(-)
    create mode 100644 frappe/docs/current/api/desk/frappe.desk.like.html
    delete mode 100644 frappe/docs/current/api/website/frappe.website.template.html
    remote: Counting objects: 128, done.
    remote: Total 128 (delta 107), reused 107 (delta 107), pack-reused 21
    Receiving objects: 100% (128/128), 12.98 KiB | 0 bytes/s, done.
    Resolving deltas: 100% (113/113), completed with 88 local objects.
    From https://github.com/frappe/erpnext
  • branch master -> FETCH_HEAD
    88e709e…570d178 master -> upstream/master
    Updating 88e709e…570d178
    Fast-forward
    erpnext/version.py | 2 ±
    …/account/chart_of_accounts/chart_of_accounts.py | 30 ++±–
    …/budget_variance_report.js | 9 ±
    erpnext/buying/doctype/supplier/supplier.js | 4 ±
    erpnext/config/desktop.py | 6 ±
    erpnext/crm/doctype/opportunity/opportunity.js | 4 ±
    erpnext/docs/current/index.html | 2 ±
    …/models/accounts/payment_reconciliation.html | 8 ±
    …/current/models/accounts/shipping_rule.html | 9 –
    erpnext/docs/current/models/hr/employee.html | 88 ++++++±--------
    erpnext/docs/current/models/hr/salary_slip.html | 48 ++±-----
    …/docs/current/models/stock/delivery_note.html | 55 +++±-----
    …/current/models/stock/delivery_note_item.html | 14 —
    …/current/models/stock/purchase_receipt.html | 39 ++±—
    …/models/stock/purchase_receipt_item.html | 26 +±–
    erpnext/hooks.py | 2 ±
    erpnext/hr/doctype/employee/employee.json | 112 +++++++++++++++±----
    …/hr/doctype/process_payroll/process_payroll.py | 6 ±
    erpnext/hr/doctype/salary_slip/salary_slip.json | 79 ++++++±-------
    erpnext/projects/doctype/task/task.js | 4 ±
    erpnext/public/js/controllers/transaction.js | 18 +±-
    erpnext/public/js/financial_statements.js | 7 ±
    erpnext/public/js/stock_analytics.js | 10 ±
    erpnext/public/js/templates/address_list.html | 2 ±
    erpnext/public/js/templates/contact_list.html | 2 ±
    erpnext/selling/doctype/customer/customer.js | 2 ±
    erpnext/selling/doctype/customer/customer.py | 14 +±
    erpnext/selling/page/sales_funnel/sales_funnel.js | 2 ±
    erpnext/selling/page/sales_funnel/sales_funnel.py | 10 ±
    …sales_person_target_variance_item_group_wise.js | 9 ±
    …/territory_target_variance_item_group_wise.js | 9 ±
    erpnext/setup/doctype/company/company.py | 14 ±-
    …/stock/doctype/delivery_note/delivery_note.js | 6 ±
    …/doctype/purchase_receipt/purchase_receipt.js | 4 ±
    erpnext/stock/get_item_details.py | 2 ±
    …/stock_projected_qty/stock_projected_qty.py | 8 ±
    erpnext/support/doctype/issue/issue.js | 4 ±
    setup.py | 2 ±
    38 files changed, 333 insertions(+), 339 deletions(-)
    From https://github.com/frappe/frappe_theme
  • branch master -> FETCH_HEAD
    Already up-to-date.
    From https://github.com/frappe/translator
  • branch master -> FETCH_HEAD
    Already up-to-date.
    From https://github.com/frappe/poll
  • branch master -> FETCH_HEAD
    Already up-to-date.
    From https://github.com/frappe/paypal_integration
  • branch master -> FETCH_HEAD
    Already up-to-date.
    From https://github.com/frappe/erpnext_shopify
  • branch master -> FETCH_HEAD
    Already up-to-date.
    Username for ‘https://github.com’: frappe
    Password for ‘https://frappe@github.com’:
    remote: Invalid username or password.
    fatal: Authentication failed for ‘https://github.com/frappe/website_chat/
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 9, in
    load_entry_point(‘bench==0.92’, ‘console_scripts’, ‘bench’)()
    File “/home/aafpl/bench-repo/bench/cli.py”, line 60, in cli
    bench()
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 664, in call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 644, in main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 464, in invoke
    return callback(*args, **kwargs)
    File “/home/aafpl/bench-repo/bench/cli.py”, line 241, in _update
    update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
    File “/home/aafpl/bench-repo/bench/cli.py”, line 256, in update
    pull_all_apps(bench=bench_path)
    File “/home/aafpl/bench-repo/bench/app.py”, line 90, in pull_all_apps
    exec_cmd(“git pull {rebase} upstream {branch}”.format(rebase=rebase, branch=get_current_branch(app, bench=bench)), cwd=app_dir)
    File “/home/aafpl/bench-repo/bench/utils.py”, line 105, in exec_cmd
    raise CommandFailedError(cmd)
    bench.utils.CommandFailedError: git pull upstream master
    aafpl@aafpl:~$

this repository dont exists but are referenced by your apps https://github.com/frappe/website_chat/

Please suggest how to remove it.

Sent from my Sony Xperia™ smartphone

Try seeing bench --help