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
Helllo, I’Ve A Problem Setting Up Clearml Locally: I Want To Use The Single Up/Domain Configuration, But When I Access The Webui From Another Device It Still Uses Localhost:8081 As Host For The Fileserver, That Is Obviously Not Accessible From Other Devic

Helllo, I’ve a problem setting up clearml locally: I want to use the single up/domain configuration, but when I access the webui from another device it still uses localhost:8081 as host for the fileserver, that is obviously not accessible from other devices. I already set up the env variables CLEARML_WEB_HOST, API and FILES to the right value (“http: // machine_ip:port”) and also CLEARML_HOST_IP=machine_ip

  
  
Posted one month ago
Votes Newest

Answers 24


can you open devtools (F12) and look for the events.debug_images response in the network tab?

  
  
Posted one month ago

I'm looking for the url of the image coming from the api server

  
  
Posted one month ago

Yes, in fact, if I take the urls of the files that the webserver provides me and I replace the localhost part with that ip I can clearly view the underlying data from my browser

  
  
Posted one month ago

Both the web app and server versions are 2.0.0-613, api is instead 2.31

  
  
Posted one month ago

I only used the env variables I mentioned (I also checked inside the docker-compose.yaml and noticed that only CLEARML_HOST_IP hasn’t a default value, so I tried to set only that env variable, but the result didn’t change). I haven’t any other configuration other than apiserver.conf in /opt/clearml/config with the users. I definitely haven’t seen any configuration.json file for now. Ps: the docker-compose.yaml is just the one inside the repo, without any change to it.

  
  
Posted one month ago

HollowKangaroo53 which version of clearml server are you using?

  
  
Posted one month ago

Any idea on how to fix this?

  
  
Posted one month ago

I set this in the webserver section of the docker-compose, but it didn’t helped (the double quotes are because a problem in the parsing of the arguments , it has been already reported on GitHub where a read about this fix):

environment:
      WEBSERVER__fileBaseUrl: '"http://192.168.1.83:8081"'
      WEBSERVER__useFilesProxy: 'true'

  
  
Posted one month ago

can you maybe add a screenshot where things are broken, so I'm sure we are on the same page?

  
  
Posted one month ago

does this solve your issue, or the API server can't be reached as well?

  
  
Posted one month ago

where exactly the webserver provides you with the URL with localhost in it

  
  
Posted one month ago

I noticed th e problem in the preview section of the dataset files: they cannot be shown because they point to localhost, but, if I click on “open image” and then replace localhost with the server ip everything works as expected
image
image
image

  
  
Posted one month ago

it might be an issue with the way clearml.conf is setup

  
  
Posted one month ago

I just checked and indeed the clearml.conf file that of the user that I used to upload the dataset has indeed set the various servers host as localhost (since for this testing that user was on the same machine as the server). Is this an expected behavior ? I would have thought that such a config only influences the the connection between the cli/ask of the user and the server, but once the data is uploaded it’s duty of the server to provide the right url for whoever is accessing the data

  
  
Posted one month ago

I see as this can be a problem at least when someone wants to migrate the machine on a new domain/ip. In any case, a warning in the documentation would be useful, as the default deploy shown is for localhost, but would brake as soon as someone tries to access those data from the local network instead

  
  
Posted one month ago

Using the webserver ? In the pc where I’m accessing the server from I don’t even have a clearml.conf file in my home, nor I would expect it to be used anyway … Is there any other instance of such configuration file in the server that I’m not aware of?

  
  
Posted one month ago

if the UI can't guess the location of fileserver, you can follow the instructions here, to let it know what it is
None

  
  
Posted one month ago

The url there has localhost as host, instead of the ip

  
  
Posted one month ago

did you set apiBaseUrl to something else in a private build or through webserver environment variables which set configuration.json file?

  
  
Posted one month ago

I meant where clearml-data is running, so when you upload images to your version, it set the right url

  
  
Posted one month ago

image

  
  
Posted one month ago

192.168.1.83 is a local network address, is it accessible from your browser?

  
  
Posted one month ago

Hi HollowKangaroo53
when the UI build for production it points to the reverse proxy set by the environment variables you mentions (e.g. apiBaseUrl: '/api')

  
  
Posted one month ago

API server isn't aware of fileserver location, it's clearml-data responsibility to write the correct path in the server.

  
  
Posted one month ago
223 Views
24 Answers
one month ago
one month ago
Tags