How to update database?

How to update database?

Can anyone explain step by step?

Is there documentation on the database update?

Hi @Uzay,

first take a Backup your Database.

If manually installed erpnext and if you want to upgrade the erpnext then please follow the below command:

# Please go to the directory
cd ~/frappe-bench

bench update

# OR

bench update --reset

bench --site sitename migrate
bench --site sitename clear-cache
bench --site sitename clear-website-cache 

Then check it.

Thank You!

1 Like

Hi NCP

Thank you NCP for your support.