Getting A Error When i run ....sudo bash setup_frappe.sh --setup-production

I hope, this will help.

  1. https://discuss.frappe.io/t/solved-v6-upgrade-errors/7282
  2. https://discuss.frappe.io/t/ubuntu-14-04-error-need-help/7032/4