Bench migrate , error

20200318_182238

bench migrate

please help me ERPNEXT for this error.

Go to apps/erpnext as well as apps/frappe and verify with git status that there is no modified code.
Also check the output of bench version .

share output for each command all in reply.

Try bench setup requirements then bench update

thank you sir,
solution is work,

   /opt/bench/erpnext/apps/erpnext$ git status
On branch develop
Your branch is up to date with 'upstream/develop'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   erpnext/config/desktop.py
	modified:   erpnext/modules.txt

no changes added to commit (use "git add" and/or "git commit -a")

by mistake file modified by me , erpnext/modules.txt
i correct it and then

:/opt/bench/erpnext/apps/frappe$ git status
On branch develop
Your branch is up to date with 'upstream/develop'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   yarn.lock

no changes added to commit (use "git add" and/or "git commit -a")

then ,

 bench migrate
Migrating site2.local
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Updating DocTypes for process_manufacturing: [======                            Updating DocTypes for process_manufacturing: [=============                     Updating DocTypes for process_manufacturing: [====================              Updating DocTypes for process_manufacturing: [==========================        Updating DocTypes for process_manufacturing: [================================= Updating DocTypes for process_manufacturing: [========================================]
Updating customizations for Address
Generating Website Theme Files...
Compiling Python Files...

/opt/bench/erpnext$

Thank ones again sir .

Please close this topic

1 Like