Table ‘bitnami_erpnext.help’ doesn’t exist

Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/help.py”, line 32, in get_help
return HelpDatabase().search(text)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/help.py”, line 106, in search
select title, intro, path from help where match(content) against (%s) limit 10’‘’, (‘%’+words+‘%’, words))
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/database.py”, line 166, in sql
self._cursor.execute(query, values)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/cursors.py”, line 170, in execute
result = self._query(query)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/cursors.py”, line 328, in _query
conn.query(q)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/connections.py”, line 516, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/connections.py”, line 727, in _read_query_result
result.read()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/connections.py”, line 1066, in read
first_packet = self.connection._read_packet()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/connections.py”, line 683, in _read_packet
packet.check_error()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/protocol.py”, line 220, in check_error
err.raise_mysql_exception(self._data)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/err.py”, line 109, in raise_mysql_exception
raise errorclass(errno, errval)
ProgrammingError: (1146, u"Table ‘bitnami_erpnext.help’ doesn’t exist")

Try ‘bench setup-help’

1 Like

no luck for me. Problem persists

Hi @Amarjeet_Singh_Sintu,

do you have specific apps installed (especially just before the error starts occurring)? Or, have you renamed the database?

@Amarjeet_Singh_Sintu bitnami’s image have this issue,
try

bench switch-to-master
bench migrate

Thanks for the reply.
No, I have no specific apps installed and I have never renamed database.

I have noticed a very similar issue on beta.erpnext.com. Here was the issue I raised on Github and it was fixed and closed.

https://github.com/frappe/frappe/issues/5993

But there is only the problem listed in above link. There is no solution at all.

Possibly your instance version is before that Aug 23 release?

What is your erpnext + frappe version and does bitnami let you update your image?

For eg here are the releases Releases · frappe/erpnext · GitHub

bitnami’s current release here is build 10.1.52 updated two days ago from the release eight days ago (so it is quite current)

https://bitnami.com/stack/erpnext/cloud
https://bitnami.com/stack/erpnext/virtual-machine

1 Like

I am getting message that version 11.xx is available but I don’t know how to update. Please help.

You already have one if not two other related threads active, to seek help on this.

So I will close this to cut down on confusion or duplicated effort.

Please also consider: Rather than ask for individual help, first look for threads that may have the very advice you seek right under your nose…