Project control via git

Hi,

i try to move my nodered from my server to docker. Basicly nodered is running and i start working with it. First step will be to import my existing project from my git server to the docker nodered.

But i get this error:

Unexpected error:

remote: 404 page not found fatal: repository 'http://url.to.eu/foo/nrdocker.git/' not found

code: unexpected_error

The url is correct - i copied from my git repo and i can also access the repo via a git client.

Thanks for any help

Regards

gerribaldi

Try git clone with --verbose flag from within your container and see what it outputs.
Maybe you cant access your remote repository because it requires authentication and your container doesnt have it? Maybe your container doesnt have access to the internet?

As an alternative, you can clone the repo on your host machine, then mount it as a volume of your container, or copy it to your container.

1 Like

Yeah that’s what we did, use git on host and mount to container.

@AllanOricil

git clone verbose shows that the internal dns was not working correctly. The dns settings on the docker host was wrong (it pointed to quad9) - i changed to the local dns and everything is working.

Thanks a lot :+1:

2 Likes

Good you guys found the issue

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.