Unable to git clone turris-netboot.git


#1

Hi all,
I have been working on the process of creating openwrt image for omnia target.
While compiling i get the followibg error,

Cloning into ‘turris-netboot’…
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

So what is right i need to git clone this. Thanks in advance


#2

What command do you use? Apparently you’re trying to use ssh:// for servers where you don’t have an SSH key set up. For simplicity I’d recommend https:// instead.


#3

Thanks for responding,

I build in ubuntu machine. while doing ./compile_fw omnia, I get this error,
make[3]: Entering directory `/openwrt/feeds/turrispackages/cznic/turris-netboot’
mkdir -p /openwrt/dl
SHELL= flock /openwrt/tmp/.turris-netboot-v0.4.1.1.tar.bz2.flock -c ’ echo “Checking out files from the git repository…”; mkdir -p /openwrt/tmp/dl && cd /openwrt/tmp/dl && rm -rf turris-netboot && [ ! -d turris-netboot ] && git clone git@gitlab.labs.nic.cz:turris/turris-netboot.git turris-netboot && (cd turris-netboot && git checkout v0.4.1.1 && git submodule update --init --recursive) && echo “Packing checkout…” && rm -rf turris-netboot/.git && tar cjf /openwrt/tmp/dl/turris-netboot-v0.4.1.1.tar.bz2 turris-netboot && mv /openwrt/tmp/dl/turris-netboot-v0.4.1.1.tar.bz2 /openwrt/dl/ && rm -rf turris-netboot; '
Checking out files from the git repository…
Cloning into ‘turris-netboot’…
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
make[3]: *** [/openwrt/dl/turris-netboot-v0.4.1.1.tar.bz2] Error 128

Do i manually need to modify that in make file?

Please clarify more on this


#4

Ah, now I see. Replace all occurrences of git@gitlab.labs.nic.cz: by https://gitlab.labs.nic.cz/ (EDITED the ending chars)


#5

Sorry to bother you more on this,


#6

I get this log,
$ git clone https://gitlab.labs.nic.cz:turris/turris-netboot.git turris-netboot

Cloning into ‘turris-netboot’…
fatal: https://gitlab.labs.nic.cz:turris/turris-netboot.git/info/refs not valid: is this a git repository?


#7

Right, I forgot about the ending chars, so the final : needs to be replaced by / as well.


#8

I really appreciate your guidance with this, But still i fail with it

git clone https://gitlab.labs.nic.cz/turris/turris-netboot.git turris-netboot

Cloning into ‘turris-netboot’…
Username for ‘https://gitlab.labs.nic.cz’: Rajkumar1106
**Password for ‘https://Rajkumar1106@gitlab.labs.nic.cz’: **
fatal: repository ‘https://gitlab.labs.nic.cz/turris/turris-netboot.git/’ not found


#9

Hello,

Right now it should be working, would you please try it and let us know if it works for you?


#10

Oh, was something on the server wrong/changed?


#11

We haven’t changed anything on the server, but we set the repository to be public as it was private.


#12

Thank you Guys, It works good with ,

git clone https://gitlab.labs.nic.cz/turris/turris-netboot.git turris-netboot

I appreciate your help