Issues Page is empty

Hello Team

I observed all logged issues both Closed and Opened issues are gone. The issue page is just blank even if i try submit new issues it summits sucessfully but i cant see them on issues page like i do before.

Any idea on how to resolve this?

Also emails no longer drop into my issue page.

Hello,

Please check support email account. Enable Incoming field should be checked.

Best,
Prakash

Thank you @prakash1 for coming through. However the option is checked already, i am not sure why the emails are not dropping to my issue page

Hello Team

l urgently need help its a production system and i cant seem to find anything on my issue page. I don’t know where all the logs and new raise issues are gone to

Please an urgent help will be appreciated

@rmehta @clarkej

Trust you are doing very well.

Please we would appreciate an urgent help with resolving this issue on our Production installation. we have just observed after our last upgrade, the issue page has been empty, new issues logged saves but don’t show up on the issue page as well.

Any recommendations on resolving this issue will be appreciated

Please share the trace from your JS console.

@rmehta thank you for your prompt response

Not sure how to share the trace from JS Console, but is this what it looks like

I don’t know about that error, but have you made any changes to a custom workflow recently?

No i haven’t. made any changes on my work flow. I have only done a bench update recently and next i observed the issue page is blank.

Hi enseal

You have cleared all caches, restarted processes, tried different browsers, checked logs.

That js trace is all you have to go on? Maybe a js ‘microservice’ callout is hung, try to reinstall js but I would have to investigate how to do that…

Yes i cleared cache at some point while troubleshooting and i have restarted processes.

Would appreciate a guide on reinstalling js

Anticipating a swift response

Best regards

So none of these indicate a problem?
frappe@erpnext:~/frappe-bench$ find . -name *error.log
./logs/node-socketio.error.log
./logs/redis-queue.error.log
./logs/redis-cache.error.log
./logs/worker.error.log
./logs/redis-socketio.error.log
./logs/schedule.error.log
./logs/web.error.log

To be on the safe side of please first backup your data.

Then try either of these:

sudo bench setup socketio

npm install socket.io redis express superagent cookie

You may have to specifically uninstall these modules first?

The above I got from a review of these and BillieM’s solution:

Thank you for your prompt response,

Please see below logs

ubuntu@ip-172-31-57-69:~$ sudo bench setup socketio
INFO:bench.utils:npm install socket.io redis express superagent cookie
npm WARN deprecated isarray@2.0.1: Just use Array.isArray directly
depd@1.1.0 node_modules/express/node_modules/depd → node_modules/depd
destroy@1.0.4 node_modules/express/node_modules/send/node_modules/destroy → node_modules/destroy
ee-first@1.1.1 node_modules/express/node_modules/on-finished/node_modules/ee-first → node_modules/ee-first
encodeurl@1.0.1 node_modules/express/node_modules/encodeurl → node_modules/encodeurl
escape-html@1.0.3 node_modules/express/node_modules/escape-html → node_modules/escape-html

  • mime-db@1.25.0 node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db
  • mime-types@2.1.13 node_modules/express/node_modules/accepts/node_modules/mime-types
  • negotiator@0.6.1 node_modules/express/node_modules/accepts/node_modules/negotiator
  • ms@0.7.1 node_modules/express/node_modules/debug/node_modules/ms
  • etag@1.7.0 node_modules/express/node_modules/etag
  • fresh@0.3.0 node_modules/express/node_modules/fresh
  • ipaddr.js@1.1.1 node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js
  • inherits@2.0.3 node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits
  • setprototypeof@1.0.2 node_modules/express/node_modules/send/node_modules/http-errors/node_modules/setprototypeof
  • mime@1.3.4 node_modules/express/node_modules/send/node_modules/mime
  • ms@0.7.1 node_modules/express/node_modules/send/node_modules/ms
  • statuses@1.3.1 node_modules/express/node_modules/send/node_modules/statuses
  • http-errors@1.5.1 node_modules/express/node_modules/send/node_modules/http-errors
  • send@0.14.1 node_modules/express/node_modules/send
  • mime-db@1.25.0 node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db
  • mime-types@2.1.13 node_modules/express/node_modules/type-is/node_modules/mime-types
    forwarded@0.1.0 node_modules/express/node_modules/proxy-addr/node_modules/forwarded → node_modules/forwarded
    media-typer@0.3.0 node_modules/express/node_modules/type-is/node_modules/media-typer → node_modules/media-typer
    on-finished@2.3.0 node_modules/express/node_modules/on-finished → node_modules/on-finished
    parseurl@1.3.1 node_modules/express/node_modules/parseurl → node_modules/parseurl
    range-parser@1.2.0 node_modules/express/node_modules/range-parser → node_modules/range-parser
    statuses@1.3.1 node_modules/express/node_modules/finalhandler/node_modules/statuses → node_modules/statuses
  • ms@0.7.2 node_modules/superagent/node_modules/debug/node_modules/ms
  • asynckit@0.4.0 node_modules/superagent/node_modules/form-data/node_modules/asynckit
  • delayed-stream@1.0.0 node_modules/superagent/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream
  • combined-stream@1.0.5 node_modules/superagent/node_modules/form-data/node_modules/combined-stream
  • mime-db@1.25.0 node_modules/superagent/node_modules/form-data/node_modules/mime-types/node_modules/mime-db
  • mime-types@2.1.13 node_modules/superagent/node_modules/form-data/node_modules/mime-types
  • buffer-shims@1.0.0 node_modules/superagent/node_modules/readable-stream/node_modules/buffer-shims
  • core-util-is@1.0.2 node_modules/superagent/node_modules/readable-stream/node_modules/core-util-is
  • inherits@2.0.3 node_modules/superagent/node_modules/readable-stream/node_modules/inherits
  • isarray@1.0.0 node_modules/superagent/node_modules/readable-stream/node_modules/isarray
  • process-nextick-args@1.0.7 node_modules/superagent/node_modules/readable-stream/node_modules/process-nextick-args
  • string_decoder@0.10.31 node_modules/superagent/node_modules/readable-stream/node_modules/string_decoder
  • util-deprecate@1.0.2 node_modules/superagent/node_modules/readable-stream/node_modules/util-deprecate
    unpipe@1.0.0 node_modules/express/node_modules/finalhandler/node_modules/unpipe → node_modules/unpipe
    array-flatten@1.1.1 node_modules/express/node_modules/array-flatten → node_modules/array-flatten
    content-type@1.0.2 node_modules/express/node_modules/content-type → node_modules/content-type
    cookie-signature@1.0.6 node_modules/express/node_modules/cookie-signature → node_modules/cookie-signature
    double-ended-queue@2.1.0-0 node_modules/redis/node_modules/double-ended-queue → node_modules/double-ended-queue
  • accepts@1.3.3 node_modules/express/node_modules/accepts
  • content-disposition@0.5.1 node_modules/express/node_modules/content-disposition
  • finalhandler@0.5.0 node_modules/express/node_modules/finalhandler
  • proxy-addr@1.1.2 node_modules/express/node_modules/proxy-addr
  • qs@6.2.0 node_modules/express/node_modules/qs
  • serve-static@1.11.1 node_modules/express/node_modules/serve-static
  • type-is@1.6.14 node_modules/express/node_modules/type-is
  • vary@1.1.0 node_modules/express/node_modules/vary
    merge-descriptors@1.0.1 node_modules/express/node_modules/merge-descriptors → node_modules/merge-descriptors
    methods@1.1.2 node_modules/express/node_modules/methods → node_modules/methods
    path-to-regexp@0.1.7 node_modules/express/node_modules/path-to-regexp → node_modules/path-to-regexp
  • redis-commands@1.3.0 node_modules/redis/node_modules/redis-commands
  • redis-parser@2.3.0 node_modules/redis/node_modules/redis-parser
  • component-emitter@1.2.1 node_modules/superagent/node_modules/component-emitter
  • cookiejar@2.1.0 node_modules/superagent/node_modules/cookiejar
  • debug@2.4.1 node_modules/superagent/node_modules/debug
  • extend@3.0.0 node_modules/superagent/node_modules/extend
  • form-data@2.1.2 node_modules/superagent/node_modules/form-data
  • formidable@1.0.17 node_modules/superagent/node_modules/formidable
  • methods@1.1.2 node_modules/superagent/node_modules/methods
  • mime@1.3.4 node_modules/superagent/node_modules/mime
  • qs@6.3.0 node_modules/superagent/node_modules/qs
  • readable-stream@2.2.2 node_modules/superagent/node_modules/readable-stream
    utils-merge@1.0.0 node_modules/express/node_modules/utils-merge → node_modules/utils-merge
    /home/ubuntu/frappe-bench
    ├─┬ express@4.15.3
    │ ├── content-disposition@0.5.2
    │ ├── cookie@0.3.1
    │ ├─┬ debug@2.6.7
    │ │ └── ms@2.0.0
    │ ├── etag@1.8.0
    │ ├─┬ finalhandler@1.0.3
    │ │ └─┬ debug@2.6.7
    │ │ └── ms@2.0.0
    │ ├── fresh@0.5.0
    │ ├─┬ proxy-addr@1.1.4
    │ │ └── ipaddr.js@1.3.0
    │ ├─┬ send@0.15.3
    │ │ ├── debug@2.6.7
    │ │ ├── http-errors@1.6.1
    │ │ └── ms@2.0.0
    │ ├── serve-static@1.12.3
    │ ├── setprototypeof@1.0.3
    │ ├── type-is@1.6.15
    │ └── vary@1.1.1
    ├─┬ redis@2.7.1
    │ ├── redis-commands@1.3.1
    │ └── redis-parser@2.6.0
    ├── socket.io@2.0.1
    └─┬ superagent@3.5.2
    ├── cookiejar@2.1.1
    └── formidable@1.1.1

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN enoent ENOENT: no such file or directory, open ‘/home/ubuntu/frappe-bench/package.json’
npm WARN frappe-bench No description
npm WARN frappe-bench No repository field.
npm WARN frappe-bench No README data
npm WARN frappe-bench No license field.

That looks ok - including the WARN I understand.

From your web console log maybe just a permissions problem!?

i really do appreciate your help so far but i just noticed i get this error now when i try to save new issue

i tried run a bench update but there is an error in between

ubuntu@ip-172-31-57-69:~$ bench restart
INFO:bench.utils:sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
frappe-bench-frappe-schedule: stopped
frappe-bench-frappe-default-worker-0: stopped
frappe-bench-frappe-long-worker-0: stopped
frappe-bench-frappe-short-worker-0: stopped
frappe-bench-frappe-web: stopped
frappe-bench-node-socketio: stopped
frappe-bench-frappe-schedule: started
frappe-bench-frappe-default-worker-0: started
frappe-bench-frappe-long-worker-0: started
frappe-bench-frappe-short-worker-0: started
frappe-bench-node-socketio: ERROR (abnormal termination)
frappe-bench-frappe-web: started
ubuntu@ip-172-31-57-69:~$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
remote: Counting objects: 774, done.
remote: Compressing objects: 100% (79/79), done.
remote: Total 774 (delta 660), reused 621 (delta 620), pack-reused 75
Receiving objects: 100% (774/774), 1.93 MiB | 0 bytes/s, done.
Resolving deltas: 100% (661/661), completed with 231 local objects.
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
5520a5b…787666f master → upstream/master
5520a5b…787666f develop → upstream/develop
8c05b38…5b4c502 gh-pages → upstream/gh-pages
47321e4…d6654f4 hotfix → upstream/hotfix

  • [new tag] v8.0.47 → v8.0.47
  • [new tag] v8.0.46 → v8.0.46
    INFO:bench.utils:./env/bin/pip install Pillow
    Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
    INFO:bench.app:pulling frappe
    INFO:bench.utils:git pull upstream master
    From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
  • branch master → FETCH_HEAD
    Updating 5520a5b…787666f
    Fast-forward
    frappe/init.py | 2 ±
    frappe/core/page/data_import_tool/README.md | 2 ±
    …/page/data_import_tool/data_import_main.html | 12 ±
    …/core/page/data_import_tool/data_import_tool.js | 7 ±
    frappe/core/page/data_import_tool/exporter.py | 32 ±
    frappe/core/page/data_import_tool/importer.py | 26 ±
    frappe/desk/query_report.py | 5 +
    frappe/desk/search.py | 8 ±
    frappe/email/receive.py | 14 ±
    …/v8_0/update_records_in_global_search.py | 6 ±
    frappe/public/js/frappe/form/footer/timeline.js | 1 +
    …/public/js/frappe/form/multi_select_dialog.js | 25 ±
    frappe/public/js/frappe/ui/keyboard.js | 9 ±
    frappe/public/js/frappe/views/breadcrumbs.js | 3 ±
    …/public/js/frappe/views/kanban/kanban_board.js | 2 +
    …/public/js/frappe/views/reports/query_report.js | 22 ±
    …/public/js/frappe/views/reports/reportview.js | 10 ±
    frappe/public/js/lib/frappe-gantt/frappe-gantt.js | 10 ±
    frappe/public/js/lib/summernote/summernote.js | 7 +
    frappe/tests/test_data_import.py | 11 +
    frappe/translations/am.csv | 1089 +++±—
    frappe/translations/ar.csv | 1111 +++±—
    frappe/translations/bg.csv | 2181 +++++++±-------
    frappe/translations/bn.csv | 1089 +++±—
    frappe/translations/bs.csv | 1089 +++±—
    frappe/translations/ca.csv | 1089 +++±—
    frappe/translations/cs.csv | 1089 +++±—
    frappe/translations/cz.csv | 1473 +++++++++++
    frappe/translations/da.csv | 1497 ++++±-----
    frappe/translations/de.csv | 1149 +++±—
    frappe/translations/el.csv | 1097 +++±—
    frappe/translations/es-AR.csv | 2 ±
    frappe/translations/es-CL.csv | 17 ±
    frappe/translations/es-MX.csv | 6 ±
    frappe/translations/es-NI.csv | 2 ±
    frappe/translations/es-PE.csv | 226 ±
    frappe/translations/es.csv | 1341 ++++±----
    frappe/translations/et.csv | 1089 +++±—
    frappe/translations/fa.csv | 1089 +++±—
    frappe/translations/fi.csv | 1099 +++±—
    frappe/translations/fr.csv | 2736 +++++++++±---------
    frappe/translations/gu.csv | 1089 +++±—
    frappe/translations/he.csv | 786 ++±–
    frappe/translations/hi.csv | 1089 +++±—
    frappe/translations/hr.csv | 1090 +++±—
    frappe/translations/hu.csv | 1223 +++±----
    frappe/translations/id.csv | 1089 +++±—
    frappe/translations/is.csv | 1088 +++±—
    frappe/translations/it.csv | 1249 +++±----
    frappe/translations/ja.csv | 1089 +++±—
    frappe/translations/km.csv | 1112 +++±—
    frappe/translations/kn.csv | 1152 ++++±—
    frappe/translations/ko.csv | 1152 ++++±—
    frappe/translations/ku.csv | 1151 +++±—
    frappe/translations/lo.csv | 1152 ++++±—
    frappe/translations/lt.csv | 1152 ++++±—
    frappe/translations/lv.csv | 1151 +++±—
    frappe/translations/mk.csv | 1151 +++±—
    frappe/translations/ml.csv | 1152 ++++±—
    frappe/translations/mr.csv | 1149 +++±—
    frappe/translations/ms.csv | 1152 ++++±—
    frappe/translations/my.csv | 1151 +++±—
    frappe/translations/nl.csv | 1146 +++±—
    frappe/translations/no.csv | 1136 +++±—
    frappe/translations/pl.csv | 1151 +++±—
    frappe/translations/ps.csv | 1149 +++±—
    frappe/translations/pt-BR.csv | 643 ++±-
    frappe/translations/pt.csv | 1228 ++++±—
    frappe/translations/ro.csv | 1144 +++±—
    frappe/translations/ru.csv | 1158 ++++±—
    frappe/translations/si.csv | 1148 +++±—
    frappe/translations/sk.csv | 1145 +++±—
    frappe/translations/sl.csv | 1165 ++++±—
    frappe/translations/sq.csv | 1131 +++±—
    frappe/translations/sr.csv | 1143 +++±—
    frappe/translations/sv.csv | 1145 +++±—
    frappe/translations/ta.csv | 1148 +++±—
    frappe/translations/te.csv | 1138 +++±—
    frappe/translations/th.csv | 1170 ++++±—
    frappe/translations/tr.csv | 1175 ++++±—
    frappe/translations/uk.csv | 1149 +++±—
    frappe/translations/ur.csv | 1121 +++±—
    frappe/translations/vi.csv | 1160 ++++±—
    frappe/translations/zh-TW.csv | 1017 +++±—
    frappe/translations/zh-cn.csv | 2007 ++++++++++++++
    frappe/translations/zh-tw.csv | 2006 ++++++++++++++
    frappe/translations/zh.csv | 1148 +++±—
    frappe/utils/global_search.py | 17 ±
    frappe/utils/password.py | 12 ±
    frappe/utils/xlsxutils.py | 31 ±
    frappe/website/context.py | 3 +
    …/doctype/web_form/templates/web_form_row.html | 4 +
    frappe/website/doctype/web_form/web_form.json | 42 ±
    …/doctype/website_settings/website_settings.py | 2 ±
    frappe/website/router.py | 5 ±
    95 files changed, 42796 insertions(+), 32534 deletions(-)
    create mode 100644 frappe/translations/cz.csv
    create mode 100644 frappe/translations/zh-cn.csv
    create mode 100644 frappe/translations/zh-tw.csv
    create mode 100644 frappe/website/doctype/web_form/templates/web_form_row.html
    INFO:bench.utils:find . -name “*.pyc” -delete
    INFO:bench.app:pulling erpnext
    INFO:bench.utils:git pull upstream master
    remote: Counting objects: 190, done.
    remote: Total 190 (delta 149), reused 149 (delta 149), pack-reused 41
    Receiving objects: 100% (190/190), 41.58 KiB | 0 bytes/s, done.
    Resolving deltas: 100% (165/165), completed with 103 local objects.
    From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
  • branch master → FETCH_HEAD
    3bd15fb…b32cf35 master → upstream/master
    Updating 3bd15fb…b32cf35
    Fast-forward
    erpnext/init.py | 2 ±
    …/account/chart_of_accounts/chart_of_accounts.py | 7 ±
    …/verified/id_chart_of_accounts.json | 14 ±
    erpnext/accounts/doctype/asset/asset.js | 2 ±
    …/doctype/purchase_invoice/purchase_invoice.js | 3 ±
    …/doctype/purchase_invoice/purchase_invoice.json | 125 +++++++++++++++±
    …/doctype/sales_invoice/sales_invoice.js | 3 ±
    …/doctype/sales_invoice/sales_invoice.json | 153 +++++++++++++++++++±
    …/doctype/sales_invoice/sales_invoice.py | 24 +±-
    erpnext/buying/doctype/supplier/supplier.json | 4 ±
    erpnext/controllers/queries.py | 20 ±-
    erpnext/controllers/status_updater.py | 2 ±
    erpnext/crm/doctype/opportunity/opportunity.py | 21 +±
    …/manual/en/accounts/managing-fixed-assets.md | 2 ±
    …/user/manual/en/selling/setup/sales-partner.md | 2 ±
    …/hr/doctype/process_payroll/process_payroll.py | 4 ±
    …/hr/report/salary_register/salary_register.html | 4 ±
    …/maintenance_schedule/maintenance_schedule.py | 2 ±
    erpnext/public/js/controllers/transaction.js | 21 +±
    erpnext/public/js/payment/pos_payment.html | 12 ±
    erpnext/public/js/pos/pos.html | 12 ±
    erpnext/public/js/pos/pos_item.html | 2 ±
    erpnext/public/js/pos/pos_selected_item.html | 10 ±
    …/student_attendance_tool.js | 16 +±
    erpnext/selling/doctype/quotation/quotation.py | 4 ±
    erpnext/selling/doctype/sales_order/sales_order.py | 9 ±
    erpnext/selling/sales_common.js | 8 –
    erpnext/shopping_cart/product.py | 2 ±
    erpnext/stock/doctype/batch/batch.py | 14 ±
    …/stock/doctype/delivery_note/delivery_note.json | 112 +++++++++++++±
    …/stock/doctype/delivery_note/delivery_note.py | 5 ±
    …/doctype/purchase_receipt/purchase_receipt.json | 97 +++++++++++±
    erpnext/stock/doctype/stock_entry/stock_entry.json | 59 ++++++±
    erpnext/stock/get_item_details.py | 2 ±
    erpnext/templates/generators/item_group.html | 6 ±
    …/templates/includes/navbar/navbar_items.html | 2 ±
    …/templates/includes/projects/project_tasks.html | 2 ±
    …/includes/projects/project_timesheets.html | 2 ±
    erpnext/templates/pages/cart.html | 2 ±
    erpnext/templates/pages/task_info.html | 40 ++±–
    erpnext/templates/pages/timelog_info.html | 16 ±-
    41 files changed, 710 insertions(+), 139 deletions(-)
    INFO:bench.utils:find . -name “*.pyc” -delete
    INFO:bench.app:pulling knowledge_base
    INFO:bench.utils:git pull upstream master
    From GitHub - frappe/knowledge_base: [Merged in Frappe Framework Core]
  • branch master → FETCH_HEAD
    Already up-to-date.
    INFO:bench.utils:find . -name “*.pyc” -delete
    INFO:bench.app:pulling poll
    INFO:bench.utils:git pull upstream master
    From GitHub - frappe/poll: Online Polling App
  • branch master → FETCH_HEAD
    Already up-to-date.
    INFO:bench.utils:find . -name “*.pyc” -delete
    Updating Python libraries…
    INFO:bench.utils:./env/bin/pip install --upgrade pip
    /home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
    SNIMissingWarning
    /home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see Advanced Usage - urllib3 2.0.0a2 documentation.
    InsecurePlatformWarning
    Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
    INFO:bench.utils:./env/bin/pip install -q -r /home/ubuntu/bench-repo/requirements.txt
    INFO:bench.utils:./env/bin/pip install -q -r ./apps/knowledge_base/requirements.txt
    INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
    INFO:bench.utils:./env/bin/pip install -q -r ./apps/poll/requirements.txt
    INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
    Backing up sites…
    Patching sites…
    Migrating demo.xlevelretail.com
    Updating DocTypes for frappe : [========================================]
    Updating DocTypes for erpnext : [========================================]
    Syncing help database…
    Migrating demo1
    Updating DocTypes for frappe : [========================================]
    Syncing help database…
    Migrating erp.xlevelretail.com
    Updating DocTypes for frappe : [========================================]
    Updating DocTypes for erpnext : [========================================]
    Updating DocTypes for knowledge_base: [========================================]
    Syncing help database…
    Migrating erpnext.xlevelretail.com
    Executing frappe.patches.v8_0.update_records_in_global_search #11-05-2017 in erpnext.xlevelretail.com (dd1d0550d1979dbf)
    Updating Global Search : [============================== ]Traceback (most recent call last):
    File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main
    main”, fname, loader, pkg_name)
    File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
    exec code in run_globals
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 79, in
    main()
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 16, in main
    click.Group(commands=commands)(prog_name=‘bench’)
    File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 716, in call
    return self.main(*args, **kwargs)
    File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 696, in main
    rv = self.invoke(ctx)
    File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 534, in invoke
    return callback(*args, **kwargs)
    File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/click/decorators.py”, line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/commands/init.py”, line 24, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/commands/site.py”, line 214, in migrate
    migrate(context.verbose, rebuild_website=rebuild_website)
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/migrate.py”, line 31, in migrate
    frappe.modules.patch_handler.run_all()
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 29, in run_all
    if not run_single(patchmodule = patch):
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 63, in run_single
    return execute_patch(patchmodule, method, methodargs)
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 83, in execute_patch
    frappe.get_attr(patchmodule.split()[0] + “.execute”)()
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/patches/v8_0/update_records_in_global_search.py”, line 11, in execute
    rebuild_for_doctype(doctype)
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/global_search.py”, line 107, in rebuild_for_doctype
    if hasattr(get_controller(doctype), “is_website_published”) and meta.allow_guest_to_view:
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 35, in get_controller
    module = load_doctype_module(doctype, module_name)
    File “/home/ubuntu/frappe-bench/apps/frappe/frappe/modules/utils.py”, line 184, in load_doctype_module
    raise ImportError, ‘Module import failed for {0} ({1})’.format(doctype, module_name)
    ImportError: Module import failed for Student Batch (erpnext.schools.doctype.student_batch.student_batch)

