Upgrade from 3.2 to 3.2.1...fatal: unsafe repository ('/opt/netbox' is owned by someone else) #9181
Unanswered
TheDirkMelvin
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You didn't say what OS you're using, but if it's Ubuntu or Debian or similar, I suspect it is this:
I presume the fix would be to check the ownership of the files (specifically I think that's good practice anyway - you don't want the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ubuntu 20.04.4
Just following the normal 'clone repository' method of upgrading....
cd /opt/netbox
sudo git checkout master
^^^^on this step I get the response: fatal: unsafe repository ('/opt/netbox' is owned by someone else)
I have upgraded our Netbox instance many time over the last year or two and not had this issue.
Can anyone explain what is causing this? And how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions