E-invoice Error

Error
[Errno 30] Read-only file system: b’./erp.company.com/public/files/QRCode_SIAPPL21-224729.png’
Exception:
Traceback (most recent call last):
File “/home/erpnext/frappe-bench/apps/erpnext/erpnext/regional/india/e_invoice/utils.py”, line 726, in generate_irn
self.set_einvoice_data(irn_details)
File “/home/erpnext/frappe-bench/apps/erpnext/erpnext/regional/india/e_invoice/utils.py”, line 981, in set_einvoice_data
self.attach_qrcode_image()
File “/home/erpnext/frappe-bench/apps/erpnext/erpnext/regional/india/e_invoice/utils.py”, line 1007, in attach_qrcode_image
_file.save()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 285, in save
return self._save(*args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 307, in _save
self.insert()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 231, in insert
self.run_method(“before_insert”)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 860, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 1158, in composer
return composed(self, method, *args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 1141, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py”, line 854, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 56, in before_insert
self.save_file(content=self.content, decode=self.decode)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 477, in save_file
return self.save_file_on_filesystem()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 481, in save_file_on_filesystem
fpath = self.write_file()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 421, in write_file
with open(os.path.join(file_path.encode(‘utf-8’), self.file_name.encode(‘utf-8’)), ‘wb+’) as f:
OSError: [Errno 30] Read-only file system: b’./erp.company.com/public/files/QRCode_SIAPPL21-224729.png’