How can i revert to Frappe Education v15 from v17

I inadvertently upgraded Frappe Education to v17 from v15. All my other multi-tenant apps are in v15. How can i revert Education to v15 since I am getting some attribute errors? Any suggestions to resolve will be highly appreciated.

are you in frappe cloud or any other server?

This is on a VPS server, not frappe cloud.

Hi @anjukarl

Do you have a backup of the db before the update?

According to Bench Commands

update: If executed in a bench directory, without any flags will backup,
pull, setup requirements, build, run patches and restart bench. Using
specific flags will only do certain tasks instead of all.

If not then try to backup current db and then create a new bench and restore it there

Another option is to uninstall (bench remove-app) v17 and reinstall v15

Hope it helps

@asieftejani Thanks for your response.
You’ve said ‘Another option is to uninstall (bench remove-app) v17 and reinstall v15’. This would mean that I lose all my data right? (I’m quite a newbie to Frappe).

@anjukarl

Not completely sure. My gut feeling is that the db data will remain intact (soft delete). The best way is to do it on a test instance first to check if everything is okay

There is bench bench remove-app (Completely remove app from bench and re-build assets if not installed on any site) and bench uninstall-app (Remove app and linked modules from site) which i guess is the opposite to bench get-app and bench install-app

Message me on Telegram: Contact @Asieftejani if you need help