Skip to content

unable to restore snapshot created with synonyms in windows to linux #29614

@Abhinawkumar9

Description

@Abhinawkumar9

IOException while reading synonyms_path_path: /etc/elasticsearch/C:/elasticsearch-6.2.2/config/synonym.txt

Shards remains UNASSIGNED in LINUX server while restoring snapshot which was created in windows machine with synonyms.
After closing the index when ran open index it throws below exception.

{
"error": {
"root_cause": [
{
"type": "exception",
"reason": "Failed to verify index [articleinformation/2Sr5kjDzT7WmBtVl79HF4A]"
}
],
"type": "exception",
"reason": "Failed to verify index [articleinformation/2Sr5kjDzT7WmBtVl79HF4A]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "IOException while reading synonyms_path_path: /etc/elasticsearch/C:/elasticsearch-6.2.2/config/synonym.txt",
"caused_by": {
"type": "no_such_file_exception",
"reason": "/etc/elasticsearch/C:/elasticsearch-6.2.2/config/synonym.txt"
}
}
},
"status": 500
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions