edit: I just realized that I replied to the wrong person… sorry @samithaj I meant @shreyasp…
Thanks for the suggestion. I followed the instruction on that page and got a failure on item 12: bench update
Here’s the error:
frappe-bench bench update
INFO:bench.utils:updating bench
Already up-to-date.
Requirement already satisfied (use --upgrade to upgrade): Pillow in ./env/lib/python2.7/site-packages
INFO:bench.app:pulling frappe
From https://github.com/frappe/frappe
* branch master -> FETCH_HEAD
Already up-to-date.
INFO:bench.app:pulling erpnext
From https://github.com/frappe/erpnext
* branch master -> FETCH_HEAD
Already up-to-date.
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/Projects/erpnext/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
main()
File "/Users/chris/Projects/erpnext/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
click.Group(commands=commands)(prog_name='bench')
File "/Users/chris/Projects/erpnext/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/Users/chris/Projects/erpnext/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/Users/chris/Projects/erpnext/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/chris/Projects/erpnext/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/chris/Projects/erpnext/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/chris/Projects/erpnext/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/Users/chris/Projects/erpnext/frappe-bench/env/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/chris/Projects/erpnext/frappe-bench/apps/frappe/frappe/commands.py", line 29, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/Users/chris/Projects/erpnext/frappe-bench/apps/frappe/frappe/commands.py", line 895, in backup
frappe.init(site=site)
File "/Users/chris/Projects/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 121, in init
local.conf = _dict(get_site_config())
File "/Users/chris/Projects/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 173, in get_site_config
config.update(get_file_json(site_config))
File "/Users/chris/Projects/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 765, in get_file_json
return json.load(f)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load
**kw)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 381, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 4 column 2 (char 64)
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench', 'console_scripts', 'bench')()
File "/Users/chris/Projects/erpnext/bench-repo/bench/cli.py", line 40, in cli
bench_command()
File "/Library/Python/2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/Library/Python/2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/Library/Python/2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Python/2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Python/2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/Users/chris/Projects/erpnext/bench-repo/bench/commands/update.py", line 61, in update
_update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
File "/Users/chris/Projects/erpnext/bench-repo/bench/commands/update.py", line 90, in _update
backup_all_sites(bench=bench_path)
File "/Users/chris/Projects/erpnext/bench-repo/bench/utils.py", line 382, in backup_all_sites
backup_site(site, bench=bench)
File "/Users/chris/Projects/erpnext/bench-repo/bench/utils.py", line 378, in backup_site
run_frappe_cmd('--site', site, 'backup', bench=bench)
File "/Users/chris/Projects/erpnext/bench-repo/bench/utils.py", line 491, in run_frappe_cmd
raise CommandFailedError(args)
bench.utils.CommandFailedError: ('--site', 'littlebunyip.local', 'backup')
➜ frappe-bench