Teamcity failed to delete empty directory

Hello:
Teamcity (7.0.3 @ Ubuntu 12.04) failed to delete empty directory, contains file with uncode names.
Logs has entries like that:
WARN - pl.patch.ProjectSourcesOnAgent - Failed to delete empty directory: /home/teamcity/agent/work/ea70141834714873/externals

WARN - gers.vcs.git.agent.UpdaterImpl - Failed to delete empty directory: /home/teamcity/agent/work/ea70141834714873/externals

[2012-07-04 16:21:17,155]   WARN - ch.UpdateSourcesBuildStageBase - Error while checkout on agent: '/usr/bin/git submodule update' command failed.
stderr: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ru_RU:en",
        LC_ALL = (unset),
        LANG = "ru_RU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
fatal: destination path 'externals' already exists and is not an empty directory.
Clone of 'ssh://gerrit/revival' into submodule path 'externals' failed
jetbrains.buildServer.vcs.VcsException: '/usr/bin/git submodule update' command failed.
stderr: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ru_RU:en",
        LC_ALL = (unset),
        LANG = "ru_RU.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
fatal: destination path 'externals' already exists and is not an empty directory.



How can I fix it?
1 comment
Comment actions Permalink

Hello,

I found a following solution: http://www.juds.com.ua/setting-locale-failed-in-git/ , I hope it helps.

0

Please sign in to leave a comment.