Hi members… I’m using erpnext 9.1.1 and frappe 9.1.2 in self hosted AWS. I found version ERPNext 9.1.1 even after trying bench update.
:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
remote: Counting objects: 345, done.
remote: Compressing objects: 100% (95/95), done.
remote: Total 345 (delta 203), reused 278 (delta 192), pack-reused 50
Receiving objects: 100% (345/345), 94.07 KiB | 0 bytes/s, done.
Resolving deltas: 100% (209/209), completed with 53 local objects.
From GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps
84c5719…de5f2fd master → origin/master
258f092…efb75f2 develop → origin/develop
- [new branch] fix-migration → origin/fix-migration
- [new branch] fixes → origin/fixes
Updating 84c5719…de5f2fd
error: unable to unlink old ‘playbooks/roles/bench/tasks/main.yml’ (Permission denied)
error: unable to unlink old ‘playbooks/roles/bench/tasks/setup_erpnext.yml’ (Permission denied)
error: unable to unlink old ‘playbooks/roles/common/tasks/main.yml’ (Permission denied)
error: unable to unlink old ‘playbooks/roles/common/tasks/redhat_family.yml’ (Permission denied)
error: unable to unlink old ‘playbooks/roles/mariadb/files/debian_mariadb_config.cnf’ (Permission denied)
error: unable to unlink old ‘playbooks/roles/mariadb/files/mariadb_config.cnf’ (Permission denied)
error: unable to create file playbooks/roles/nodejs/tasks/debian_family.yml (Permission denied)
error: unable to unlink old ‘playbooks/roles/nodejs/tasks/main.yml’ (Permission denied)
error: unable to create file playbooks/roles/nodejs/tasks/redhat_family.yml (Permission denied)
fatal: cannot create directory at ‘playbooks/roles/packer’: Permission denied
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/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/frappe/bench-repo/bench/commands/update.py”, line 34, in update
update_bench()
File “/home/frappe/bench-repo/bench/utils.py”, line 282, in update_bench
with open(sudoers_file, ‘w’) as f:
File “/home/frappe/bench-repo/bench/utils.py”, line 152, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git pull
Also tried the following command:
:~/frappe-bench$ bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Updating 84c5719…de5f2fd
error: Your local changes to the following files would be overwritten by merge:
.gitignore
README.md
bench/app.py
bench/commands/init.py
bench/commands/install.py
bench/commands/make.py
bench/commands/setup.py
bench/config/templates/Procfile
bench/utils.py
playbooks/README.md
playbooks/create_user.yml
playbooks/install.py
Please, commit your changes or stash them before you can merge.
Aborting
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in ca ll
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 inv oke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invo ke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invo ke
return callback(*args, **kwargs)
File “/home/frappe/bench-repo/bench/commands/update.py”, line 34, in update
update_bench()
File “/home/frappe/bench-repo/bench/utils.py”, line 253, in update_bench
exec_cmd(“git pull”, cwd=cwd)
File “/home/frappe/bench-repo/bench/utils.py”, line 152, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git pull
Holding my minimum experience, request for support from experienced hands to update ERPNext to the latest version. Thanks in advance.
with regards,
Ameer Babu