oxidized: Hook push to remote : Issue (Unsupported URL protocol)

Hi all,

We try to use oxidized, with following concernes :

backup networks equipments push configs to internal git server (gitlab) When launching oxidized (in debug mode), we have this in the logs :

I, [2016-06-17T11:53:52.466907 #12943] INFO -- : GithubRepo: Pushing local repository(/root/.config/oxidized/oxidized.git/)...
I, [2016-06-17T11:53:52.467765 #12943] INFO -- : GithubRepo: to remote: routers:"git@git_server:PATH/test.git"
E, [2016-06-17T11:53:52.469240 #12943] ERROR -- : Hook push_to_remote (#GithubRepo:0x0000000212f3e8) failed (#) for event :post_store

Our configuration file :

hooks:
push_to_remote:
type: githubrepo
events: [post_store]
remote_repo:
routers:"git@git_server:PATH/test.git"
publickey: "/root/.ssh/id_rsa.pub"
privatekey: "/root/.ssh/id_rsa"

Did we make something wrong ?

Thanks in advance !

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

I believe the actual fix for @limace255 's issue is the following-

sudo apt-get install libssh2-1-dev sudo gem uninstall rugged sudo gem install rugged

I had a similar issue and found the ‘fix’ here- https://github.com/jbox-web/redmine_git_hosting/issues/440 `