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
Hi Everyone! I'M Trying To Setup Web Login With Fixed Users Using Default Apiserver.Conf From Doc. When User Firstly Created Everything Seems To Be Ok, But After Server Restart It Throws "Invalid User/Password Combination". I Have Available Elastic And Mo

Hi everyone!
I'm trying to setup web login with fixed users using default apiserver.conf from doc. When user firstly created everything seems to be ok, but after server restart it throws "Invalid User/Password combination". I have available elastic and mongo ports, but i was trying to change them anyway and nothing changed.
I'm using selfhosted clearml-server with docker compose.

  
  
Posted one month ago
Votes Newest

Answers 8


This issue will most certainly will only be related to mongodb. Can you verify there are no errors in the logs and that the mounts are correct?

  
  
Posted one month ago

Hi @<1693795218895147008:profile|FlatMole2> , is it possible that the apiserver.conf file isn't persistent and somehow changes?

  
  
Posted one month ago

Do you see anything strange in the apiserver logs when restarting the server?

  
  
Posted one month ago

I think it is not possible

  
  
Posted one month ago

Here is mongo's compose

mongo:
    networks:
      - backend
    container_name: clearml-mongo
    image: mongo:4.4.29
    restart: unless-stopped
    command: --setParameter internalQueryMaxBlockingSortMemoryUsageBytes=196100200 --port 27018
    volumes:
    - /opt/clearml/data/mongo_4/db:/data/db
    - /opt/clearml/data/mongo_4/configdb:/data/configdb
    ports:
    - "27018:27018"

Mongo is working, at least i'm able to connect by my self.

  
  
Posted one month ago

there is only one suspicious thing that elastic connects on second try

  
  
Posted one month ago

Anything in Elastic? Can you add logs of the startup of the apiserver?

  
  
Posted one month ago

Elastic seems to be ok too

  
  
Posted one month ago