Local Changes won't Commit

I have two node-red instances on different servers. I am using project control and historically I would push instance#1 up to the repository and then pull it down to instance#2. I now wish to make instance#2 the source of truth but I am unable to commit the local changes. I get the following error:

25 Nov 11:13:36 - [error] Error: error: insufficient permission for adding an object to repository database .git/objects
error: flow.json: failed to insert into database
error: unable to index file 'flow.json'
fatal: updating files failed

I have checked all of the files and I do have rw capabilities.

Sounds like a git issue. It can help to get more details by running git commands from terminal instead of node red's git interface.

Should be many discussions on similar topic like this:
Git Push Error: insufficient permission for adding an object to repository database - Stack Overflow

Sorry I don't have any specific steps to help at the moment.

You were right on. I changed the group access based on the content in the link you posted and it is working. Thanks!

1 Like