Error: frappe app is not installed

when i try to
bench frappe enable-scheduler

frappe app is not installed. Run the following command to install frappe
bench get-app frappe https://github.com/frappe/frappe.git
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/berew/bench-repo/bench/cli.py”, line 42, in cli
return old_frappe_cli()
File “/home/berew/bench-repo/bench/cli.py”, line 94, in old_frappe_cli
os.execv(f, [f] + sys.argv[2:])
OSError: [Errno 2] No such file or directory

  • bench is updated
  • bench frappe is installed (at least it gives the “–help” message when i run “bench frappe”)

“bench frappe enable-scheduler” does not work but “bench enable-scheduler” works

but when i try “bench new-site sitename” it returns “*** Scheduler is disabled ***”

Hi @b3rew

In v5, you don’t use bench frappe. Just use bench [command]. Bench calls the right frappe command. Use bench --help for more info.

Enabling/Disabling scheduler works per site. So if you ran bench enable-scheduler, it enabled scheduler for the first site you created.

If you are using a multi-site setup, run the command as bench --site [sitename] enable-scheduler

-Anand.

3 Likes