Git versioning isn't working
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 :)
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.
@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.
This issue is stale because it has been open 90 days with no activity.
No reaction from @ChiefBerky => Closing the Issue.