Frappe Insights - Installation Thread

Thanks Saqib that will be very welcome!

Since posting this I was able to fix the problem with the following contribution from a seemingly related thread:

Effectively a permission error as you say!

Now I am faced with an error in the next step when doing the bench install-app insights

ubuntu@vps-f5da0f99:~/frappe-bench$ bench --site in.365247.au install-app insights

Installing insights…
Updating DocTypes for insights : [== ] 14%An error occurred while installing insights: Module import failed for Insights Query (insights.insights.doctype.insights_query.insights_query Error: cannot import name ‘task’ from ‘frappe’ (/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py))
Traceback (most recent call last):

I am seeing this import error type mentioned in other threads related to installing custom apps but nothing related to task or Insights.

Any help here would be appreciated.

Cheers

Alex