Table ‘’ doesn’t exist

Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/”, line 62, in application
response = frappe.handler.handle()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/”, line 22, in handle
data = execute_cmd(cmd)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/”, line 53, in execute_cmd
return, **frappe.form_dict)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/”, line 939, in call
return fn(*args, **newargs)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/”, line 32, in get_help
return HelpDatabase().search(text)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/”, 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/”, line 166, in sql
self._cursor.execute(query, values)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/”, line 170, in execute
result = self._query(query)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/”, line 328, in _query
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/”, 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/”, line 727, in _read_query_result
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/”, 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/”, line 683, in _read_packet
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/”, line 220, in check_error
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/”, line 109, in raise_mysql_exception
raise errorclass(errno, errval)
ProgrammingError: (1146, u"Table ‘’ 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,

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 Here was the issue I raised on Github and it was fixed and closed.

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)

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…