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 https://github.com/frappe/bench bench-repo
  6. pip install -e bench-repo
  7. bench init frappe-bench && cd frappe-bench
  8. bench get-app erpnext https://github.com/frappe/erpnext
  9. bench new-site site1
    10 .bench frappe --install_app erpnext site1
    11 .bench get-app shopping_cart https://github.com/frappe/shopping-cart
  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 “http://pastebin.com/nSLwnhqi

Thank you,
Gangadhar kadam