oxidized icon indicating copy to clipboard operation
oxidized copied to clipboard

Rugged githubrepo unsupported URL Protocol

Open Atroskelis opened this issue 1 year ago • 3 comments

gives a

Hook push_to_remote (#<GithubRepo:0x0000000001346b00>) failed (#<Rugged::NetworkError: unsupported URL protocol>) for event :post_store

config is

hooks:
  push_to_remote:
    type: githubrepo
    events: [post_store]
    remote_repo: git@<ip>:oxidized/<repo>.git
    publickey: /root/.ssh/id_rsa.pub
    privatekey: /root/.ssh/id_rsa

rugged has ssh installed, i thought that was the error git push works ok ruby 2.0.0p648 (2015-12-16) [x86_64-linux] oxidized (0.22.0) rugged (0.27.1)

Atroskelis avatar Apr 23 '24 09:04 Atroskelis

It seems to be the old issue in #1038 , reinstalling rugged with ssh and reinstalling oxidized fixes this

This also happens in 0.30.0, i dont understand why.

Atroskelis avatar Apr 25 '24 09:04 Atroskelis

I had the same problem, here's how I fixed it:

  • Uninstall Oxidized
  • gem install rugged -v 1.5.0.1 -- --with-ssh
  • Reinstall Oxidized via building from Git
  • Before doing rake install , edit the file oxidized gemspec - change rugged requirement to 1.5
  • Continue with the install

KarlTheFish avatar Jun 06 '24 10:06 KarlTheFish

METOO :-) , I resolved only sudo gem install rugged -- --with-ssh on Ubuntu 24.04.

oxidized 0.30.1-110-ga32fe96
ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [x86_64-linux-gnu]
rugged (1.7.2)

shigechika avatar Jul 17 '24 08:07 shigechika

This issue is stale because it has been open 90 days with no activity.

github-actions[bot] avatar Oct 16 '24 02:10 github-actions[bot]

I've added a warning in 41f59ac25d4b7dec79216d79b90bd64899d68e39, so this issue can be closed.

robertcheramy avatar Oct 16 '24 06:10 robertcheramy