pymysql.err.ProgrammingError: ('DocType', 'Patch Log')

while running bench update --patch error in Patch Log

When this error is coming while upgrading the version?

Please share the user story

I updated the bench after changing the branch develop to version-15

Please Provide Correct and more details. which repo branch its frappe or erpnext or some other apps please provide more details

Update the Frappe framework apps/frappe using this command
bench switch-to-branch version-15 frappe --upgrade
after switch the branch update the sites using
bench update
update is successfully done but last getting this error

do bench migrate

The bench migrate command executes without errors, but when attempting an update using bench update , an error occurs.


Try this command
bench update --reset --no-backup
I hope it’s working

Thank You