App website not installed error

Like described in this thread, we are facing this error when updating ERPNext.

frappe.exceptions.AppNotInstalledError: App website is not installed

Any idea how we can fix this?

Have you a custom app ‘website’ that the bench is missing, so search for that?

A standard no-frills install consists of just the ‘frappe’ and ‘erpnext’ apps.

These query examples may help give you clues:

frappe@ubuntu1804lts:~/frappe-bench$ ls -al apps/
total 16
drwxrwxr-x  4 frappe frappe 4096 Feb  5 19:37 .
drwxrwxr-x  7 frappe frappe 4096 Feb  4 03:45 ..
drwxrwxr-x  9 frappe frappe 4096 Apr  1 13:33 erpnext
drwxrwxr-x 12 frappe frappe 4096 Apr  1 13:28 frappe
frappe@ubuntu1804lts:~/frappe-bench$ bench list-apps
frappe
erpnext 
frappe@ubuntu1804lts:~/frappe-bench$ cat sites/apps.txt 
frappe
erpnext
frappe@ubuntu1804lts:~/frappe-bench$ find . -type d -name 'erpnext'
./apps/erpnext
./apps/erpnext/erpnext
frappe@ubuntu1804lts:~/frappe-bench$ find . -type d -name 'frappe'
./apps/frappe
./apps/frappe/frappe
./apps/frappe/frappe/public/js/frappe
frappe@ubuntu1804lts:~/frappe-bench$ bench install-app --help
Usage: bench  install-app [OPTIONS] [APPS]...

  Install a new app to site, supports multiple apps

Options:
  --help  Show this message and exit.

More pointer examples App install at wrong path , how install app with correct path

Thanks for your reply.
No, we don’t have a custom app ‘webiste’. We do have some custom apps installed, they are all listed when performing the commands you posted (bench list-apps, cat sites/apps.txt, etc.). So I don’t understand why it’s complaining about this ‘app’…

Hi. I am having something similar to this, except my error did not mention any specific app.

frappe.exceptions.AppNotInstalledError: App is not installed

It returned “App” + double space + “is not installed”, without specifying a specific app, such as 'website" in stiemi’s case.

This error is only returned when I tried to create a new Sales Order. The rest of ERPNext works perfectly fine. Similar to stiemi’s case, I performed the commands clarkej posted, and the outputs are as expected, without any weird app. I am running ERPNext v12.21.0 and Frappe 12.18.1.

Did anyone manage to solve this?

The solution for my error is here.