Had to set ownership on the folder on the Linux server, all green now thanks!
gurdip.sira_1271
@gurdip.sira_1271
Best posts made by gurdip.sira_1271
Latest posts made by gurdip.sira_1271
-
RE: Inedo.Agents.Ssh.SftpException: SFTP Protocol Error (permission denied) using SSH To Linux (otter)
-
Inedo.Agents.Ssh.SftpException: SFTP Protocol Error (permission denied) using SSH To Linux (otter)
Hi,
I have setup Otter on a Windows Server.I want to connect to a Linux agent and set a username/password but get the following error:
Inedo.Agents.Ssh.SftpException: SFTP Protocol Error (permission denied)
at Inedo.Agents.Ssh.Libssh2.Libssh2Session.HandleError(Int32 res, IntPtr sftp)
at Inedo.Agents.Ssh.Libssh2.Libssh2Session.WithSocketAsync[T](Func1 run, Func
2 getError, IntPtr sftp, CancellationToken cancellationToken)
at Inedo.Agents.Ssh.Libssh2.Libssh2SftpChannel.CreateDirectoryAsync(String path, PosixFileMode mode)
at Inedo.Agents.Ssh.Libssh2.Libssh2SftpChannel.CreateDirectoryAsync(String path, PosixFileMode mode)
at Inedo.Agents.Ssh.Libssh2.Libssh2SftpChannel.CreateDirectoryAsync(String path, PosixFileMode mode)
at Inedo.Agents.Ssh.Libssh2.Libssh2SftpChannel.CreateDirectoryAsync(String path, PosixFileMode mode)
at Inedo.Agents.Hosting.ScriptableRemoteAgentHost.EnsureAgentBinariesAsync(Func1 getPackage, IEnumerable
1 extensions, Func2 openExtension, Func
1 updateStarted)
at Inedo.Otter.Service.Agents.SshAgentConnection.GetRemoteHostAsync()
at Inedo.Otter.Service.Agents.SshAgentConnection.EnsureHostedAgentAsync()
at Inedo.Otter.Service.TaskRunners.ServerCheckerRunner.CheckSshAgentAsync(TaskRunnerSubtask`1 context, Servers_Extended server, SshAgent agent)Do I need to do anything on the Linux server side?
-
RE: SQL Server permissions issue in ProGet installation
@atripp The wierd thing, this is there?
-
SQL Server permissions issue in ProGet installation
Hi,
I am trying to install Inedo ProGet. Both the ProGet Service and Web Server windows services run with a dedicated domain account.I have given this account dbo rights on a pre-created database, as well as the computer account on the SQL Server.
Failed to run Integrated Web Server.
Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed for user 'GLOBAL\GLOPROGET01$'.
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource
1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource
1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry, SqlConnectionOverrides overrides) at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides) at Microsoft.Data.SqlClient.SqlConnection.Open() at Inedo.Data.SqlServerDatabaseContext.CreateConnection() at Inedo.Data.DatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters) at Inedo.Data.SqlServerDatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters) at Inedo.Data.DatabaseContext.<>c__DisplayClass34_0
1.<EnumerateTable>b__0()
at Inedo.Data.StrongDataReader.Read[TRow](Func1 getReader, Boolean disposeReader)+MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)
at Inedo.ProGet.Data.DB.Configuration_GetConfiguration()
at Inedo.ProGet.InternalConfig.ReadConfigValues()
at Inedo.LazyCached1.GetValue() at Inedo.LazyCached
1.get_Value()
at Inedo.ProGet.ProGetConfig1.ReadFullyQualifiedValue(String scopedKey) at Inedo.ProGet.ProGetConfig
1.ReadBoolean(String key)
at Inedo.ProGet.ProGetConfig.Web.get_IntegratedAuthenticationEnabled()
at Inedo.ProGet.WebApplication.Program.get_UseIntegratedAuthentication()
at Inedo.Web.AhWebHost.ConfigureServices(IServiceCollection services)
at Inedo.Web.AhWebHost.Startup.ConfigureServices(IServiceCollection services)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services) at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services, Object instance) at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass14_0
1.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at Inedo.Web.AhWebHost.RunWithAutomaticRestartAsync(String[] args, CancellationToken cancellationToken)
ClientConnectionId:22e17356-7259-4cf5-a1a6-8bdc3487e8c2
Error Number:18456,State:1,Class:14What am I missing?
-
RE: Git repo doesn't sync with Otter
Could you not reproduce this? Only as I have abandoned the repo. But I had a scripts folder, as advised. I will try to get this done in the next few days.
-
RE: Git repo doesn't sync with Otter
Hi Rich,
I don't unfortunately and I use GitHub with private repos. -
RE: Git repo doesn't sync with Otter
Found this: https://forums.inedo.com/topic/2122/git-raft-questions-git-to-otter-then-otter-to-git/3
But this is going back a long time ago.
i am on 2022.4
-
Git repo doesn't sync with Otter
Hi,
I pushed changes to a Git repo I use as a raft in Otter. However, I don't see changes in the raft's files, despite the same branch being used as where I pushed changes to.Is this a bug? I think I remember it being said that the intended workflow is to update files in Otter and that will update the Git repo. Problem with that is it circumvents my CICD process.
-
RE: Git repo raft showing as empty
Happens with vany file in the raft, eg any Powershell script and any blank Otterscript.