Hi can somebody help me with this error

App Versions

{
	"erpnext": "13.32.0",
	"frappe": "13.31.0"
}

Route

List/Lot Inventory Master/List

Trackeback

Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 69, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/api.py", line 55, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 38, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 76, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1448, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/__init__.py", line 767, in wrapper_fn
    retval = fn(*args, **get_newargs(fn, kwargs))
  File "apps/frappe/frappe/desk/reportview.py", line 32, in get
    data = compress(execute(**args), args=args)
  File "apps/frappe/frappe/desk/reportview.py", line 68, in execute
    return DatabaseQuery(doctype).execute(*args, **kwargs)
  File "apps/frappe/frappe/model/db_query.py", line 168, in execute
    self.update_user_settings()
  File "apps/frappe/frappe/model/db_query.py", line 904, in update_user_settings
    update_user_settings(self.doctype, user_settings)
  File "apps/frappe/frappe/model/utils/user_settings.py", line 51, in update_user_settings
    frappe.cache().hset(
  File "apps/frappe/frappe/utils/redis_wrapper.py", line 170, in hset
    super(RedisWrapper, self).hset(_name, key, pickle.dumps(value))
  File "env/lib/python3.9/site-packages/redis/client.py", line 3050, in hset
    return self.execute_command('HSET', name, *items)
  File "env/lib/python3.9/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "env/lib/python3.9/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "env/lib/python3.9/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

Request Data

{
	"type": "POST",
	"args": {
		"doctype": "Lot Payment Entry",
		"fields": "[\"`tabLot Payment Entry`.`name`\",\"`tabLot Payment Entry`.`owner`\",\"`tabLot Payment Entry`.`creation`\",\"`tabLot Payment Entry`.`modified`\",\"`tabLot Payment Entry`.`modified_by`\",\"`tabLot Payment Entry`.`_user_tags`\",\"`tabLot Payment Entry`.`_comments`\",\"`tabLot Payment Entry`.`_assign`\",\"`tabLot Payment Entry`.`_liked_by`\",\"`tabLot Payment Entry`.`docstatus`\",\"`tabLot Payment Entry`.`parent`\",\"`tabLot Payment Entry`.`parenttype`\",\"`tabLot Payment Entry`.`parentfield`\",\"`tabLot Payment Entry`.`idx`\",\"`tabLot Payment Entry`.`site_name`\",\"`tabLot Payment Entry`.`posting_date`\",\"`tabLot Payment Entry`.`company`\",\"`tabLot Payment Entry`.`paid_from_account_balance`\",\"`tabLot Payment Entry`.`paid_to_account_balance`\",\"`tabLot Payment Entry`.`paid_amount`\",\"`tabLot Payment Entry`.`paid_amount_after_tax`\",\"`tabLot Payment Entry`.`status`\",\"`tabLot Payment Entry`.`title`\",\"`tabLot Payment Entry`.`paid_from_account_currency`\",\"`tabLot Payment Entry`.`paid_to_account_currency`\"]",
		"filters": "[[\"Lot Payment Entry\",\"company\",\"=\",\"P27 Construction Corporation\"]]",
		"order_by": "`tabLot Payment Entry`.`modified` desc",
		"start": 0,
		"page_length": 20,
		"view": "List",
		"group_by": "`tabLot Payment Entry`.`name`",
		"with_comment_count": true
	},
	"freeze": false,
	"freeze_message": "Loading...",
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/frappe.desk.reportview.get"
}

Response Data

{
	"exception": "redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error."
}

hi

Could you check the redis server log to see what’s causing this ?

In most case it could be memory allocation … in which case you could try the below

Modify /etc/sysctl.conf and add:

vm.overcommit_memory=1

An then reboot