You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I then run oxidized using podman like podman run -v /etc/oxidized:/home/oxidized/.config/oxidized -v /var/lib/oxidized:/var/lib/oxidized -p 8888:8888/tcp -t oxidized/oxidized:latest. It seems to do things for a long time, and then eventually spits out errors like this:
/var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/output/git.rb:169:in `rescue in rescue in update': first 'failed to resolve path '/var/lib/oxidized/f5.git': No such file or directory' was raised while opening git repo, then 'failed to make directory '/var/lib/oxidized/f5.git': Permission denied' was while trying to create git repo (Oxidized::Git::GitError)
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/output/git.rb:166:in `rescue in update'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/output/git.rb:162:in `update'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/output/git.rb:60:in `store'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/worker.rb:72:in `process_success'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/worker.rb:50:in `process'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/worker.rb:16:in `block in work'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/worker.rb:16:in `each'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/worker.rb:16:in `work'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/core.rb:53:in `block in run'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/core.rb:51:in `loop'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/core.rb:51:in `run'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/core.rb:37:in `initialize'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/core.rb:4:in `new'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/core.rb:4:in `new'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/cli.rb:13:in `run'
from /var/lib/gems/3.0.0/gems/oxidized-0.30.1/bin/oxidized:5:in `<top (required)>'
from /usr/local/bin/oxidized:25:in `load'
from /usr/local/bin/oxidized:25:in `<main>'
There is indeed a group called "f5", but as I understood it my config is set to use one single git repo.
Fwiw, the directory /var/lib/oxidized is mounted into the container, and already exists on the host with a repo called devices.git (I am migrating to the container-based approach and hoping to reuse the existing repo).
The text was updated successfully, but these errors were encountered:
Giving it permission to write to the directory fixed the problem, but it's indeed creating group-based repos instead of one unified one. Not as pressing an issue for me at this point since it's working, but not sure why it behaves like this.
Turns out I was missing single_repo: true in the config, adding that fixed it. Still not sure why it was working before, but we can consider this closed.
Hello,
First of all, great software, thank you for maintaining it.
It appears that my install is trying to use group based repos though and I can't figure out why.
My config file looks like this:
I then run oxidized using podman like
podman run -v /etc/oxidized:/home/oxidized/.config/oxidized -v /var/lib/oxidized:/var/lib/oxidized -p 8888:8888/tcp -t oxidized/oxidized:latest
. It seems to do things for a long time, and then eventually spits out errors like this:There is indeed a group called "f5", but as I understood it my config is set to use one single git repo.
Fwiw, the directory /var/lib/oxidized is mounted into the container, and already exists on the host with a repo called devices.git (I am migrating to the container-based approach and hoping to reuse the existing repo).
The text was updated successfully, but these errors were encountered: