You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on Regenerate Search Index (under general settings section of helpdesk) leads to an API error with 500 code.
I have attached a screen recording for reference. The helpdesk app has been installed according to the steps mentioned in custom app.md in frappe_docker. Video attachment
Relevant log output / Stack trace / Full Error Message.
### Route
Form/HD Settings/HD Settings
Traceback
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 114, in application
response = frappe.api.handle(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/__init__.py", line 49, in handle
data = endpoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 50, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 86, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/__init__.py", line 1726, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "apps/helpdesk/helpdesk/search.py", line 386, in build_index
search.build_index()
File "apps/helpdesk/helpdesk/search.py", line 248, in build_index
self.create_index()
File "apps/helpdesk/helpdesk/search.py", line 119, in create_index
self.redis.ft(self.index_name).create_index(
File "env/lib/python3.12/site-packages/redis/commands/search/commands.py", line 141, in create_index
return self.execute_command(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/client.py", line 1269, in execute_command
return conn.retry.call_with_retry(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/retry.py", line 46, in call_with_retry
return do()
^^^^
File "env/lib/python3.12/site-packages/redis/client.py", line 1270, in <lambda>
lambda: self._send_command_parse_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/client.py", line 1246, in _send_command_parse_response
return self.parse_response(conn, command_name, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/client.py", line 1286, in parse_response
response = connection.read_response()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "env/lib/python3.12/site-packages/redis/connection.py", line 897, in read_response
raise response
redis.exceptions.ResponseError: unknown command `FT.CREATE`, with args beginning with: `_ee0a4a6087c4956b|helpdesk_idx`, `PREFIX`, `1`, `_ee0a4a6087c4956b|search_doc:`, `SCORE`, `1.0`, `STOPWORDS`, `45`, `a`, `is`,
Information about bug
When clicking on Regenerate Search Index (under general settings section of helpdesk) leads to an API error with 500 code.
I have attached a screen recording for reference. The helpdesk app has been installed according to the steps mentioned in
custom app.md in frappe_docker.
Video attachment
Version
App Versions
Installation method
docker
Relevant log output / Stack trace / Full Error Message.
### Route Form/HD Settings/HD Settings
Traceback
Request Data
Response Data
The text was updated successfully, but these errors were encountered: