When i use a site in frappe this error is occured? Why?

Hi When I run a Command Frappe --use site1
Then This error is displayed…
ikhlas3@ikhlas3:~/bench/sites$ frappe --use ssh4
Traceback (most recent call last):
File “/usr/local/bin/frappe”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2711, in
parse_requirements(requires), Environment()
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: frappe==4.7.1
ikhlas3@ikhlas3:~/bench/sites$

Shoudln’t you update your frappe. It see like you are still using old commands .
Can’t you first do

bench update

ikhlas3@ikhlas3:~/sajid/bench$ bench update
fatal: ‘upstream’ does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.92’, ‘console_scripts’, ‘bench’)()
File “/home/ikhlas3/bench-repo/bench/cli.py”, line 60, in cli
bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 610, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 590, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 936, in invoke
return processresult(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 416, in invoke
return callback(*args, **kwargs)
File “/home/ikhlas3/bench-repo/bench/cli.py”, line 327, in switchto_develop
switch_to_develop(upgrade=upgrade)
File “/home/ikhlas3/bench-repo/bench/app.py”, line 180, in switch_to_develop
switch_branch(‘develop’, apps=apps, bench=bench, upgrade=upgrade)
File “/home/ikhlas3/bench-repo/bench/app.py”, line 148, in switch_branch
version_upgrade = is_version_upgrade(bench=bench, branch=branch)
File “/home/ikhlas3/bench-repo/bench/app.py”, line 91, in is_version_upgrade
fetch_upstream(‘frappe’, bench=bench)
File “/home/ikhlas3/bench-repo/bench/app.py”, line 117, in fetch_upstream
return exec_cmd(“git fetch upstream”, cwd=repo_dir)
File “/home/ikhlas3/bench-repo/bench/utils.py”, line 104, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git fetch upstream

Seems issue with an upstream.
From each app folder run git remote show upstream and post output.

ikhlas3@ikhlas3:~/sajid/bench/apps/frappe$ git remote show upstream
fatal: ‘upstream’ does not appear to be a git repository
fatal: The remote end hung up unexpectedly

Please share output of vi .git/config from ~/sajid/bench/apps/frappe

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote “origin”]
fetch = +refs/heads/:refs/remotes/origin/
url = GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
[branch “develop”]
remote = origin
merge = refs/heads/develop

Use git remote rename origin upstream for frappe and then do bench update

ikhlas3@ikhlas3:~/sajid/bench$ bench update
remote: Counting objects: 527, done.
remote: Compressing objects: 100% (305/305), done.
remote: Total 527 (delta 351), reused 189 (delta 188), pack-reused 34
Receiving objects: 100% (527/527), 1.75 MiB | 112 KiB/s, done.
Resolving deltas: 100% (358/358), completed with 157 local objects.
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
fe0c226…cf25e46 develop → upstream/develop
c811e39…3e4707d master → upstream/master

  • [new tag] v6.4.9 → v6.4.9
    From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
  • [new tag] v6.4.8 → v6.4.8
    From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
  • branch develop → FETCH_HEAD
    Updating fe0c226…cf25e46
    Fast-forward
    frappe/init.py | 11 ±
    frappe/version.py | 2 ±
    frappe/change_log/v6/v6_4_8.md | 20 +
    frappe/commands.py | 25 ±
    frappe/core/doctype/async_task/async_task.json | 4 ±
    frappe/core/doctype/block_module/block_module.json | 2 ±
    frappe/core/doctype/comment/comment.json | 2 ±
    …/core/doctype/communication/communication.json | 12 ±
    frappe/core/doctype/communication/communication.py | 17 ±
    frappe/core/doctype/defaultvalue/defaultvalue.json | 2 ±
    frappe/core/doctype/docfield/docfield.json | 1623 +++++±------
    frappe/core/doctype/docperm/docperm.json | 2 ±
    frappe/core/doctype/docshare/docshare.json | 2 ±
    frappe/core/doctype/doctype/doctype.json | 8 ±
    frappe/core/doctype/doctype/test_doctype.py | 12 +
    frappe/core/doctype/file/file.json | 26 ±
    frappe/core/doctype/file/file.py | 60 ±
    frappe/core/doctype/file/test_file.py | 75 ±
    frappe/core/doctype/module_def/module_def.json | 2 ±
    frappe/core/doctype/module_def/test_module_def.py | 12 +
    frappe/core/doctype/page/page.json | 4 ±
    frappe/core/doctype/page_role/page_role.json | 2 ±
    frappe/core/doctype/patch_log/patch_log.json | 4 ±
    frappe/core/doctype/patch_log/test_patch_log.py | 12 +
    frappe/core/doctype/report/report.json | 6 ±
    frappe/core/doctype/role/role.json | 2 ±
    …/core/doctype/scheduler_log/scheduler_log.json | 2 ±
    frappe/core/doctype/user/user.json | 8 ±
    frappe/core/doctype/userrole/userrole.json | 2 ±
    frappe/core/doctype/version/version.json | 2 ±
    …/custom/doctype/custom_field/custom_field.json | 1287 ++++±----
    …/doctype/custom_script/custom_script.json | 4 ±
    …/doctype/custom_script/test_custom_script.py | 12 +
    …/doctype/customize_form/customize_form.json | 4 ±
    …/doctype/customize_form/customize_form.py | 3 ±
    …/customize_form_field/customize_form_field.json | 31 ±
    …/doctype/property_setter/property_setter.json | 4 ±
    …/property_setter/test_property_setter.py | 12 +
    frappe/data/Framework.sql | 5 ±
    frappe/data/languages.txt | 5 ±
    frappe/desk/doctype/event/event.json | 6 ±
    frappe/desk/doctype/event_role/event_role.json | 2 ±
    frappe/desk/doctype/feed/feed.json | 6 ±
    frappe/desk/doctype/feed/test_feed.py | 12 +
    frappe/desk/doctype/note/note.json | 2 ±
    frappe/desk/doctype/todo/todo.js | 3 +
    frappe/desk/doctype/todo/todo.json | 6 ±
    frappe/desk/form/assign_to.py | 4 ±
    frappe/email/bulk.py | 10 ±
    frappe/email/doctype/bulk_email/bulk_email.json | 4 ±
    …/email/doctype/email_account/email_account.json | 4 ±
    frappe/email/doctype/email_alert/email_alert.json | 4 ±
    …/email_alert_recipient.json | 2 ±
    …/email_unsubscribe/email_unsubscribe.json | 2 ±
    …/doctype/standard_reply/standard_reply.json | 2 ±
    …/doctype/standard_reply/test_standard_reply.py | 12 +
    frappe/exceptions.py | 1 +
    frappe/geo/doctype/country/country.json | 2 ±
    frappe/geo/doctype/currency/currency.json | 4 ±
    frappe/hooks.py | 2 ±
    frappe/model/base_document.py | 20 +
    frappe/model/db_schema.py | 134 ±
    frappe/model/document.py | 2 +
    frappe/model/naming.py | 2 ±
    frappe/patches.txt | 4 ±
    frappe/patches/v6_4/reduce_varchar_length.py | 33 +
    frappe/print/doctype/letter_head/letter_head.json | 2 ±
    …/print/doctype/print_format/print_format.json | 8 ±
    frappe/public/css/mobile.css | 28 -
    frappe/public/js/frappe/form/control.js | 5 +
    frappe/public/js/frappe/form/footer/attachments.js | 18 ±
    frappe/public/js/frappe/socket.js | 8 ±
    frappe/public/js/frappe/ui/toolbar/awesome_bar.js | 60 ±
    frappe/public/js/frappe/views/communication.js | 2 ±
    frappe/public/js/frappe/views/ganttview.js | 2 ±
    frappe/public/less/mobile.less | 21 -
    frappe/templates/emails/standard.html | 1 +
    frappe/tests/test_document.py | 6 +
    frappe/translations/ar.csv | 762 ++±–
    frappe/translations/bg.csv | 834 +++±–
    frappe/translations/bn.csv | 1607 +++++++++++++
    frappe/translations/bs.csv | 762 ++±–
    frappe/translations/ca.csv | 762 ++±–
    frappe/translations/cs.csv | 762 ++±–
    frappe/translations/da-DK.csv | 1497 ++++++++++++
    frappe/translations/da.csv | 762 ++±–
    frappe/translations/de.csv | 1346 +++++±----
    frappe/translations/el.csv | 762 ++±–
    frappe/translations/es-PE.csv | 1498 ++++++++++++
    frappe/translations/es.csv | 1225 ++++±----
    frappe/translations/fa.csv | 766 ++±–
    frappe/translations/fi.csv | 2490 +++++++++±---------
    frappe/translations/fr.csv | 776 ++±–
    frappe/translations/he.csv | 735 ++±–
    frappe/translations/hi.csv | 762 ++±–
    frappe/translations/hr.csv | 762 ++±–
    frappe/translations/hu.csv | 764 ++±–
    frappe/translations/id.csv | 762 ++±–
    frappe/translations/it.csv | 819 +++±–
    frappe/translations/ja.csv | 762 ++±–
    frappe/translations/km.csv | 563 ++±-
    frappe/translations/kn.csv | 762 ++±–
    frappe/translations/ko.csv | 762 ++±–
    frappe/translations/lv.csv | 762 ++±–
    frappe/translations/mk.csv | 762 ++±–
    frappe/translations/mr.csv | 762 ++±–
    frappe/translations/my.csv | 762 ++±–
    frappe/translations/nl.csv | 762 ++±–
    frappe/translations/no.csv | 762 ++±–
    frappe/translations/pl.csv | 794 +++±–
    frappe/translations/pt-BR.csv | 762 ++±–
    frappe/translations/pt.csv | 762 ++±–
    frappe/translations/ro.csv | 762 ++±–
    frappe/translations/ru.csv | 762 ++±–
    frappe/translations/si.csv | 1607 +++++++++++++
    frappe/translations/sk.csv | 762 ++±–
    frappe/translations/sq.csv | 762 ++±–
    frappe/translations/sr.csv | 761 ++±–
    frappe/translations/sv.csv | 890 ++±—
    frappe/translations/ta.csv | 762 ++±–
    frappe/translations/th.csv | 762 ++±–
    frappe/translations/tr.csv | 762 ++±–
    frappe/translations/vi.csv | 762 ++±–
    frappe/translations/zh-cn.csv | 762 ++±–
    frappe/translations/zh-tw.csv | 768 ++±–
    frappe/utils/data.py | 13 ±
    frappe/utils/file_manager.py | 23 ±
    frappe/utils/fixtures.py | 8 ±
    …/about_us_team_member/about_us_team_member.json | 2 ±
    …/doctype/blog_category/blog_category.json | 2 ±
    frappe/website/doctype/blog_post/blog_post.json | 2 ±
    frappe/website/doctype/blogger/blogger.json | 2 ±
    …/doctype/company_history/company_history.json | 2 ±
    …/website/doctype/top_bar_item/top_bar_item.json | 4 ±
    frappe/website/doctype/web_form/web_form.json | 2 ±
    …/doctype/web_form_field/web_form_field.json | 4 ±
    frappe/website/doctype/web_page/web_page.json | 4 ±
    …/website_slideshow/test_website_slideshow.py | 12 +
    …/website_slideshow/website_slideshow.json | 2 ±
    …/website_slideshow_item.json | 2 ±
    …/doctype/website_theme/website_theme.json | 6 ±
    frappe/workflow/doctype/workflow/workflow.json | 2 ±
    …/workflow_action/test_workflow_action.py | 12 +
    …/doctype/workflow_action/workflow_action.json | 2 ±
    …/workflow_document_state.json | 4 ±
    …/doctype/workflow_state/workflow_state.json | 6 ±
    …/workflow_transition/workflow_transition.json | 2 ±
    requirements.txt | 1 +
    setup.py | 2 ±
    149 files changed, 28272 insertions(+), 17463 deletions(-)
    create mode 100644 frappe/change_log/v6/v6_4_8.md
    create mode 100644 frappe/core/doctype/doctype/test_doctype.py
    create mode 100644 frappe/core/doctype/module_def/test_module_def.py
    create mode 100644 frappe/core/doctype/patch_log/test_patch_log.py
    create mode 100644 frappe/custom/doctype/custom_script/test_custom_script.py
    create mode 100644 frappe/custom/doctype/property_setter/test_property_setter.py
    create mode 100644 frappe/desk/doctype/feed/test_feed.py
    create mode 100644 frappe/email/doctype/standard_reply/test_standard_reply.py
    create mode 100644 frappe/patches/v6_4/init.py
    create mode 100644 frappe/patches/v6_4/reduce_varchar_length.py
    create mode 100644 frappe/translations/bn.csv
    create mode 100644 frappe/translations/da-DK.csv
    create mode 100644 frappe/translations/es-PE.csv
    create mode 100644 frappe/translations/si.csv
    create mode 100644 frappe/website/doctype/website_slideshow/test_website_slideshow.py
    create mode 100644 frappe/workflow/doctype/workflow_action/test_workflow_action.py
    fatal: ‘upstream’ does not appear to be a git repository
    fatal: The remote end hung up unexpectedly
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 9, in
    load_entry_point(‘bench==0.92’, ‘console_scripts’, ‘bench’)()
    File “/home/ikhlas3/bench-repo/bench/cli.py”, line 60, in cli
    bench()
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 610, in call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 590, in main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 416, in invoke
    return callback(*args, **kwargs)
    File “/home/ikhlas3/bench-repo/bench/cli.py”, line 240, in _update
    update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
    File “/home/ikhlas3/bench-repo/bench/cli.py”, line 256, in update
    pull_all_apps(bench=bench_path)
    File “/home/ikhlas3/bench-repo/bench/app.py”, line 88, in pull_all_apps
    exec_cmd(“git pull {rebase} upstream {branch}”.format(rebase=rebase, branch=get_current_branch(app, bench=bench)), cwd=app_dir)
    File “/home/ikhlas3/bench-repo/bench/utils.py”, line 104, in exec_cmd
    raise CommandFailedError(cmd)
    bench.utils.CommandFailedError: git pull upstream develop
    ikhlas3@ikhlas3:~/sajid/bench$

