Login issue in site

after i start bench and go to my login page in the browser login page displays but after entering user name and password when i click the sign in button nothing happens it stays same not going to next step.
please help in this.

Could you maybe share a screenshot, the version of ERPNext you are using and the browser type and version? Do you have any outputs in the browser console (F12 in firefox)?

terminal screen
02:18:54 watch.1 | Wrote css/erpnext.css - 8.08 KB
02:18:54 watch.1 | Wrote js/erpnext-web.min.js - 4.22 KB
02:18:54 watch.1 | Wrote js/erpnext.min.js - 167.98 KB
02:18:54 watch.1 | Wrote js/item-dashboard.min.js - 8.23 KB
02:19:21 worker_short.1 | 02:19:21 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.queue.flush’, kwargs={}, method=u’frappe.email.queue.flush’, site=u’site1.local’, user=u’Administrator’) (44624e6e-8f4f-45b8-8bd9-c4bff54d6171)
02:19:33 worker_short.1 | 02:19:33 short: Job OK (44624e6e-8f4f-45b8-8bd9-c4bff54d6171)
02:19:33 worker_short.1 | 02:19:33 Result is kept for 500 seconds
02:19:33 worker_short.1 | 02:19:33
02:19:33 worker_short.1 | 02:19:33 *** Listening on short…
02:19:33 worker_short.1 | 02:19:33 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.pull’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.pull’, site=u’site1.local’, user=u’Administrator’) (97fabb61-4335-4631-b45b-0261d2617414)
02:19:35 worker_short.1 | 02:19:35 short: Job OK (97fabb61-4335-4631-b45b-0261d2617414)
02:19:35 worker_short.1 | 02:19:35 Result is kept for 500 seconds
02:19:35 worker_short.1 | 02:19:35
02:19:35 worker_short.1 | 02:19:35 *** Listening on short…
02:19:35 worker_short.1 | 02:19:35 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, site=u’site1.local’, user=u’Administrator’) (f12e2565-fa18-468e-852a-b076ff3685f7)
02:19:36 worker_short.1 | 02:19:36 short: Job OK (f12e2565-fa18-468e-852a-b076ff3685f7)
02:19:36 worker_short.1 | 02:19:36 Result is kept for 500 seconds
02:19:36 worker_short.1 | 02:19:36
02:19:36 worker_short.1 | 02:19:36 *** Listening on short…
02:19:36 worker_short.1 | 02:19:36 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.oauth.delete_oauth2_data’, kwargs={}, method=u’frappe.oauth.delete_oauth2_data’, site=u’site1.local’, user=u’Administrator’) (878e78d5-5b14-441d-ab36-8772651197ce)
02:19:39 worker_short.1 | 02:19:39 short: Job OK (878e78d5-5b14-441d-ab36-8772651197ce)
02:19:39 worker_short.1 | 02:19:39 Result is kept for 500 seconds
02:19:39 worker_short.1 | 02:19:39
02:19:39 worker_short.1 | 02:19:39 *** Listening on short…
02:19:39 worker_short.1 | 02:19:39 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.integrations.doctype.razorpay_settings.razorpay_settings.capture_payment’, kwargs={}, method=u’frappe.integrations.doctype.razorpay_settings.razorpay_settings.capture_payment’, site=u’site1.local’, user=u’Administrator’) (8d5785a3-250d-47e3-afb7-dd0e2d1158d4)
02:19:40 worker_short.1 | 02:19:40 short: Job OK (8d5785a3-250d-47e3-afb7-dd0e2d1158d4)
02:19:40 worker_short.1 | 02:19:40 Result is kept for 500 seconds
02:19:40 worker_short.1 | 02:19:40
02:19:40 worker_short.1 | 02:19:40 *** Listening on short…
02:19:40 worker_short.1 | 02:19:40 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.twofactor.delete_all_barcodes_for_users’, kwargs={}, method=u’frappe.twofactor.delete_all_barcodes_for_users’, site=u’site1.local’, user=u’Administrator’) (661031ad-9785-4ffd-ba21-cb1a8f761016)
02:19:41 worker_short.1 | 02:19:40 short: Job OK (661031ad-9785-4ffd-ba21-cb1a8f761016)
02:19:41 worker_short.1 | 02:19:41 Result is kept for 500 seconds
02:19:41 worker_short.1 | 02:19:41
02:19:41 worker_short.1 | 02:19:41 *** Listening on short…
02:19:41 worker_short.1 | 02:19:41 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.queue.flush’, kwargs={}, method=u’frappe.email.queue.flush’, site=u’trinity’, user=u’Administrator’) (c2407a30-f009-4064-8f96-8444f8ddbefa)
02:19:41 worker_short.1 | 02:19:41 short: Job OK (c2407a30-f009-4064-8f96-8444f8ddbefa)
02:19:41 worker_short.1 | 02:19:41 Result is kept for 500 seconds
02:19:41 worker_short.1 | 02:19:41
02:19:41 worker_short.1 | 02:19:41 *** Listening on short…
02:19:41 worker_short.1 | 02:19:41 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.pull’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.pull’, site=u’trinity’, user=u’Administrator’) (709d716f-4517-471e-9bf3-fb0fa4d41251)
02:19:47 worker_short.1 | 02:19:47 short: Job OK (709d716f-4517-471e-9bf3-fb0fa4d41251)
02:19:47 worker_short.1 | 02:19:47 Result is kept for 500 seconds
02:19:47 worker_short.1 | 02:19:47
02:19:47 worker_short.1 | 02:19:47 *** Listening on short…
02:19:47 worker_short.1 | 02:19:47 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, site=u’trinity’, user=u’Administrator’) (55f94a61-6417-4dc3-bcf0-f09ab9aa40a0)
02:19:48 worker_short.1 | 02:19:48 short: Job OK (55f94a61-6417-4dc3-bcf0-f09ab9aa40a0)
02:19:48 worker_short.1 | 02:19:48 Result is kept for 500 seconds
02:19:48 worker_short.1 | 02:19:48
02:19:48 worker_short.1 | 02:19:48 *** Listening on short…
02:19:48 worker_short.1 | 02:19:48 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.oauth.delete_oauth2_data’, kwargs={}, method=u’frappe.oauth.delete_oauth2_data’, site=u’trinity’, user=u’Administrator’) (18baf762-7471-4b49-b7c8-b3285564e24d)
02:19:49 worker_short.1 | 02:19:49 short: Job OK (18baf762-7471-4b49-b7c8-b3285564e24d)
02:19:49 worker_short.1 | 02:19:49 Result is kept for 500 seconds
02:19:49 worker_short.1 | 02:19:49
02:19:49 worker_short.1 | 02:19:49 *** Listening on short…
02:19:49 worker_short.1 | 02:19:49 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.integrations.doctype.razorpay_settings.razorpay_settings.capture_payment’, kwargs={}, method=u’frappe.integrations.doctype.razorpay_settings.razorpay_settings.capture_payment’, site=u’trinity’, user=u’Administrator’) (9f70b036-2dd2-48bb-b3cd-d3c4eeccb228)
02:19:51 worker_short.1 | 02:19:51 short: Job OK (9f70b036-2dd2-48bb-b3cd-d3c4eeccb228)
02:19:51 worker_short.1 | 02:19:51 Result is kept for 500 seconds
02:19:51 worker_short.1 | 02:19:51
02:19:51 worker_short.1 | 02:19:51 *** Listening on short…
02:19:51 worker_short.1 | 02:19:51 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.twofactor.delete_all_barcodes_for_users’, kwargs={}, method=u’frappe.twofactor.delete_all_barcodes_for_users’, site=u’trinity’, user=u’Administrator’) (24d54c28-e27e-4b8c-9f5a-2c25b8a69d35)
02:19:51 worker_short.1 | 02:19:51 short: Job OK (24d54c28-e27e-4b8c-9f5a-2c25b8a69d35)
02:19:51 worker_short.1 | 02:19:51 Result is kept for 500 seconds
02:19:51 worker_short.1 | 02:19:51
02:19:51 worker_short.1 | 02:19:51 *** Listening on short…
02:19:51 worker_short.1 | 02:19:51 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’pull_from_email_account|Pushpahosiery’, kwargs={‘email_account’: u’Pushpahosiery’}, method=<function pull_from_email_account at 0x7f3f39518398>, site=u’site1.local’, user=u’Administrator’) (081a03de-e2d9-46dd-a2c4-b45e1c11be81)
02:20:01 worker_short.1 | 02:20:01 short: Job OK (081a03de-e2d9-46dd-a2c4-b45e1c11be81)
02:20:01 worker_short.1 | 02:20:01 Result is kept for 500 seconds
02:20:01 worker_short.1 | 02:20:01
02:20:01 worker_short.1 | 02:20:01 *** Listening on short…
02:20:23 worker_short.1 | 02:20:23 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.queue.flush’, kwargs={}, method=u’frappe.email.queue.flush’, site=u’site1.local’, user=u’Administrator’) (d8bb9d2d-5944-4724-aed9-437d3b525e00)
02:20:24 worker_short.1 | 02:20:24 short: Job OK (d8bb9d2d-5944-4724-aed9-437d3b525e00)
02:20:24 worker_short.1 | 02:20:24 Result is kept for 500 seconds
02:20:24 worker_short.1 | 02:20:24
02:20:24 worker_short.1 | 02:20:24 *** Listening on short…
02:20:24 worker_short.1 | 02:20:24 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.pull’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.pull’, site=u’site1.local’, user=u’Administrator’) (30ce7745-77e5-4302-b356-c97dc9da6038)
02:20:25 worker_short.1 | 02:20:25 short: Job OK (30ce7745-77e5-4302-b356-c97dc9da6038)
02:20:25 worker_short.1 | 02:20:25 Result is kept for 500 seconds
02:20:25 worker_short.1 | 02:20:25
02:20:25 worker_short.1 | 02:20:25 *** Listening on short…
02:20:25 worker_short.1 | 02:20:25 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, site=u’site1.local’, user=u’Administrator’) (2b310c80-de02-4160-b995-faac5c97848a)
02:20:25 worker_short.1 | 02:20:25 short: Job OK (2b310c80-de02-4160-b995-faac5c97848a)
02:20:25 worker_short.1 | 02:20:25 Result is kept for 500 seconds
02:20:25 worker_short.1 | 02:20:25
02:20:25 worker_short.1 | 02:20:25 *** Listening on short…
02:20:25 worker_short.1 | 02:20:25 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.oauth.delete_oauth2_data’, kwargs={}, method=u’frappe.oauth.delete_oauth2_data’, site=u’site1.local’, user=u’Administrator’) (18bb785f-81b7-4caf-adf0-8ce53b91ac86)
02:20:26 worker_short.1 | 02:20:26 short: Job OK (18bb785f-81b7-4caf-adf0-8ce53b91ac86)
02:20:26 worker_short.1 | 02:20:26 Result is kept for 500 seconds
02:20:26 worker_short.1 | 02:20:26
02:20:26 worker_short.1 | 02:20:26 *** Listening on short…
02:20:26 worker_short.1 | 02:20:26 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.integrations.doctype.razorpay_settings.razorpay_settings.capture_payment’, kwargs={}, method=u’frappe.integrations.doctype.razorpay_settings.razorpay_settings.capture_payment’, site=u’site1.local’, user=u’Administrator’) (886852e6-e255-408a-8ddf-97007081399b)
02:20:26 worker_short.1 | 02:20:26 short: Job OK (886852e6-e255-408a-8ddf-97007081399b)
02:20:26 worker_short.1 | 02:20:26 Result is kept for 500 seconds
02:20:26 worker_short.1 | 02:20:26
02:20:26 worker_short.1 | 02:20:26 *** Listening on short…
02:20:26 worker_short.1 | 02:20:26 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.twofactor.delete_all_barcodes_for_users’, kwargs={}, method=u’frappe.twofactor.delete_all_barcodes_for_users’, site=u’site1.local’, user=u’Administrator’) (f74eeb27-aebc-40a7-8269-0b0128007bd4)
02:20:27 worker_short.1 | 02:20:27 short: Job OK (f74eeb27-aebc-40a7-8269-0b0128007bd4)
02:20:27 worker_short.1 | 02:20:27 Result is kept for 500 seconds
02:20:27 worker_short.1 | 02:20:27
02:20:27 worker_short.1 | 02:20:27 *** Listening on short…
02:20:27 worker_short.1 | 02:20:27 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.queue.flush’, kwargs={}, method=u’frappe.email.queue.flush’, site=u’trinity’, user=u’Administrator’) (b3fe36d5-3bf4-40bc-8043-2fddcd20fbda)
02:20:27 worker_short.1 | 02:20:27 short: Job OK (b3fe36d5-3bf4-40bc-8043-2fddcd20fbda)
02:20:27 worker_short.1 | 02:20:27 Result is kept for 500 seconds
02:20:27 worker_short.1 | 02:20:27
02:20:27 worker_short.1 | 02:20:27 *** Listening on short…
02:20:27 worker_short.1 | 02:20:27 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.pull’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.pull’, site=u’trinity’, user=u’Administrator’) (0fb543d4-b247-4483-a9cb-4230687d77fa)
02:20:27 worker_short.1 | 02:20:27 short: Job OK (0fb543d4-b247-4483-a9cb-4230687d77fa)
02:20:27 worker_short.1 | 02:20:27 Result is kept for 500 seconds
02:20:27 worker_short.1 | 02:20:27
02:20:27 worker_short.1 | 02:20:27 *** Listening on short…
02:20:27 worker_short.1 | 02:20:27 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, kwargs={}, method=u’frappe.email.doctype.email_account.email_account.notify_unreplied’, site=u’trinity’, user=u’Administrator’) (0141d5da-37fd-43dc-9473-aabc337c1c8d)
02:20:28 worker_short.1 | 02:20:28 short: Job OK (0141d5da-37fd-43dc-9473-aabc337c1c8d)
02:20:28 worker_short.1 | 02:20:28 Result is kept for 500 seconds
02:20:28 worker_short.1 | 02:20:28
02:20:28 worker_short.1 | 02:20:28 *** Listening on short…
02:20:28 worker_short.1 | 02:20:28 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.oauth.delete_oauth2_data’, kwargs={}, method=u’frappe.oauth.delete_oauth2_data’, site=u’trinity’, user=u’Administrator’) (79af4d67-3b88-4ec1-8b4e-280cf368416b)
02:20:29 worker_short.1 | 02:20:29 short: Job OK (79af4d67-3b88-4ec1-8b4e-280cf368416b)
02:20:29 worker_short.1 | 02:20:29 Result is kept for 500 seconds
02:20:29 worker_short.1 | 02:20:29
02:20:29 worker_short.1 | 02:20:29 *** Listening on short…
02:20:29 worker_short.1 | 02:20:29 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.integrations.doctype.razorpay_settings.razorpay_settings.capture_payment’, kwargs={}, method=u’frappe.integrations.doctype.razorpay_settings.razorpay_settings.capture_payment’, site=u’trinity’, user=u’Administrator’) (6e6e6cfe-b44d-451d-a8ee-8fa790e27e65)
02:20:29 worker_short.1 | 02:20:29 short: Job OK (6e6e6cfe-b44d-451d-a8ee-8fa790e27e65)
02:20:29 worker_short.1 | 02:20:29 Result is kept for 500 seconds
02:20:29 worker_short.1 | 02:20:29
02:20:29 worker_short.1 | 02:20:29 *** Listening on short…
02:20:29 worker_short.1 | 02:20:29 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’frappe.twofactor.delete_all_barcodes_for_users’, kwargs={}, method=u’frappe.twofactor.delete_all_barcodes_for_users’, site=u’trinity’, user=u’Administrator’) (563ec15f-64d8-4e40-92f6-dfbc9ecf366e)
02:20:29 worker_short.1 | 02:20:29 short: Job OK (563ec15f-64d8-4e40-92f6-dfbc9ecf366e)
02:20:29 worker_short.1 | 02:20:29 Result is kept for 500 seconds
02:20:29 worker_short.1 | 02:20:29
02:20:29 worker_short.1 | 02:20:29 *** Listening on short…
02:20:29 worker_short.1 | 02:20:29 short: frappe.utils.background_jobs.execute_job(async=True, event=u’all’, job_name=u’pull_from_email_account|Pushpahosiery’, kwargs={‘email_account’: u’Pushpahosiery’}, method=<function pull_from_email_account at 0x7f3f39518398>, site=u’site1.local’, user=u’Administrator’) (aa084cee-016b-4ce7-a0e6-c428c9d99f51)
02:20:38 worker_short.1 | 02:20:38 short: Job OK (aa084cee-016b-4ce7-a0e6-c428c9d99f51)
02:20:38 worker_short.1 | 02:20:38 Result is kept for 500 seconds
02:20:38 worker_short.1 | 02:20:38
02:20:38 worker_short.1 | 02:20:38 *** Listening on short…

when i am trying to update to 10 the below error comes

praveen@praveen:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)

Cannot proceed with update: You have local changes in app “erpnext” that are not committed.

Here are your choices:

  1. Merge the erpnext app manually with “git pull” / “git pull --rebase” and fix conflicts.
  2. Temporarily remove your changes with “git stash” or discard them completely
    with “bench update --reset” or for individual repositries “git reset --hard”
  3. If your changes are helpful for others, send in a pull request via GitHub and
    wait for them to be merged in the core.
    praveen@praveen:~/frappe-bench$

Hi praveen, regarding your problem with running bench update, try the following and please report if the update was successful:

A. i tried as per the instruction and the below screen came up

praveen@praveen:~$ cd frappe-bench
praveen@praveen:~/frappe-bench$ cd apps/erpnext
praveen@praveen:~/frappe-bench/apps/erpnext$ git status
On branch develop
Your branch is up-to-date with ‘upstream/develop’.
Untracked files:
(use “git add …” to include in what will be committed)

erpnext/schools/

nothing added to commit but untracked files present (use “git add” to track)
praveen@praveen:~/frappe-bench/apps/erpnext$ git add --all
praveen@praveen:~/frappe-bench/apps/erpnext$ git stash

*** Please tell me who you are.

Run

git config --global user.email “you@example.com
git config --global user.name “Your Name”

