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
Describe the bug
The Windows deploy_timesketch.ps1 file "sed's" the timesketch.conf file to update the opensearch varables for connection. The timesketch.conf file uses OPENSEARCH_HOST and OPENSEARCH_PORT variables while the PS script uses ELASTIC_HOST and ELASTIC_PORT. This results in a broken installation because timesketch-web attempts to connect to 127.0.0.1:9200 for the Opensearch connection. The configuration must be manually updated in the timesketch/etc/timesketch.conf file to OPENSEARCH_HOST="opensearch".
To Reproduce
Steps to reproduce the behavior:
Use the most recent version of timesketch.ps1 to deploy timesketch. This results in a 500 error when creating or browsing to a sketch and errors indicating that timesketch-web cannot connect to opensearch.
Expected behavior
No errors.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Chrome
118.0.5993.71 64-bit
Additional context
Updating the script to replace ELASTIC_HOST with OPENSEARCH_HOST and ELASTIC_PORT with OPENSEARCH_PORT should fix the issue.
The text was updated successfully, but these errors were encountered:
Describe the bug
The Windows deploy_timesketch.ps1 file "sed's" the timesketch.conf file to update the opensearch varables for connection. The timesketch.conf file uses OPENSEARCH_HOST and OPENSEARCH_PORT variables while the PS script uses ELASTIC_HOST and ELASTIC_PORT. This results in a broken installation because timesketch-web attempts to connect to 127.0.0.1:9200 for the Opensearch connection. The configuration must be manually updated in the timesketch/etc/timesketch.conf file to OPENSEARCH_HOST="opensearch".
To Reproduce
Steps to reproduce the behavior:
Use the most recent version of timesketch.ps1 to deploy timesketch. This results in a 500 error when creating or browsing to a sketch and errors indicating that timesketch-web cannot connect to opensearch.
Expected behavior
No errors.
Screenshots
Desktop (please complete the following information):
Additional context
Updating the script to replace ELASTIC_HOST with OPENSEARCH_HOST and ELASTIC_PORT with OPENSEARCH_PORT should fix the issue.
The text was updated successfully, but these errors were encountered: