Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
I Use The

I use the docker-compose.yml file and keep everything inside /opt/trains :
tree -d . ├── config ├── data │   ├── elastic │   │   └── nodes │   │   └── 0 │   │   └── _state │   ├── fileserver │   ├── mongo │   │   ├── configdb │   │   └── db │   │   ├── diagnostic.data [error opening dir] │   │   └── journal [error opening dir] │   └── redis └── logsand today when I tried to log into trains http://localhost:8080 I see a lot of errors inside the developers console and almost nothing on the screen (screenshot in the thread):
ERROR TypeError: "e['trains-server'] is undefined" set availableUpdates update-notifier.component.ts:18 Angular 5 Tn app.component.html:1 Angular 25 core.js.pre-build-optimizer.js:6014:39

  
  
Posted 4 years ago
Votes Newest

Answers 9


I tried to removes all the images and content from docker with docker-compose down and docker rmi , also remove all the content in each directory of /opt/trains/ created by the containers, do you have any idea why this happens?

  
  
Posted 4 years ago

👍

  
  
Posted 4 years ago

Hi SteadyFox10 ,
Are you using Windows?

  
  
Posted 4 years ago

I'm on linux, and this morning I restart it and everything was fine.

  
  
Posted 4 years ago

dashboard

  
  
Posted 4 years ago

Hi SteadyFox10 , can you please check the API server respond to the UI requests, by opening the network tab of the browser developer tools(F12) ?

  
  
Posted 4 years ago

If this issue happens again is there any log I can provide for help/debug ?

  
  
Posted 4 years ago

You can upload all the logs obtained from calling sudo docker logs <container-name> where container name is one of trains-apiserver , trains-elastic and so on

  
  
Posted 4 years ago

image

  
  
Posted 4 years ago
630 Views
9 Answers
4 years ago
one month ago
Tags