to set your account’s default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got ‘praveen@praveen.(none)’)
Cannot save the current index state
praveen@praveen:~/frappe-bench/apps/erpnext$

B. then i tried to update bench and the following screen came

praveen@praveen:~$ cd frappe-bench
praveen@praveen:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)

Cannot proceed with update: You have local changes in app “erpnext” that are not committed.

Here are your choices:

  1. Merge the erpnext app manually with “git pull” / “git pull --rebase” and fix conflicts.
  2. Temporarily remove your changes with “git stash” or discard them completely
    with “bench update --reset” or for individual repositries “git reset --hard”
  3. If your changes are helpful for others, send in a pull request via GitHub and
    wait for them to be merged in the core.

C. after this i followed the same steps for the other directory " frappe-bench/apps/frappe" then the below screen came

praveen@praveen:~/frappe-bench$ cd frappe-bench/apps/frappe
bash: cd: frappe-bench/apps/frappe: No such file or directory
praveen@praveen:~/frappe-bench$ cd apps/frappe
praveen@praveen:~/frappe-bench/apps/frappe$ git status
On branch develop
Your branch is up-to-date with ‘upstream/develop’.
nothing to commit, working directory clean
praveen@praveen:~/frappe-bench/apps/frappe$ cd .
praveen@praveen:~/frappe-bench/apps/frappe$ cd …
praveen@praveen:~/frappe-bench/apps$ cd erpnext
praveen@praveen:~/frappe-bench/apps/erpnext$ git status
On branch develop
Your branch is up-to-date with ‘upstream/develop’.
Changes to be committed:
(use “git reset HEAD …” to unstage)

new file:   erpnext/schools/doctype/assessment_result_tool/test_assessment_result_tool.py
new file:   erpnext/schools/doctype/course_schedule/test_course_schedule.js
new file:   erpnext/schools/doctype/course_scheduling_tool/test_course_scheduling_tool.js
new file:   erpnext/schools/doctype/course_scheduling_tool/test_course_scheduling_tool.py
new file:   erpnext/schools/doctype/fee_category/test_fee_category.js
new file:   erpnext/schools/doctype/program_enrollment/test_program_enrollment.js
new file:   erpnext/schools/doctype/program_enrollment_tool/test_program_enrollment_tool.js
new file:   erpnext/schools/doctype/program_enrollment_tool/test_program_enrollment_tool.py
new file:   erpnext/schools/doctype/school_house/test_school_house.js
new file:   erpnext/schools/doctype/school_settings/test_school_settings.py
new file:   erpnext/schools/doctype/student/test_student.js
new file:   erpnext/schools/doctype/student_attendance_tool/test_student_attendance_tool.py
new file:   erpnext/schools/doctype/student_group_creation_tool/test_student_group_creation_tool.py
new file:   erpnext/schools/doctype/student_language/test_student_language.js

D. Again i tried to update bench and below screen came

praveen@praveen:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)

Cannot proceed with update: You have local changes in app “erpnext” that are not committed.

