Shopify connector installation error


can you try to install using bench command:

  1. login to server using ssh
  2. cd frappe-bench
  3. bench get-app erpnext_shopify
  4. 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/”, line 40, in cli
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/”, line 716, in call
return self.main(*args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/”, line 696, in main
rv = self.invoke(ctx)
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/”, line 1057, in invoke
Command.invoke(self, ctx)
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/”, line 534, in invoke
return callback(*args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/bench/bench/commands/”, line 21, in bench_command
File “/opt/bitnami/apps/erpnext/htdocs/bench/bench/”, line 226, in setup_logging
hdlr = logging.FileHandler(log_file)
File “/opt/bitnami/python/lib/python2.7/logging/”, line 913, in init
StreamHandler.init(self, self._open())
File “/opt/bitnami/python/lib/python2.7/logging/”, 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’

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.