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
Hey Guys, Anyone Knows What It Means If I Deployed A New Trains Server And When I Access It My Tab Looks Like This?

Hey guys,
Anyone knows what it means if i deployed a new trains server and when i access it My tab looks like this?

  
  
Posted 3 years ago
Votes Newest

Answers 24


Also, in the browser's dev tools, can you share how the network tab looks? This kind of dashboard issue ususally means the UI is unable to contact the apiserver component

  
  
Posted 3 years ago

OMG! you are right!
I browsed in incognito and everything looks fine now thank you so much!

  
  
Posted 3 years ago

Assuming you are using docker-compose, the console output is a good start

  
  
Posted 3 years ago

Could you send the logs?

  
  
Posted 3 years ago

I feel like im missing all of them 😥 .

I tried following the linux, k8s and helm deployment guides and no matter how much i refresh, my server always looks like this.

  
  
Posted 3 years ago

Did you have a previously installed version?

  
  
Posted 3 years ago

Best policy is "ask first" 😄

  
  
Posted 3 years ago

Looking at the APIserver logs again, I see the same errors. Specifically
[2020-11-03 17:37:27,433] [8] [WARNING] [trains.service_repo] Returned 400 for users.get_preferences in 2ms, msg=Invalid user id: id=c7e45a3f03d04d8d99151a6210522a5f, company=d1bd92a3b039400cbafc60a7a5b1e52b [2020-11-03 17:37:27,510] [8] [WARNING] [trains.service_repo] Returned 400 for users.get_current_user in 2ms, msg=Invalid user (failed loading user)

  
  
Posted 3 years ago

In the browser's dev tools under Application/cookies try to delete the cookies and reload using Ctrl-F5

  
  
Posted 3 years ago

Do you mean the dev console in the browser? if so yes

  
  
Posted 3 years ago

Thanks, much appreciated

  
  
Posted 3 years ago

Here is the network tab

  
  
Posted 3 years ago

Might be an old token cached in the browser...

  
  
Posted 3 years ago

ColossalAnt7 the trains-apiserver logs look suspiciously small... Can you attach the output of sudo docker ps ?

  
  
Posted 3 years ago

Do you get any errors in the dev console?

  
  
Posted 3 years ago

Happy to help 🙂

  
  
Posted 3 years ago

ColossalAnt7 all the ports are open? (8080, 8008, 8081)

  
  
Posted 3 years ago

And thank you AgitatedDove14 TimelyPenguin76 too for your help
Honestly, this bug has been fudging me for a week.

  
  
Posted 3 years ago

I'll ask them to give it a look

  
  
Posted 3 years ago

the console output goes like this
WARNING: The TRAINS_HOST_IP variable is not set. Defaulting to a blank string. WARNING: The TRAINS_AGENT_GIT_USER variable is not set. Defaulting to a blank string. WARNING: The TRAINS_AGENT_GIT_PASS variable is not set. Defaulting to a blank string. Creating network "trains_backend" with driver "bridge" Creating network "trains_default" with the default driver Creating trains-fileserver ... done Creating trains-elastic ... done Creating trains-mongo ... done Creating trains-redis ... done Creating trains-apiserver ... done Creating trains-webserver ... done Creating trains-agent-services ... doneIll attach the logs from all containers now

  
  
Posted 3 years ago

Yes, this happens both with docker compose on my pc where all ports are open, and on k8s, where the other ports are open.
When i had another container take one of the ports, i got warnings during the deployment or the docker-compose up command

  
  
Posted 3 years ago

Hi ColossalAnt7
Try ctrl-F5 and refresh the page?!
It seems you are missing a few buttons 😉

  
  
Posted 3 years ago

Do you know who i can talk to to have the devs add this use case to their FAQ?

  
  
Posted 3 years ago

Here is the ps command output
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d0a38a3fd514 allegroai/trains:latest "/opt/trains/wrapper…" 26 minutes ago Up 26 minutes 8008/tcp, 8080-8081/tcp, 0.0.0.0:8080->80/tcp trains-webserver fa86fb49e928 allegroai/trains-agent-services:latest "/usr/agent/entrypoi…" 26 minutes ago Up 25 minutes trains-agent-services 2fe52cffae8a allegroai/trains:latest "/opt/trains/wrapper…" 26 minutes ago Up 26 minutes 0.0.0.0:8008->8008/tcp, 8080-8081/tcp trains-apiserver 062ad624aa1a redis:5.0 "docker-entrypoint.s…" 26 minutes ago Up 26 minutes 0.0.0.0:6379->6379/tcp trains-redis 48ce72709b9c docker.elastic.co/elasticsearch/elasticsearch:7.6.2 "/usr/local/bin/dock…" 26 minutes ago Up 26 minutes 0.0.0.0:9200->9200/tcp, 9300/tcp trains-elastic 4d93af2c60ce mongo:3.6.5 "docker-entrypoint.s…" 26 minutes ago Up 26 minutes 0.0.0.0:27017->27017/tcp trains-mongo a8d28bf4c4af allegroai/trains:latest "/opt/trains/wrapper…" 26 minutes ago Up 26 minutes 8008/tcp, 8080/tcp, 0.0.0.0:8081->8081/tcp trains-fileserver

  
  
Posted 3 years ago
575 Views
24 Answers
3 years ago
one year ago
Tags