see
can you try to install using bench
command:
- login to server using ssh
cd frappe-bench
bench get-app erpnext_shopify https://github.com/frappe/erpnext_shopify
bench --site [site name] install-app erpnext_shopify
i did that, but got this error:
root@bitnami-erpnext-87df:/opt/bitnami/apps/erpnext/htdocs/frappe-bench# bench get-app erpnext_shopify GitHub - frappe/erpnext_shopify: [Deprecated] Shopify connector for ERPNext
Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/venv/bin/bench”, line 9, in
load_entry_point(‘bench==4.0.0’, ‘console_scripts’, ‘bench’)()
File “/opt/bitnami/apps/erpnext/htdocs/bench/bench/cli.py”, line 40, in cli
bench_command()
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py”, line 1057, in invoke
Command.invoke(self, ctx)
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/bench/bench/commands/init.py”, line 21, in bench_command
setup_logging(bench_path=bench_path)
File “/opt/bitnami/apps/erpnext/htdocs/bench/bench/utils.py”, line 226, in setup_logging
hdlr = logging.FileHandler(log_file)
File “/opt/bitnami/python/lib/python2.7/logging/init.py”, line 913, in init
StreamHandler.init(self, self._open())
File “/opt/bitnami/python/lib/python2.7/logging/init.py”, line 943, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: ‘/opt/bitnami/apps/erpnext/htdocs/frappe-bench/logs/bench.log’
root@bitnami-erpnext-87df:/opt/bitnami/apps/erpnext/htdocs/frappe-bench#
Are you running bench as frappe user? It looks like a permission problem
no I tried as the default bitnami user, and also as root.
‘bench update’ gives the same error
how to login as frappe user?
Not sure on bitnami, on erpnext vm is frappe.