Here are your choices:

  1. Merge the erpnext app manually with “git pull” / “git pull --rebase” and fix conflicts.
  2. Temporarily remove your changes with “git stash” or discard them completely
    with “bench update --reset” or for individual repositries “git reset --hard”
  3. If your changes are helpful for others, send in a pull request via GitHub and
    wait for them to be merged in the core.

F. then i used “bench update --reset” and following screen came up

praveen@praveen:~/frappe-bench$ bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)
INFO:bench.app:pulling frappe
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at 833259c Merge pull request #4575 from achillesrasquinha/dropzone
INFO:bench.utils:find . -name “.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at ff2fb65 Merge branch ‘develop’
INFO:bench.utils:find . -name "
.pyc” -delete
INFO:bench.app:pulling cheque_management
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at be6b6f1 Fix for foriegn currency with other mode of payments
INFO:bench.utils:find . -name “.pyc" -delete
INFO:bench.app:pulling restriction
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 4c4e608 a
INFO:bench.utils:find . -name "
.pyc” -delete
INFO:bench.app:pulling property
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at db88383 modified: property/config/docs.py
INFO:bench.utils:find . -name “.pyc" -delete
INFO:bench.app:pulling switzerland
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 5eb3523 Print format correction
INFO:bench.utils:find . -name "
.pyc” -delete
INFO:bench.app:pulling erpnext_shopify
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at e17ddad Merge branch ‘develop’
INFO:bench.utils:find . -name “*.pyc” -delete
Updating Python libraries…
INFO:bench.utils:./env/bin/pip install --upgrade pip
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
INFO:bench.utils:./env/bin/pip install -q -r /home/praveen/.bench/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/Cheque-Management/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/property/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/switzerland/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/transport_management_system/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/restriction/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext_shopify/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/cheque_management/requirements.txt
Updating node libraries…
INFO:bench.utils:npm install

canvas@1.6.9 install /home/praveen/frappe-bench/node_modules/canvas
node-gyp rebuild

Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo' found gyp: Call to './util/has_lib.sh freetype' returned exit status 0 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 4.10.0-42-generic
gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /home/praveen/frappe-bench/node_modules/canvas
gyp ERR! node -v v6.12.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm ERR! Linux 4.10.0-42-generic
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install”
npm ERR! node v6.12.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! canvas@1.6.9 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@1.6.9 install script ‘node-gyp rebuild’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs canvas
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls canvas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/praveen/frappe-bench/npm-debug.log
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/praveen/.bench/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/praveen/.bench/bench/commands/update.py”, line 58, in update
_update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, force=force, reset=reset)
File “/home/praveen/.bench/bench/commands/update.py”, line 75, in _update
update_npm_packages(bench_path=bench_path)
File “/home/praveen/.bench/bench/utils.py”, line 442, in update_npm_packages
exec_cmd(‘npm install’, cwd=bench_path)
File “/home/praveen/.bench/bench/utils.py”, line 140, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: npm install

i don’t understand why this is happening please help in this

Hi @praveen_kamboj,

it seems that you are missing some dependencies. Can you try

bench setup requirements

Also, make sure to have the package cairo installed (sudo apt install cairo). Then, re-run bench update. Does that resolve the issue? Otherwise, can you please note your distro/version?

