when i had used the solution it gave many error but not sure if this will lead to trouble later on
error on the title : frappe.utils.error.collect_error_snapshots
{‘event’: u’hourly’, ‘retry’: 0, ‘log’: <function log at 0x7faac9cb9e60>, ‘site’: u’site1.local’, ‘job_name’: u’frappe.utils.error.collect_error_snapshots’, ‘method_name’: u’frappe.utils.error.collect_error_snapshots’, ‘method’: <function collect_error_snapshots at 0x7faacb3fc488>, ‘user’: u’Administrator’, ‘kwargs’: {}, ‘is_async’: True}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 103, 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/2019-04-29 19:22:29.061428-192.168.1.43-709.json’
error on the title run_background
{‘event’: None, ‘retry’: 0, ‘log’: <function log at 0x7ff48de45c08>, ‘site’: u’site1.local’, ‘job_name’: u’<function run_background at 0x7ff17bd15c80>‘, ‘method_name’: u’run_background’, ‘method’: <function run_background at 0x7ff48de6eb18>, ‘user’: u’anthony@erpnext.com’, ‘kwargs’: {‘prepared_report’: u’REP00017’}, ‘is_async’: True}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 103, in execute_job
method(**kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/prepared_report/prepared_report.py”, line 36, in run_background
instance = frappe.get_doc(“Prepared Report”, prepared_report)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 725, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 69, in get_doc
return controller(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 104, in init
self.load_from_db()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 141, in load_from_db
frappe.throw((“{0} {1} not found”).format((self.doctype), self.name), frappe.DoesNotExistError)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 352, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 338, in msgprint
_raise_exception()
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 311, in _raise_exception
raise raise_exception(msg)
DoesNotExistError: Prepared Report REP00017 not found