semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

fatal: bad numeric config value '0

Open vknetlab opened this issue 3 years ago • 5 comments

Used docker to install semaphore latest version and i got this error "fatal: bad numeric config value '0" Not sure if it bug or some config issue. Thanks

8:01:16 PM Cloning repository https://github.com/*******/test.git
8:01:16 PM Cloning into 'repository_1_1'...
8:01:16 PM fatal: bad numeric config value '0
8:01:16 PM ' for 'GIT_TERMINAL_PROMPT': invalid unit
8:01:16 PM Failed updating repository: exit status 128

vknetlab avatar Feb 23 '22 01:02 vknetlab

I had the exact same issue using a https://gitlab repository. I think there's an issue with https:// and username/password/token.

Using ssh keys and git URL instead of https helped me to get it working.

ckieser avatar Feb 24 '22 10:02 ckieser

Also encountering this issue and my GitLab Repo is HTTPS only so I don't have the option to use SSH.

shawnweeks avatar Feb 25 '22 17:02 shawnweeks

use a personal access Token instead of ssh key. This helped me out!

Ex0Cate avatar May 13 '22 08:05 Ex0Cate

As noted above I linked the issue I reported to this one as it looks to be related.

Unfortunately in my case, using http along with a PAT also returned the same failure.

I have not set up SSH access into the GitBucket container yet, but would prefer to avoid this as I already use ansible / ssh to manage the underlying docker host and containers.

erioshi avatar Jul 04 '22 11:07 erioshi

Same here,

i've also tried to workaround with setting GIT_TERMINAL_PROMPT: 0 in the docker-compose environment - but this does not helped.

manuel-held avatar Jul 22 '22 06:07 manuel-held

Duplicate https://github.com/ansible-semaphore/semaphore/issues/1025

fiftin avatar Sep 19 '22 16:09 fiftin