Try ERPNext Buy Support Partners Foundation

Site is not working

hello ERPnext
when i use bench migrate command
it start updating site and then updation goes on and on.
now i cant use my site
what should i do?
further i used bench update now it show
administrator@Server:~/frappe-bench$ bench update
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 25 (delta 22), reused 23 (delta 21), pack-reused 0
Unpacking objects: 100% (25/25), done.
From https://github.com/frappe/frappe
2a2e3ca…ee5aecb develop -> upstream/develop
a19525e…025b627 hotfix -> upstream/hotfix
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
You are using pip version 9.0.3, however version 18.0 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

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.

If you have not made any local changes to your ERPNext installation, you can use bench update --reset. Also, always use frappe user to perform an updates

How can one discover the changes to Erpnext that have caused this to happen? I have the same message and git stash reports: No local changes to save. Git pull --rebase: Current branch master is up to date. Git diff returns nothing.

Bench update --reset seems to complete the update without errors, and the site is working.

bench update – reset is not working too
and give some command error that would be hard to understand

And how could i be the frappe user?

use command

su frappe

pip not install

Traceback (most recent call last):
File “/home/naztech/.local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/naztech/bench/bench/cli.py”, line 40, in cli
bench_command()
File “/home/naztech/.local/lib/python2.7/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/home/naztech/.local/lib/python2.7/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/home/naztech/.local/lib/python2.7/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/naztech/.local/lib/python2.7/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/naztech/.local/lib/python2.7/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/naztech/bench/bench/commands/update.py”, line 138, in switch_to_branch
switch_to_branch(branch=branch, apps=list(apps), upgrade=upgrade)
File “/home/naztech/bench/bench/app.py”, line 397, in switch_to_branch
switch_branch(branch, apps=apps, bench_path=bench_path, upgrade=upgrade)
File “/home/naztech/bench/bench/app.py”, line 383, in switch_branch
update_requirements()
File “/home/naztech/bench/bench/utils.py”, line 443, in update_requirements
install_app(app, bench_path=bench_path)
File “/home/naztech/bench/bench/app.py”, line 172, in install_app
find_links=find_links))
File “/home/naztech/bench/bench/utils.py”, line 161, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install -q -e ./apps/erpnext