We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Refresh index, Logs File, Last Version

Answered
Andrea Fabbri asked on March 31, 2023

Hello I have some questions,

  1. now we run multiple instaces of flexmonster data server each one on a differnt port. When we had only one instance we used "http://localhost:9555/admin/indexes/reload/YOUR_INDEX_NAME" to refresh the index. Now the port 9555 does not respond. How can I refresh now whith multiple instances?
  2. is it possible to customize the log folder to have one for each instance?
  3. we tried updating the dataserver to the latest version (2.9.47). With the config sample file it works correctly, with our config in which the https configuration is present it does not start and gives the following error.
    2023-03-31 12:57:33.9986|FATAL|Flexmonster.DataServer.Program|Https configuration failed. Details: The specified network password is not correct. But the same config with an oldest version work fine. Here is the https configuration
    "HTTPS": {
    "Enabled": true,
    "Certificate": {
    "Path": "C:\\FlexMonster\\Certificato\\cert.pfx",
    "Password": "*****",
    "AllowInvalid": false
    },
    "Protocols": "Http1AndHttp2"

Waiting for some advices.
Andrea
 

2 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster April 3, 2023

 
Hello, Andrea!
 
Thank you for contacting us.
 
Please find the detailed answers to your questions below:
 
1. How can I refresh index now with multiple instances?
Kindly note that it is possible to run multiple Data Server instances in two ways: 

  • Having one run as a service with Flexmonster Admin Panel and all others as .exe.
    The Admin Panel is running on the 9555 port. This way, we can refresh indexes on the instance of the Data Server, which is connected to the Admin Panel, by using mentioned request to the 9555 port.
  • Running all the Data Server instances as .exe.
    This way, the Admin Panel instance does not take the 9555 port, and no indexes can be refreshed.

 
2. Is it possible to customize the log folder to have one for each instance?
Kindly note that for now, all the logs are stored in the same FlexmonsterDataServer/logs folder. However, we have added the suggested feature to our customers' wishlist. With this feature, each Data Server instance would have a separate log folder located in the same directory as the Data Server .exe file.
Our team will notify you about any updates on the feature.
 
3. We tried updating the dataserver to the latest version (2.9.47). With the config sample file it works correctly, with our config in which the https configuration is present it does not start and gives the following error
We have compared the provided HTTPS configuration snippet with the one on our side and haven't found any differences. We kindly suggest checking the password as the error message states that "The specified network password is not correct". The other possible approach we could suggest is to configure the HTTPS locally using the Admin Panel and then copy the generated config file.
 
Hope you will find our answer helpful.
 
Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster April 11, 2023

Hello, Andrea!

Hope you are doing well.

Just checking in to ask if you had some time to look through our previous answer. Please let us know if there are any further questions.

Looking forward to hearing from you.

Regards,
Solomiia

Please login or Register to Submit Answer