Getting error while updating to version 5.0

Hello All,
I have installed frappe v5.0 on local machine by following steps.

  1. mkdir frappe_five
  2. cd frappe_five
  3. virtualenv .
  4. source ./bin/activate
  5. git clone GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps bench-repo
  6. pip install -e bench-repo
  7. bench init frappe-bench && cd frappe-bench
  8. bench get-app erpnext GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
  9. bench new-site site1
    10 .bench frappe --install_app erpnext site1
    11 .bench get-app shopping_cart GitHub - frappe/shopping_cart: Online Shopping Cart integrated with ERPNext
  10. bench frappe --install_app shopping_cart site1
  11. bench update --bench
  12. bench migrate-to-v5

same steps followed on server its shows error for “bench migrate-to-v5”
please check “(frappe_five)indictrans@dev:~/webapps/frappe_five/frappe-bench$ bench migrate-to - Pastebin.com

Thank you,
Gangadhar kadam