Hi,
Don’t know why this snapshot-errors for every hour. While researching some similar IOError was there but there are very less OSError. Is there any doc what is a possible reason for which this snapshot error reproduced, or where we can list out this and possible solutions?
I’m getting this error-snapshot. Any possible solutions? So far, I had changed permission 755 to file which is mentioned as Permission denied. Still, it is there every hour. Even now, I had done with 777 as well, it’s still there.
{'retry': 0, 'log': <function log at 0x7fec384b02a8>, 'site': u'site1.local', 'event': u'hourly', 'method_name': u'frappe.utils.error.collect_error_snapshots', 'method': <function collect_error_snapshots at 0x7fec38476488>, 'user': u'Administrator', 'kwargs': {}, 'async': True, 'job_name': u'frappe.utils.error.collect_error_snapshots'}
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 66, in execute_job
method(**kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/error.py", line 176, in collect_error_snapshots
os.remove(fullpath)
OSError: [Errno 13] Permission denied: './site1.local/error-snapshots/2017-08-12 17:26:11.819720-192.168.100.84-552.json'