Switch to master didnt happen?

Hi all,

I have an issue I think the switch to master didnt happen

`frappe@erp:~$ bench switch-to-master
Branch master does not exist in Upstream for frappe
Branch master does not exist in Upstream for erpnext

Switched to master
Please run `bench update --patch` to be safe from any differences in database schema
frappe@erp:~$ bench update --patch
Migrating deploy.local
Updating frappe                     : [========================================]
Updating erpnext                    : [========================================]
Syncing help database...
Migrating erp.pundp.berlin
Updating frappe                     : [========================================]
Updating erpnext                    : [========================================]
Syncing help database...
frappe-bench-frappe-schedule: stopped
frappe-bench-frappe-default-worker-0: stopped
frappe-bench-frappe-long-worker-0: stopped
frappe-bench-frappe-short-worker-0: stopped
frappe-bench-frappe-web: stopped
frappe-bench-node-socketio: stopped
frappe-bench-frappe-schedule: started
frappe-bench-frappe-default-worker-0: started
frappe-bench-frappe-long-worker-0: started
frappe-bench-frappe-short-worker-0: started
frappe-bench-frappe-web: started
frappe-bench-node-socketio: started
________________________________________________________________________________
Bench: Open source installer + admin for Frappe and ERPNext (https://erpnext.com)

frappe@erp:~$

`

Did the swich happen, if not
how do I swich to Master??

thanks

I guess you have to run git fetch on both your repos before switching to master

hi @rmehta,

thanks but no luck

frappe@erp:~$ cd /home/frappe/frappe-bench/apps/frappe
frappe@erp:~/frappe-bench/apps/frappe$ git fetch
frappe@erp:~/frappe-bench/apps/frappe$ cd /home/frappe/frappe-bench/apps/erpnext
frappe@erp:~/frappe-bench/apps/erpnext$ git fetch
frappe@erp:~/frappe-bench/apps/erpnext$ bench switch-to-master
Branch master does not exist in Upstream for frappe
Branch master does not exist in Upstream for erpnext

Switched to master
Please run bench update --patch to be safe from any differences in database schema

I dont understand this as it says there is no branch master and a line further it says it has switched to master??:sweat:

Sorry try git fetch upstream

thanks, but no luck
had a look into .git folder
seems there is no refs for any other branch then develope
is it maybe an origin problem?

now I altered the /.git/refs/remotes/upstream folders of each repo by adding a Master file and ref line in HEAd file

nthen the bench switch-to-master worked but version is still 7.2.2 insted of 7.2.0 wich is actually latest version of master

what can I do?

anyone?

thats done - I hope

I reverted to tag before actual master release, deleted all other tags and did
bench switch-do-master
then
bench update --patch