oxidized icon indicating copy to clipboard operation
oxidized copied to clipboard

Git versioning isn't working

Open ChiefBerky opened this issue 1 year ago • 2 comments

Hi,

I am currently struggling with getting versioning up and running in Oxidized on an Ubuntu 22.04 LTS LXC.

The installation has been done by the book.

Changing the output from “file” to “git” automatically created a git repo, but still, the last drawn switch config always gets overwritten.

Oxidized is running under the user “Oxidized”. The user “Oxidized” has the rights for the git repository. The paths seem correct.

Most likely, I am missing something obvious.

Any help on this matter is much appreciated and I am looking forward to learning.

Also, I am new to GitHub, so please be gentle :) Oxidized_conf_01 Oxidized_conf_02 Oxidized_git Oxidized_router db Oxidized_systemctl status oxidized Oxidized_WebUI_01 Oxidized_WebUI_02

ChiefBerky avatar Sep 06 '24 08:09 ChiefBerky

Looks like your directory /var/lib/oxidized/switch-configs.git is both a bare- and a normal git repo.

edit: please use code blocks instead of images.

systeembeheerder avatar Sep 09 '24 13:09 systeembeheerder

@ChiefBerky you should not to git init the oxidized-git-directory. Jut leave it empty (remove the actual git), and start oxidized. As it is a bare repository, you will have to git clone it somewhere else to see its content.

robertcheramy avatar Sep 10 '24 05:09 robertcheramy

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

github-actions[bot] avatar Dec 10 '24 02:12 github-actions[bot]

No reaction from @ChiefBerky => Closing the Issue.

robertcheramy avatar Dec 10 '24 15:12 robertcheramy