Bench frappe --latest


I am getting the following error when I run the above command :

frappe app is not installed. Run the following command to install frappe
bench get-app frappe
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  File "/home/kubuntu/bench-repo/bench/", line 42, in cli
    return old_frappe_cli()
  File "/home/kubuntu/bench-repo/bench/", line 94, in old_frappe_cli
    os.execv(f, [f] + sys.argv[2:])
OSError: [Errno 2] No such file or directory

Also I cannot see any frappe command under /env/bin directory. I have already ensured that I have frappe app installed.


Are you on v5?

The command has changed to bench migrate

Thank You, But If I make a change directly in the JSON File of any Doctype the command(bench migrate) does not seems to make the required Database Schema Changes.

Also upon opening the “Changed” Doctype in Setup/Core, I am not able to see the changed made in JSON File. I am not sure about this step, was just trying.

Yes it is after the merge of today, the script is not working, I have reported the issue and post here: After v5 merge into master the install script fails - #2 by williamjmorenor

How do I diagnose/debug bench migrate command?.

Because when I issued this for the first time it updated the database schema, but it did not update the schema afterwards nor did it update the form. (yes changes were made directly to the json file)