Uninstall & remove Apps

Continuing the discussion from Help needed: Removing/uninstall Apps:

tried it. What actually happens is that the App is not listed as installed in the App Installer any longer and the functionality does not continue to exist apparently inside of the ERPNext site related. So that’s good so far.

But how do you actually remove an app (in addition to just not having it usable inside of your site any longer) without running into problems? The result should be to

  1. not have it shown as installable
  2. the folder inside /home/frappe/frappe-bench/apps/my_app] should be removed

playing around with this always results into an error as soon as the folder /home/frappe/frappe-bench/apps\my_app] is not accessible any longer (either by deleting or by renaming it). And running the bench uninstall-app does not remove it either. Something like bench remove-app would sound logical

also can anyone explain what the difference between bench uninstall-app & bench remove-from-installed-apps is?

1 Like

You also need to remove it from sites/apps.txt along with deleting the apps folder[quote=“vrms, post:1, topic:11529”]
also can anyone explain what the difference between bench uninstall-app & bench remove-from-installed-apps is?
[/quote]

bench remove-from-installed-apps will not attempt to delete the app data.

11 Likes