I really do not understand the issue here. I have been running a fresh ERPNext instance since September 13th and have run migrated it as early as today using the following command:
bench --site site1.local migrate
So, This afternoon I attempted the upgrade using this command:
bench update --upgrade
This is the resulting error:
erp_jmi@erp-upgrade-test:/home/frappe/frappe-bench$ sudo bench update --upgrade
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 7 (delta 6), reused 6 (delta 5), pack-reused 0
Unpacking objects: 100% (7/7), done.
From GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps
7a7c611ā¦e79d722 master ā origin/master
Updating 7a7c611ā¦e79d722
Fast-forward
bench/commands/setup.py | 5 ++Ā±-
bench/config/production_setup.py | 6 ++Ā±ā
2 files changed, 6 insertions(+), 5 deletions(-)
remote: Counting objects: 1740, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 1740 (delta 1186), reused 1191 (delta 1186), pack-reused 546
Receiving objects: 100% (1740/1740), 1.38 MiB | 0 bytes/s, done.
Resolving deltas: 100% (1431/1431), completed with 346 local objects.
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
87d5c07ā¦645526b master ā upstream/master
- [new branch] bcornwellmott-patch-2 ā upstream/bcornwellmott-patch-2
1d2525dā¦133f4b4 develop ā upstream/develop
87d5c07ā¦645526b hotfix ā upstream/hotfix
c1649a4ā¦645526b staging ā upstream/staging - [new tag] v9.0.0 ā v9.0.0
- [new tag] v8.10.6 ā v8.10.6
- [new tag] v8.10.7 ā v8.10.7
- [new tag] v8.10.8 ā v8.10.8
- [new tag] v8.10.9 ā v8.10.9
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)
Cannot proceed with update: You have local changes in app āfrappeā that are not committed.
Here are your choices:
- Merge the frappe app manually with āgit pullā / āgit pull --rebaseā and fix conflicts.
- Temporarily remove your changes with āgit stashā or discard them completely
with ābench update --resetā or for individual repositries āgit reset --hardā - If your changes are helpful for others, send in a pull request via GitHub and
wait for them to be merged in the core.
erp_jmi@erp-upgrade-test:/home/frappe/frappe-bench$
I have not made any āchangesā to the frappe application. I have only entered data into the ERPNext system. How do I get specific information on what this error is calling changes?
I am not a developer, and this is a production installation I am trying to upgrade. I made a copy of the VM instance and tried it first on the copy so I do not trash my live data. The message above is the result.
I am currently on ERPNext version 8.11.2
and Frappe version 8.10.5
I have also tried the suggested ābench update --resetā and it came back with the following response:
erp_jmi@erp-upgrade-test:/home/frappe/frappe-bench$ sudo bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
()
()
This update will cause a major version change in Frappe/ERPNext from 8 to 9.
This would take significant time to migrate and might break custom apps. Please run bench update --upgrade
to
confirm.
()
You can stay on the latest stable release by running bench switch-to-master
or pin your bench to 8 by running
bench switch-to-v8
erp_jmi@erp-upgrade-test:/home/frappe/frappe-bench$
Running the bunsh update --upgrade after that still has the same error as before.
So what should be my next step?
BKM