Devices disapear in sorting, but shown in searching.

Hi guys!

Not a big problem, but more of a question why.

When I am in the devices overview: Sorting on for example "Agent connect time" works as intended, but if I try to sort on for example "Mac Address" the devices in the overview disapears, and is gone until the sorting is removed. Trying to do this sorting gives the following: "Device information could not be retrieved. The MobiControl Search service is not responding."

While if I try to search for that Mac address should contain "xyz.." this will give a proper result.

What are the differences between sorting and actual searching?

Also if I try to export .csv this is empty, which I guess is some of the same reason that sorting is giving a problem.

Br.
Anders Kvisvik
FARA 

4 years ago
SOTI MobiControl
ANSWERS
A
ANKMOD@SOTI
4 years ago (edited 4 years ago)

Hello Anders

Greetings

Thanks for your Post to Soti central!!

It seems that your mobicontrol advance search is not properly working and that might be the reason you are not able to sort properly.

Kindly check Mobicontrol search sync integrity by going under the Global settings on your web console and  if its below 100 % then you can try to sync the search by clicking on sync now and use refreshs to make it to 100%  as shown below.

If due to any reason , Manual search sync  failed or aborted and not  syncing to 100%  and Your server is hosted On Premise with you then you can try to rebuild the indexes  for a quick fix by going onto your server and open MCadminutilty and perform the following. 

  1. Stop Elastic Search Service, wait for 1 minute
  2. Stop MS Service, wait for 1 minute
  3. Stop DS Service, wait for 1 minute
  4. Go to C:\Program Files\SOTI\MobiControl\Search  
  5. Change "data" folder to "data.old"
  6. Start Elastic Search Service, wait for 1 minute
  7. Start MS Service, wait for 1 minute
  8. Login to the Web Console and make sure Search Integrity goes to 100%
  9. Start DS Service now.

If Your server is hosted with us or if you are Unsure of performing any steps for Your on premsie server  mentioned above  then i will recommend you to please raise a support case (click here) or call SOTI Support team (click here) to assist you better?

Kindly let us know how it works!!

Regards

AK
Anders Kvisvik
4 years ago

Hi ANKMOD!

Seems like that the integrity is 100%.

For a while ago we had problems with the integrity, and did the steps you mentioned in the post. After that it got back to 100%. I cant say that I remember if I tested the sorting after we fixed the integrity the last time. 

Do you think it might be related to the time we had problems with the integrity, or should it be OK as long as it reaches 100% now?

Br.
Anders Kvisvik
FARA

A
ANKMOD@SOTI
4 years ago

Hello Anders

Greetings

Thanks for your reply

Most of the time , It should be fine if your Mobicontrol search sync integrity is able to sync successfully at 100 %.  You already have integrity at 100% so can you confirm if you are still having sorting of devices issue.

If issue is still reproducable, Kindly mention your mobicontrol version along with build no  and also  as i mentioned in my last post, for further investigation through your server logs, it would be nice if you create a case with us to assist you better.

In case of any other issue, please feel free to ask.

Regards

AK
Anders Kvisvik
4 years ago

Hi ANKMOD!

Yeah the problem still persist when the integrity is at 100%.

I have had some more time looking in to this throughout the weekend and we have some more info in the MS.log.

Example:

* Exception: Search error has occured. Type: illegal_argument_exception Reason: "Fielddata is disabled on text fields by default. Set fielddata=true on [Manufacturer] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead." *

DeviceManagementException: Search error has occured. Type: illegal_argument_exception Reason: "Fielddata is disabled on text fields by default. Set fielddata=true on [Manufacturer] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."]
at Soti.MobiControl.WebApi.Controllers.DevicesController.GetSummary(IEnumerable`1 aggregationRequests, String groupPath, String filter, Nullable`1 includeSubgroups)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)

Any ideas what this can be? Tried googling around a bit, but didn't quite find what this is related to SOTI.

Version of MobiControl: 14.4.9.1034.

Br.
Anders Kvisvik
FARA