Unable to commit changes - "programdata configuration file owner is not valid"

Hi everyone,

I’m trying to set up the GitHub connection. I was able to clone the repo, but I’m unable to commit changes due to the following error:

Error: LibGit2Sharp.LibGit2SharpException: programdata configuration file owner is not valid
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
at LibGit2Sharp.Core.Proxy.ConvertPath(Func2 pathRetriever) at LibGit2Sharp.Core.Proxy.git_config_find_programdata() at LibGit2Sharp.Configuration..ctor(Repository repository, String repositoryConfigurationFileLocation, String globalConfigurationFileLocation, String xdgConfigurationFileLocation, String systemConfigurationFileLocation) at LibGit2Sharp.Repository.<>c__DisplayClass25_1.<.ctor>b__3() at System.Lazy1.CreateValue()
at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value()
at LibGit2Sharp.Repository.get_Config()
at UiPath.Studio.Plugin.Git.Services.Core.RepositoryConfig.BuildSignature(IRepository repository, DateTimeOffset date)
at UiPath.Studio.Plugin.Git.Services.UI.SignatureUiService.<>c__DisplayClass12_0.b__0(IRepository repository)
at UiPath.Studio.Plugin.Git.Services.Core.GitSession.ThreadSafeExecute[TResult](Func2 action, Func1 repoFactory)
at UiPath.Studio.Plugin.Git.Services.Core.GitSession.<>c__DisplayClass14_01.<ExecuteAsync>b__0(CancellationToken _) at UiPath.Shared.ProducerConsumerPair.<>c__DisplayClass18_01.b__0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.Git.Services.Core.GitSession.<ExecuteAsync>d__141.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Plugin.Git.Services.UI.SignatureUiService.d__12.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Plugin.Git.Services.UI.CommitUiService.d__24.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Plugin.Git.Services.UI.CommitUiService.d__21.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand`3.d__32.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088

I tried to uninstall the UiPath Studio, delete all remaining files (in ProgramData folder, Local etc.) and install the newest version of UiPath Studio Community Edition - same issue. Really appreciate any help on that, thank you.

Hello @Dawid_Buszko!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

Hi @Dawid_Buszko,
Please check on git if you have necessary rights to the files or/and if files are not opened by other peoples/process.

1 Like

Many thanks for your help! Unfortunately, I’m using the laptop that had previous users before me and wasn’t cleaned up. The issue was behind old C:\ProgramData\git files: config and config.lock

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.