0

I followed this tutorial Creating an App step by step after going through the whole installation process line by line from Turning a mac into a Frappe.

All goes well in the tutorial until I actually try to install the app with the command bench --site meeting install-app meeting, whereby I get this error

Table 9034ff9e2b8f00b4.tabdefaultvalue doesn't exist.

Even after going through the database on the terminal, I found that the table really does not exist. In fact no table exists at all. I've followed many posts discussing a similar error, but none of their solutions have worked for me.

Wai Ha Lee
  • 8,598
  • 83
  • 57
  • 92

1 Answers1

0

Your site wasn't created correctly. A few things that you can verify that the site is properly created:

  • Check if you have a site name listed in sites/currentsite.txt
  • There should be a folder with the site name under sites as well sites/[site_name]/
  • The file sites/[site_name]/site_config.json should be there and contain the db name

If after verifying, everything is fine (i.e. the site is created correctly) then it'll be harder to say what is the error without a log. You can run bench new-site abc again and post the log either in the forum on here.

There is a discussion on ERPNext's forum on this error https://discuss.erpnext.com/t/table-a46003081c-tabdefaultvalue-doesnt-exist/9579.

Nathan Do
  • 1,985
  • 19
  • 24