ok ‘bench update’ has landed you in the student_batch problem enseal.

@Helio_Jesus is blocked on this Issue too and awaits news.

I have no idea how Frappe prioritizes fixes here.

ok rmehta assigned Issue #8875 10 hours ago

Labels are bug and school

I wonder what determines priorities…

So Subscribe to news updates @Helio_Jesus

Thank you @clarkej

This seems to be a big at hand for me right now. I just tried other modules now on ERP but i seem not to be able to save anything.

An idea on how to go past theses?

Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py”, line 32, in render
data = render_page_by_language(path)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py”, line 101, in render_page_by_language
return render_page(path)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py”, line 117, in render_page
return build(path)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py”, line 124, in build
return build_page(path)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py”, line 140, in build_page
html = frappe.render_template(context.source, context)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/jinja.py”, line 50, in render_template
return get_jenv().from_string(template).render(context)
File “/home/ubuntu/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/ubuntu/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/ubuntu/frappe-bench/apps/frappe/frappe/./templates/web.html”, line 1, in top-level template code
{% extends base_template_path %}
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/./templates/base.html”, line 69, in top-level template code
{% block content %}{% endblock %}
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/./templates/web.html”, line 46, in block “content”
{%- block page_content -%}{%- endblock -%}
File “”, line 37, in block “page_content”
File “/home/ubuntu/frappe-bench/apps/erpnext/erpnext/./templates/includes/projects/project_tasks.html”, line 9, in top-level template code
{{ (“modified”) }} {{ frappe.utils.pretty_date(task.modified) }}
UndefinedError: '
’ is undefined

You are not alone