Hi lasalesi,

A. i Tried to install cario but the screen came after is this

praveen@praveen:~/frappe-bench$ sudo apt install cario
[sudo] password for praveen:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package cario

B. when i tried to update bench this screen came

praveen@praveen:~/frappe-bench$ bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)
INFO:bench.app:pulling frappe
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at 995a384 [refactor] UI Tree component (#4700)
INFO:bench.utils:find . -name “.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at c33788a Show standard rate only in unsaved Item
INFO:bench.utils:find . -name "
.pyc” -delete
INFO:bench.app:pulling erpnext_shopify
INFO:bench.utils:git fetch --all
Fetching upstream
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 5 (delta 4), reused 3 (delta 3), pack-reused 0
Unpacking objects: 100% (5/5), done.
From GitHub - frappe/erpnext_shopify: [Deprecated] Shopify connector for ERPNext
54c3e8a…0244799 develop → upstream/develop
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at 0244799 Merge pull request #182 from saurabh6790/minor_fix
INFO:bench.utils:find . -name “*.pyc” -delete
Updating Python libraries…
INFO:bench.utils:./env/bin/pip install --upgrade pip
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
INFO:bench.utils:./env/bin/pip install -q -r /home/praveen/.bench/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext_shopify/requirements.txt
Updating node libraries…
INFO:bench.utils:npm install

canvas@1.6.9 install /home/praveen/frappe-bench/node_modules/canvas
node-gyp rebuild

Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo' found gyp: Call to './util/has_lib.sh freetype' returned exit status 0 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 4.10.0-42-generic
gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /home/praveen/frappe-bench/node_modules/canvas
gyp ERR! node -v v6.12.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm ERR! Linux 4.10.0-42-generic
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install”
npm ERR! node v6.12.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! canvas@1.6.9 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@1.6.9 install script ‘node-gyp rebuild’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs canvas
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls canvas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/praveen/frappe-bench/npm-debug.log
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/praveen/.bench/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/praveen/.bench/bench/commands/update.py”, line 58, in update
_update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, force=force, reset=reset)
File “/home/praveen/.bench/bench/commands/update.py”, line 75, in _update
update_npm_packages(bench_path=bench_path)
File “/home/praveen/.bench/bench/utils.py”, line 442, in update_npm_packages
exec_cmd(‘npm install’, cwd=bench_path)
File “/home/praveen/.bench/bench/utils.py”, line 140, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: npm install

Hi @praveen_kamboj,

I think that might be the issue. Can you try

sudo apt install libcairo2-dev libjpeg-dev libgif-dev

Maybe this helps:

Once this is resolved, try again… Hope this helps.

Hi lasalesi,

Thanks for the help every thing worked but still i am not able to update the bench when ever i am trying for it the below screen comes thou i have tried the bench update --reset command also.

praveen@praveen:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)

Cannot proceed with update: You have local changes in app “frappe” that are not committed.

Here are your choices:

  1. Merge the frappe app manually with “git pull” / “git pull --rebase” and fix conflicts.
  2. Temporarily remove your changes with “git stash” or discard them completely
    with “bench update --reset” or for individual repositries “git reset --hard”
  3. If your changes are helpful for others, send in a pull request via GitHub and
    wait for them to be merged in the core.

Hello,

Have you tried “Delete search history”? Clear cache and cookies in your internet browser Clear cache & cookies - Computer - Google Account Help

It worked for me.

Hi @praveen_kamboj,

the error now only contains the local changes. This should be solved with bench update --reset (but you have tried that :wink: ).

Can you check your apps/frappe folder with git status? It should give you Already up to date. If not, try git reset --hard. Then, try the update again.

Hi lasalesi,

thanks for your valuable support i could solve my problem now when i runned the command bench update there were no issue and things went well. i would like one more favor from you after the login when i checked the version it showed as v9 how i can go to v10.

thanks.