as far a i know, existing site in VM and locally we setup, is using develop branch. how can we upgrade to v5.0 using bench command?
Go to `frappe-bench/apps/frappe` and `frappe-bench/apps/erpnext`
and fetch and checkout the 5.0 branch
git fetch upstream
git checkout -b v5.0 upstream/v5.0
Best Regards,
Yang
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Traceback (most recent call last):
File “/home/erpnext/frappe-bench/env/bin/frappe”, line 9, in
load_entry_point(‘frappe==4.0.0’, ‘console_scripts’, ‘frappe’)()
File “/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/pkg_resources.py”, line 353, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/pkg_resources.py”, line 2302, in load_entry_point
return ep.load()
File “/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/pkg_resources.py”, line 2029, in load
entry = import(self.module_name, globals(),globals(), [‘name’])
File “/home/erpnext/frappe-bench/apps/frappe/frappe/init.py”, line 13, in
from frappe.version import version
File “/home/erpnext/frappe-bench/apps/frappe/frappe/version.py”, line 1
<<<<<<< HEAD
^
SyntaxError: invalid syntax
Installed Apps ERPNext: v4.17.0
Open Source Enterprise Resource Planning for Small and Midsized OrganizationsFrappe Framework: v4.9.3
Full Stack Web Application Framework in PythonShopping Cart: v0.6.0
Online Shopping Cart integrated with ERPNext
When I try the bench --help, migrate-to-v5 is not listed…
Commands:
backup backup site
backup-all-sites backup all sites
config change bench configuration
get-app clone an app from the internet and set it up…
init Create a new bench
migrate-3to4 Migrate from ERPNext v3.x
new-app start a new app
new-site Create a new site in the bench
prime-wheel-cache Update wheel cache
release Release app (internal to the Frappe team)
restart Restart supervisor processes
set-default-site Set default site for bench
set-nginx-port Set nginx port for site
setup Setup bench
shell
start Start Frappe development processes
update Update bench
are the only steps required. bench update updates the bench utility as well. In your case I think it’s not installed as editable. You can try reinstalling it
I am using the VM for testing as well…but bench update and bench migrate-to-5 works for me…for some reason I had to login as root:erpnext and navigate to cd /home/bench<<<
But I can confirm this as a working process for the latest VM!