Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git versioning isn't working #3260

Open
ChiefBerky opened this issue Sep 6, 2024 · 2 comments
Open

Git versioning isn't working #3260

ChiefBerky opened this issue Sep 6, 2024 · 2 comments
Labels

Comments

@ChiefBerky
Copy link

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

@systeembeheerder
Copy link
Contributor

systeembeheerder commented Sep 9, 2024

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.

@robertcheramy
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants