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 Guys, I Have A Recurring Problem : Every Few New Commits - I Try To Upload A New Task And I Have The Following Error:

Hi guys, I have a recurring problem :
Every few new commits - I try to upload a new task and I have the following error:
Using cached repository in "/root/.clearml/vcs-cache/r____.d7f___/r____"
fatal: unsafe repository ('/root/.clearml/vcs-cache/r___.d7f___/r____' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /root/.clearml/vcs-cache/r___.d7f____/r____
Repository cloning failed: Command '['git', 'fetch', '--all', '--recurse-submodules']' returned non-zero exit status 128.
clearml_agent: ERROR: Failed cloning repository.
1) Make sure you pushed the requested commit:
(repository=' https://gitlab.com/data_science_team/____ ', branch='ilanit', commit_id='b5c___', tag='', docker_cmd='ubuntu:18.04', entry_point='training/____.py', working_dir='src')
2) Check if remote-worker has valid credentials [see worker configuration file]
What usually solves the problem is deleting the .lock files from .clearml/vcs-cache/
Of course the commit id that is mentioned in the error was pushed as required to the git repo...
Any idea why this happens? And how I can avoid this ?
Thanks 🙂

  
  
Posted 2 years ago
Votes Newest

Answers 4


Hi AbruptWorm50 , this is an issue introduced by one of the latest Git version - the best solution is to use a good Git version 🙂

  
  
Posted 2 years ago

The reason is the error preceding it:
fatal: unsafe repository ('/root/.clearml/vcs-cache/r___.d7f___/r____' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /root/.clearml/vcs-cache/r___.d7f____/r____
Repository cloning failed: Command '['git', 'fetch', '--all', '--recurse-submodules']' returned non-zero exit status 128.

  
  
Posted 2 years ago

Does this relate to the error below? from reading the issue I didn't see anyone mentioning this error -
clearml_agent: ERROR: Failed cloning repository.
1) Make sure you pushed the requested commit:
(repository=' https://gitlab.com/data_science_team/____ ', branch='ilanit', commit_id='b5c___', tag='', docker_cmd='ubuntu:18.04', entry_point='training/____.py', working_dir='src')
2) Check if remote-worker has valid credentials [see worker configuration file]

  
  
Posted 2 years ago
1K Views
4 Answers
2 years ago
one year ago
Tags