Frappe.limits.update_space_usage #232

{‘retry’: 0, ‘log’: <function log at 0x7f39c3788320>, ‘site’: u’’, ‘event’: u’hourly’, ‘method_name’: u’frappe.limits.update_space_usage’, ‘method’: <function update_space_usage at 0x7f39c3a4c0c8>, ‘user’: u’Administrator’, ‘kwargs’: {}, ‘async’: True, ‘job_name’: u’frappe.limits.update_space_usage’}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 97, in execute_job
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 207, in update_space_usage
files_size += get_folder_size(frappe.get_site_path(“private”, “files”))
TypeError: unsupported operand type(s) for +=: ‘NoneType’ and ‘NoneType’

Can anyone look on this and explain what is this.

This error generated because of permission issues.
run this command

sudo chmod 664 frappe-bench/sites/{sitename}/site_config.json