When i Do The bench update…this error ha came

Check same for erpnext app.

ikhlas3@ikhlas3:~/sajid/bench$ bench update
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript

  • branch develop → FETCH_HEAD
    Already up-to-date.
    remote: Counting objects: 1067, done.
    remote: Compressing objects: 100% (28/28), done.
    remote: Total 1067 (delta 838), reused 828 (delta 828), pack-reused 211
    Receiving objects: 100% (1067/1067), 1.46 MiB | 153 KiB/s, done.
    Resolving deltas: 100% (933/933), completed with 485 local objects.
    From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
  • branch develop → FETCH_HEAD
    Updating c03cba9…746fd90
    Fast-forward
    erpnext/version.py | 2 ±
    erpnext/accounts/doctype/account/account.json | 974 ±-
    …/bank_reconciliation_detail.json | 2 ±
    …/doctype/budget_detail/budget_detail.json | 2 ±
    erpnext/accounts/doctype/c_form/c_form.json | 6 ±
    …/c_form_invoice_detail.json | 2 ±
    …/accounts/doctype/cost_center/cost_center.js | 3 ±
    …/accounts/doctype/cost_center/cost_center.json | 2 ±
    …/accounts/doctype/cost_center/cost_center.py | 6 ±
    …/accounts/doctype/fiscal_year/fiscal_year.json | 2 ±
    …/fiscal_year_company/fiscal_year_company.json | 2 ±
    erpnext/accounts/doctype/gl_entry/gl_entry.json | 1064 ±-
    …/doctype/journal_entry/journal_entry.json | 10 ±
    …/doctype/journal_entry/journal_entry.py | 7 ±
    …/journal_entry_account.json | 1044 ±-
    …/doctype/mode_of_payment/mode_of_payment.json | 2 ±
    …/mode_of_payment_account.json | 2 ±
    …/monthly_distribution/monthly_distribution.json | 2 ±
    …/monthly_distribution_percentage.json | 2 ±
    …/doctype/party_account/party_account.json | 2 ±
    …/payment_reconciliation_invoice.json | 2 ±
    …/payment_reconciliation_payment.json | 2 ±
    …/payment_tool_detail/payment_tool_detail.json | 2 ±
    …/period_closing_voucher.json | 2 ±
    …/accounts/doctype/pos_profile/pos_profile.json | 2 ±
    …/doctype/pricing_rule/pricing_rule.json | 10 ±
    …/accounts/doctype/pricing_rule/pricing_rule.py | 2 ±
    …/doctype/purchase_invoice/purchase_invoice.json | 33 ±
    …/doctype/purchase_invoice/purchase_invoice.py | 2 ±
    …/purchase_invoice_advance.json | 2 ±
    …/purchase_invoice_item.json | 2 ±
    …/purchase_taxes_and_charges.json | 8 ±
    …/purchase_taxes_and_charges_template.json | 2 ±
    …/doctype/sales_invoice/sales_invoice.json | 14 ±
    …/doctype/sales_invoice/sales_invoice.py | 2 ±
    …/doctype/sales_invoice/test_sales_invoice.py | 26 ±
    …/sales_invoice_advance.json | 2 ±
    …/sales_invoice_item/sales_invoice_item.json | 25 ±
    …/sales_taxes_and_charges.json | 4 ±
    …/sales_taxes_and_charges_template.json | 2 ±
    …/doctype/shipping_rule/shipping_rule.json | 714 ±
    …/shipping_rule_condition.json | 2 ±
    …/shipping_rule_country.json | 2 ±
    erpnext/accounts/doctype/tax_rule/tax_rule.json | 4 ±
    erpnext/accounts/party.py | 3 ±
    …/accounts_receivable/accounts_receivable.py | 2 ±
    erpnext/accounts/utils.py | 2 ±
    …/doctype/purchase_order/purchase_order.json | 12 ±
    …/purchase_order_item/purchase_order_item.json | 2 ±
    …/purchase_order_item_supplied.json | 2 ±
    …/purchase_receipt_item_supplied.json | 2 ±
    …/quality_inspection/quality_inspection.json | 6 ±
    …/quality_inspection_reading.json | 4 ±
    erpnext/buying/doctype/supplier/supplier.json | 4 ±
    …/supplier_quotation/supplier_quotation.json | 10 ±
    …/supplier_quotation_item.json | 2 ±
    erpnext/change_log/current/cost_center.md | 1 +
    …/current/delivery_to_target_warehouse.md | 2 +
    erpnext/controllers/selling_controller.py | 6 ±
    erpnext/controllers/status_updater.py | 1 +
    erpnext/controllers/stock_controller.py | 69 ±
    erpnext/controllers/taxes_and_totals.py | 2 ±
    erpnext/crm/doctype/lead/lead.json | 14 ±
    erpnext/crm/doctype/newsletter/newsletter.json | 2 ±
    …/doctype/newsletter_list/newsletter_list.json | 2 ±
    …/newsletter_list_subscriber.json | 2 ±
    erpnext/crm/doctype/opportunity/opportunity.json | 12 ±
    …/doctype/opportunity_item/opportunity_item.json | 2 ±
    erpnext/hooks.py | 2 ±
    erpnext/hr/doctype/appraisal/appraisal.json | 4 ±
    …/hr/doctype/appraisal_goal/appraisal_goal.json | 2 ±
    …/appraisal_template/appraisal_template.json | 2 ±
    …/appraisal_template_goal.json | 2 ±
    erpnext/hr/doctype/attendance/attendance.json | 6 ±
    erpnext/hr/doctype/branch/branch.json | 2 ±
    …/hr/doctype/deduction_type/deduction_type.json | 2 ±
    erpnext/hr/doctype/department/department.json | 2 ±
    erpnext/hr/doctype/designation/designation.json | 2 ±
    erpnext/hr/doctype/earning_type/earning_type.json | 2 ±
    erpnext/hr/doctype/employee/employee.json | 24 ±
    …/employee_education/employee_education.json | 4 ±
    …/employee_external_work_history.json | 2 ±
    …/employee_internal_work_history.json | 2 ±
    …/employee_leave_approver.json | 2 ±
    …/doctype/employment_type/employment_type.json | 2 ±
    …/hr/doctype/expense_claim/expense_claim.json | 6 ±
    …/expense_claim_detail/expense_claim_detail.json | 2 ±
    …/expense_claim_type/expense_claim_type.json | 2 ±
    erpnext/hr/doctype/holiday/holiday.json | 2 ±
    erpnext/hr/doctype/holiday_list/holiday_list.json | 4 ±
    erpnext/hr/doctype/holiday_list/holiday_list.py | 24 ±
    …/hr/doctype/job_applicant/job_applicant.json | 4 ±
    erpnext/hr/doctype/job_opening/job_opening.json | 4 ±
    …/doctype/leave_allocation/leave_allocation.json | 2 ±
    …/leave_application/leave_application.json | 4 ±
    …/doctype/leave_application/leave_application.py | 8 ±
    …/doctype/leave_block_list/leave_block_list.json | 2 ±
    …/leave_block_list_allow.json | 2 ±
    …/leave_block_list_date.json | 2 ±
    erpnext/hr/doctype/leave_type/leave_type.json | 2 ±
    erpnext/hr/doctype/offer_letter/offer_letter.json | 4 ±
    …/offer_letter_term/offer_letter_term.json | 2 ±
    erpnext/hr/doctype/offer_term/offer_term.json | 2 ±
    erpnext/hr/doctype/salary_slip/salary_slip.json | 4 ±
    …/salary_slip_deduction.json | 2 ±
    …/salary_slip_earning/salary_slip_earning.json | 2 ±
    …/doctype/salary_structure/salary_structure.json | 4 ±
    …/salary_structure_deduction.json | 2 ±
    …/salary_structure_earning.json | 2 ±
    erpnext/manufacturing/doctype/bom/bom.json | 4 ±
    …/bom_explosion_item/bom_explosion_item.json | 2 ±
    …/manufacturing/doctype/bom_item/bom_item.json | 2 ±
    …/doctype/bom_operation/bom_operation.json | 2 ±
    …/manufacturing/doctype/operation/operation.json | 2 ±
    …/doctype/production_order/production_order.json | 6 ±
    …/production_order_operation.json | 4 ±
    …/production_plan_item/production_plan_item.json | 2 ±
    …/production_plan_sales_order.json | 2 ±
    …/doctype/workstation/workstation.json | 2 ±
    …/workstation_working_hour.json | 4 ±
    erpnext/patches.txt | 12 ±
    …tem_managers_regarding_wrong_tax_calculation.py | 4 ±
    erpnext/patches/v6_4/email_digest_update.py | 6 +
    erpnext/patches/v6_4/fix_duplicate_bins.py | 20 +
    …/v6_4/fix_sales_order_maintenance_status.py | 7 +
    erpnext/patches/v6_4/make_image_thumbnail.py | 14 +
    erpnext/patches/v6_4/set_user_in_contact.py | 6 +
    …/doctype/activity_cost/activity_cost.json | 2 ±
    …/doctype/activity_type/activity_type.json | 278 ±
    …/doctype/dependent_task/dependent_task.json | 2 ±
    erpnext/projects/doctype/project/project.json | 10 ±
    …/doctype/project_task/project_task.json | 6 ±
    erpnext/projects/doctype/task/task.json | 6 ±
    …/doctype/task_depends_on/task_depends_on.json | 2 ±
    erpnext/projects/doctype/time_log/time_log.json | 6 ±
    …/doctype/time_log_batch/time_log_batch.json | 6 ±
    …/time_log_batch_detail.json | 2 ±
    erpnext/public/js/shopping_cart.js | 1 -
    erpnext/public/js/utils/party.js | 5 ±
    erpnext/selling/doctype/campaign/campaign.json | 4 ±
    erpnext/selling/doctype/customer/customer.json | 8 ±
    …/doctype/industry_type/industry_type.json | 2 ±
    …/installation_note/installation_note.json | 6 ±
    …/installation_note/test_installation_note.py | 12 +
    …/doctype/installation_note/test_records.json | 4 -
    …/installation_note_item.json | 2 ±
    …/doctype/product_bundle/product_bundle.json | 2 ±
    …/product_bundle_item/product_bundle_item.json | 2 ±
    erpnext/selling/doctype/quotation/quotation.json | 14 ±
    erpnext/selling/doctype/quotation/quotation.py | 2 +
    …/doctype/quotation_item/quotation_item.json | 2 ±
    …/selling/doctype/sales_order/sales_order.json | 18 ±
    erpnext/selling/doctype/sales_order/sales_order.py | 4 ±
    …/doctype/sales_order_item/sales_order_item.json | 25 ±
    erpnext/selling/doctype/sales_team/sales_team.json | 2 ±
    …/page/sales_analytics/sales_analytics.js | 4 ±
    …/authorization_rule/authorization_rule.json | 6 ±
    erpnext/setup/doctype/brand/brand.json | 2 ±
    erpnext/setup/doctype/company/company.json | 10 ±
    …/currency_exchange/currency_exchange.json | 2 ±
    …/doctype/customer_group/customer_group.json | 6 ±
    erpnext/setup/doctype/email_digest/email_digest.js | 36 ±
    …/setup/doctype/email_digest/email_digest.json | 677 ±
    erpnext/setup/doctype/email_digest/email_digest.py | 558 ±
    …/doctype/email_digest/templates/default.html | 111 +
    …/doctype/email_digest/test_email_digest.py | 12 +
    erpnext/setup/doctype/item_group/item_group.json | 4 ±
    erpnext/setup/doctype/item_group/item_group.py | 3 ±
    …/setup/doctype/naming_series/naming_series.py | 1 +
    …/setup/doctype/print_heading/print_heading.json | 2 ±
    …/quotation_lost_reason.json | 2 ±
    …/setup/doctype/sales_partner/sales_partner.json | 4 ±
    …/setup/doctype/sales_person/sales_person.json | 4 ±
    …/setup/doctype/sms_parameter/sms_parameter.json | 2 ±
    …/setup/doctype/supplier_type/supplier_type.json | 2 ±
    …/setup/doctype/target_detail/target_detail.json | 2 ±
    …/terms_and_conditions/terms_and_conditions.json | 2 ±
    erpnext/setup/doctype/territory/territory.json | 4 ±
    erpnext/setup/doctype/uom/uom.json | 2 ±
    …/website_item_group/website_item_group.json | 2 ±
    erpnext/setup/utils.py | 42 ±
    erpnext/shopping_cart/cart.py | 2 ±
    …/shopping_cart_shipping_rule.json | 49 -
    …/shopping_cart_shipping_rule.py | 12 -
    erpnext/stock/doctype/batch/batch.json | 2 ±
    erpnext/stock/doctype/bin/bin.json | 2 ±
    erpnext/stock/doctype/bin/test_bin.py | 12 +
    …/stock/doctype/delivery_note/delivery_note.json | 10 ±
    …/stock/doctype/delivery_note/delivery_note.py | 2 ±
    …/doctype/delivery_note/test_delivery_note.py | 173 ±
    …/delivery_note_item/delivery_note_item.json | 25 ±
    erpnext/stock/doctype/item/item.js | 5 -
    erpnext/stock/doctype/item/item.json | 4511 +++++±------
    erpnext/stock/doctype/item/item.py | 61 ±
    …/doctype/item_attribute/item_attribute.json | 2 ±
    …/item_attribute_value/item_attribute_value.json | 2 ±
    …/item_customer_detail/item_customer_detail.json | 2 ±
    erpnext/stock/doctype/item_price/item_price.json | 2 ±
    …/item_quality_inspection_parameter.json | 2 ±
    …/stock/doctype/item_reorder/item_reorder.json | 4 ±
    …/stock/doctype/item_supplier/item_supplier.json | 2 ±
    erpnext/stock/doctype/item_tax/item_tax.json | 2 ±
    …/stock/doctype/item_variant/item_variant.json | 2 ±
    …/item_variant_attribute.json | 2 ±
    …/item_website_specification.json | 2 ±
    …/doctype/landed_cost_item/landed_cost_item.json | 2 ±
    …/landed_cost_purchase_receipt.json | 2 ±
    …/landed_cost_taxes_and_charges.json | 2 ±
    …/landed_cost_voucher/landed_cost_voucher.json | 4 ±
    …/test_landed_cost_voucher.py | 3 ±
    …/doctype/material_request/material_request.json | 8 ±
    …/material_request_item.json | 2 ±
    erpnext/stock/doctype/packed_item/packed_item.json | 163 ±
    erpnext/stock/doctype/packed_item/packed_item.py | 56 ±
    …/stock/doctype/packing_slip/packing_slip.json | 4 ±
    …/packing_slip_item/packing_slip_item.json | 2 ±
    erpnext/stock/doctype/price_list/price_list.json | 2 ±
    …/price_list_country/price_list_country.json | 2 ±
    …/doctype/purchase_receipt/purchase_receipt.json | 10 ±
    …/purchase_receipt/test_purchase_receipt.py | 2 -
    …/purchase_receipt_item.json | 2 ±
    erpnext/stock/doctype/serial_no/serial_no.js | 6 -
    erpnext/stock/doctype/serial_no/serial_no.json | 36 ±
    erpnext/stock/doctype/serial_no/serial_no.py | 79 ±
    erpnext/stock/doctype/stock_entry/stock_entry.json | 8 ±
    erpnext/stock/doctype/stock_entry/stock_entry.py | 28 ±
    …/stock/doctype/stock_entry/test_stock_entry.py | 24 ±
    …/stock_entry_detail/stock_entry_detail.json | 2 ±
    …/stock_ledger_entry/stock_ledger_entry.json | 4 ±
    …/stock_ledger_entry/test_stock_ledger_entry.py | 12 +
    …/stock_reconciliation/stock_reconciliation.json | 2 ±
    …/test_stock_reconciliation.py | 6 ±
    …/stock_reconciliation_item.json | 2 ±
    …/uom_conversion_detail.json | 2 ±
    erpnext/stock/doctype/warehouse/warehouse.json | 2 ±
    …/report/serial_no_status/serial_no_status.json | 6 ±
    erpnext/stock/stock_balance.py | 32 ±
    erpnext/support/doctype/issue/issue.json | 6 ±
    …/maintenance_schedule/maintenance_schedule.json | 4 ±
    …/test_maintenance_schedule.py | 12 +
    …/maintenance_schedule_detail.json | 2 ±
    …/maintenance_schedule_item.json | 4 ±
    …/maintenance_visit/maintenance_visit.json | 6 ±
    …/maintenance_visit/test_maintenance_visit.py | 12 +
    …/doctype/maintenance_visit/test_records.json | 4 -
    …/maintenance_visit_purpose.json | 2 ±
    …/doctype/warranty_claim/warranty_claim.json | 8 ±
    erpnext/templates/generators/item.html | 29 ±
    erpnext/templates/includes/product_in_grid.html | 2 ±
    erpnext/templates/includes/product_in_list.html | 3 ±
    erpnext/templates/includes/product_page.js | 38 ±
    erpnext/templates/pages/product_search.py | 4 ±
    erpnext/translations/ar.csv | 1991 ++±–
    erpnext/translations/bg.csv | 2168 +++±–
    erpnext/translations/bn.csv | 3925 +++++++++++
    erpnext/translations/bs.csv | 1990 ++±–
    erpnext/translations/ca.csv | 1993 ++±–
    erpnext/translations/cs.csv | 1991 ++±–
    erpnext/translations/da-DK.csv | 3752 +++++++++++
    erpnext/translations/da.csv | 1988 ++±–
    erpnext/translations/de.csv | 3585 ++++±----
    erpnext/translations/el.csv | 1991 ++±–
    erpnext/translations/es-PE.csv | 3824 +++++++++++
    erpnext/translations/es.csv | 3783 ++++±-----
    erpnext/translations/fa.csv | 2000 ++±–
    erpnext/translations/fi.csv | 6826 +++++++++±---------
    erpnext/translations/fr.csv | 2057 ++±–
    erpnext/translations/he.csv | 1947 ++±–
    erpnext/translations/hi.csv | 1991 ++±–
    erpnext/translations/hr.csv | 1991 ++±–
    erpnext/translations/hu.csv | 2006 ++±–
    erpnext/translations/id.csv | 1991 ++±–
    erpnext/translations/it.csv | 2063 ++±–
    erpnext/translations/ja.csv | 1991 ++±–
    erpnext/translations/km.csv | 1446 ++±-
    erpnext/translations/kn.csv | 1991 ++±–
    erpnext/translations/ko.csv | 1991 ++±–
    erpnext/translations/lv.csv | 1988 ++±–
    erpnext/translations/mk.csv | 1987 ++±–
    erpnext/translations/mr.csv | 1988 ++±–
    erpnext/translations/my.csv | 1987 ++±–
    erpnext/translations/nl.csv | 1991 ++±–
    erpnext/translations/no.csv | 1988 ++±–
    erpnext/translations/pl.csv | 2070 ++±–
    erpnext/translations/pt-BR.csv | 1990 ++±–
    erpnext/translations/pt.csv | 1991 ++±–
    erpnext/translations/ro.csv | 1981 ++±–
    erpnext/translations/ru.csv | 1991 ++±–
    erpnext/translations/sk.csv | 1991 ++±–
    erpnext/translations/sq.csv | 1990 ++±–
    erpnext/translations/sr.csv | 1981 ++±–
    erpnext/translations/sv.csv | 2472 ++±—
    erpnext/translations/ta.csv | 1991 ++±–
    erpnext/translations/th.csv | 1991 ++±–
    erpnext/translations/tr.csv | 2258 ++±—
    erpnext/translations/vi.csv | 1991 ++±–
    erpnext/translations/zh-cn.csv | 1990 ++±–
    erpnext/translations/zh-tw.csv | 2009 ++±–
    erpnext/utilities/doctype/address/address.json | 4 ±
    …/doctype/address_template/address_template.json | 2 ±
    erpnext/utilities/doctype/contact/contact.js | 31 ±
    erpnext/utilities/doctype/contact/contact.json | 1389 +±-
    erpnext/utilities/doctype/contact/contact.py | 22 ±
    erpnext/utilities/doctype/sms_log/sms_log.json | 2 ±
    erpnext/utilities/doctype/sms_log/test_sms_log.py | 12 +
    setup.py | 2 ±
    sponsors.md | 8 +
    307 files changed, 65736 insertions(+), 53535 deletions(-)
    create mode 100644 erpnext/change_log/current/cost_center.md
    create mode 100644 erpnext/change_log/current/delivery_to_target_warehouse.md
    create mode 100644 erpnext/patches/v6_4/email_digest_update.py
    create mode 100644 erpnext/patches/v6_4/fix_duplicate_bins.py
    create mode 100644 erpnext/patches/v6_4/fix_sales_order_maintenance_status.py
    create mode 100644 erpnext/patches/v6_4/make_image_thumbnail.py
    create mode 100644 erpnext/patches/v6_4/set_user_in_contact.py
    create mode 100644 erpnext/selling/doctype/installation_note/test_installation_note.py
    create mode 100644 erpnext/setup/doctype/email_digest/templates/default.html
    create mode 100644 erpnext/setup/doctype/email_digest/test_email_digest.py
    delete mode 100644 erpnext/shopping_cart/doctype/shopping_cart_shipping_rule/init.py
    delete mode 100644 erpnext/shopping_cart/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.json
    delete mode 100644 erpnext/shopping_cart/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.py
    create mode 100644 erpnext/stock/doctype/bin/test_bin.py
    create mode 100644 erpnext/stock/doctype/stock_ledger_entry/test_stock_ledger_entry.py
    create mode 100644 erpnext/support/doctype/maintenance_schedule/test_maintenance_schedule.py
    create mode 100644 erpnext/support/doctype/maintenance_visit/test_maintenance_visit.py
    create mode 100644 erpnext/translations/bn.csv
    create mode 100644 erpnext/translations/da-DK.csv
    create mode 100644 erpnext/translations/es-PE.csv
    create mode 100644 erpnext/utilities/doctype/sms_log/test_sms_log.py
    /bin/sh: 1: ./env/bin/pip: not found
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 9, in
    load_entry_point(‘bench==0.92’, ‘console_scripts’, ‘bench’)()
    File “/home/ikhlas3/bench-repo/bench/cli.py”, line 60, in cli
    bench()
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 610, in call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 590, in main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 416, in invoke
    return callback(*args, **kwargs)
    File “/home/ikhlas3/bench-repo/bench/cli.py”, line 240, in _update
    update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
    File “/home/ikhlas3/bench-repo/bench/cli.py”, line 259, in update
    update_requirements(bench=bench_path)
    File “/home/ikhlas3/bench-repo/bench/utils.py”, line 354, in update_requirements
    exec_cmd(“{pip} install -q -r {req_file}”.format(pip=pip, req_file=req_file))
    File “/home/ikhlas3/bench-repo/bench/utils.py”, line 104, in exec_cmd
    raise CommandFailedError(cmd)
    bench.utils.CommandFailedError: ./env/bin/pip install -q -r ./apps/frappe/requirements.txt
    ikhlas3@ikhlas3:~/sajid/bench$

Thanks You For Reply…Pls the Error Is Fix

Any One has to slove This Error…plss

@Mohamed_Sajid, can you post your requirement.txt

In Frappe
chardet
cssmin
dropbox
gunicorn
httplib2
jinja2
markdown2
markupsafe
mysql-python==1.2.5
python-geoip
python-geoip-geolite2
python-dateutil
pytz
six
slugify
termcolor
werkzeug
semantic_version
rauth>=0.6.2
requests
celery
redis
selenium
pdfkit
babel
ipython
html2text
email_reply_parser
click
num2words
watchdog==0.8.0
bleach
Pillow

In Erpnext
frappe
unidecode

Install Pillow manually,
sudo apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev

And then run bench update

ikhlas3@ikhlas3:~/sajid/bench$ sudo apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev
[sudo] password for ikhlas3:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libtiff5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘libtiff5-dev’ has no installation candidate