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
Hi ColossalAnt7
Try ctrl-F5 and refresh the page?!
It seems you are missing a few buttons 😉
Did you have a previously installed version?
Here is the ps command outputCONTAINER 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
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.
OMG! you are right!
I browsed in incognito and everything looks fine now thank you so much!
the console output goes like thisWARNING: 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 ... done
Ill attach the logs from all containers now
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)
Do you know who i can talk to to have the devs add this use case to their FAQ?
Assuming you are using docker-compose, the console output is a good start
Might be an old token cached in the browser...
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
ColossalAnt7 the trains-apiserver
logs look suspiciously small... Can you attach the output of sudo docker ps
?
In the browser's dev tools under Application/cookies
try to delete the cookies and reload using Ctrl-F5
Do you get any errors in the dev console?
Do you mean the dev console in the browser? if so yes
ColossalAnt7 all the ports are open? (8080, 8008, 8081)
And thank you AgitatedDove14 TimelyPenguin76 too for your help
Honestly, this bug has been fudging me for a week.