Support Q & A Home

Ask A Question

Anyone can ask or answer a question here, but our support engineers actively monitor your questions; we typically answer within a day or two.

Filter
Viewing Page 64 of 108 (20 questions out of 2142)
3
replies

Upgrading from 3.10 (build 8)

On windows 2008r2, fully patched (now) running proget.setup.exe exits silently after unzipping

Application: ProGet.Setup.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Data.SqlClient.SqlException
Stack:
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(System.Data.Common.DbConnection, System.Data.ProviderBase.DbConnectionFactory, System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions)
   at System.Data.SqlClient.SqlConnection.TryOpenInner(System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>)
   at System.Data.SqlClient.SqlConnection.TryOpen(System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>)
   at System.Data.SqlClient.SqlConnection.Open()
   at Inedo.ProGet.Setup.ProGetInstallerOptions.ReadDbInfo(System.Version)
   at Inedo.Installer.InstallerApplication.Run[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String[])
   at Inedo.ProGet.Setup.App.Main(System.String[])

Product: ProGet
Version: 3.6.1

4
replies

2 quick questions-

  • It seems like there is a warmup time, when the server doesn't have the nuget feed in the cache- is this normal?

  • It seems like I cannot make more than 3 feeds, …. Is that a limitation to the trial version or is that an error in the application?

Thanks!
Karl

Product: ProGet
Version: 3.6.1

1
replies

Hi,

with regards to question http://inedo.com/support/questions/3130 i want to ask how it is possible to use the new Nuget API v3 (https://api.nuget.org/v3/index.json) as URL for a feed connector?

I configured a connector with this URL. It does not work, getting the following error:
There was an error with a connector: The remote server returned an error: (400) Invalid request.

It would be very nice if this would work, since this would solve some performance problems when accessing external packages.
As said in Nuget blog it is recommended to disable all v2 package sources and use only the new v3 package source.

Therefore it would be nice to know how to configure this.

Product: ProGet
Version: 3.6.1

4
replies

Hi,
I'm using the built in authentication mechanism to secure feeds which works fine. I would also like to deny access to the dashboard for anonymous users. Would that be possible?

Product: ProGet
Version: 3.5.8

3
replies

Hi,

I'm trying to delete an application, but I receive the following error message

Error purging [ApplicationGroup:Application]. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."

I looked under Admin >> Error messages , but I didn't see any relevant entry there.

The BuildMaster service is running, building, deploying or deleting other applications work just fine.

Do you have an idea what could be the reason for blocking only one application from a group (and how to fix it)?

Is there perhaps a way to get a more detailed log message?

Product: BuildMaster
Version: 4.6.1

5
replies

I seem unable to add users from domains other than the one on which ProGet is installed. I know that these domains are visible as I can add users to TFS installed on the same servers. I have an account in several domains - I can add myself from installation domain, but nothing resolves for "xxx\abaranov" or "yyy\abaranov". This is an issue as developers do not have accounts for the installation domain.

Product: ProGet
Version: 3.6.1

1
replies

Could you list the limitations of the express / free version ?

Tank you very much,

Product: ProGet
Version: 3.6.1

6
replies

Hi
I am using LDAP authentication enabled- the proget service is running using a service user, which is granted "contributor" Role which has the Feeds_OverwritePackage privilege set.

When placing a modified package which already exists in the feed under the drop path, this package doesn't get pushed to the feed and doesn't overwrite the old package.
The following message is shown in the errors under administration:
The package xxx already exists and the current user or service does not have the Feeds_OverwritePackage privilege.

Stack Trace:
at Inedo.ProGet.Packages.NuGetFeed2.InstallOrUpdatePackage(Stream stream, Boolean calculateHash, Boolean cached, Boolean install, Boolean overwrite, Nullable`1 publishDate)
at Inedo.ProGet.Packages.NuGetFeed2.InstallPackage(Stream stream, Boolean allowOverwrite)
at Inedo.ProGet.Service.DropPathMonitorExecuter.ImportNuGetFeed(NuGetFeeds_Extended feed)

When trying to manually upload this package from the Web UI, (without using the drop folder) - using the same service user logged in - it succeeds

Product: ProGet
Version: 3.6.1

2
replies

I'm transferring a file over SSH in a custom extension. If the user doesn't provide a destination folder then I'm defaulting to the working directory using:

string destFileName = destFileOps.GetWorkingDirectory(this.Context.ApplicationId, this.Context.DeployableId ?? 0, "hello.sh");

This evaluates to /tmp/buildmaster/_A5/_S5/WRK/hello.sh

But if I use "Execute Shell Action" and just give it the filename of hello.sh it seems to expect it to be in the $CurrentDirectory which I believe defaults to the SRC directory.

What is the alternative to GetWorkingDirectory for the source/current directory?

Product: BuildMaster
Version: 4.6.4

1
replies

Within my custom extension I often have the need to refer to the properties set via the editor for my ArtifactoryVersionVariable within actions, predicates, etc. Is there a better way to get this or is parsing the xml as I'm doing below as good as it gets?

internal static ArtifactoryVersionVariable GetVariableDeclaration(int applicationId, string artifactoryVariableName)
{
    // Get variable properties
    var settings = StoredProcs
             .Variables_GetVariableDeclarations("B", applicationId, null)
             .Execute()
             .Where(s => s.Variable_Name == artifactoryVariableName)
             .FirstOrDefault()
             .Variable_Configuration;

    XmlDocument xml = new XmlDocument();
    xml.LoadXml(settings);

    return new ArtifactoryVersionVariable
    {
        RepositoryKey = xml.SelectSingleNode("//Properties/@RepositoryKey").Value,
        RepositoryPath = xml.SelectSingleNode("//Properties/@RepositoryPath").Value,
        Filter = xml.SelectSingleNode("//Properties/@Filter").Value,
        TrimFromPath = xml.SelectSingleNode("//Properties/@TrimFromPath").Value,
        ReplaceSlashWithDot = bool.Parse(xml.SelectSingleNode("//Properties/@ReplaceSlashWithDot").Value),
        DefaultToNotIncluded = bool.Parse(xml.SelectSingleNode("//Properties/@DefaultToNotIncluded").Value)
    };
}

Product: BuildMaster
Version: 4.6.4

4
replies

This is happening both in my custom extension and the FileTransfer extension. I'm trying to copy a shell script and it becomes unusable because of those leading characters.

If I write to a local file the prepended characters are not included, if I write to the IFileOperationsExecuter for the SSH Agent they are.

When I inspect the transfer buffer while debugging - using System.Text.Encoding.Default.GetString(buffer).Substring(0, 50) in immediate window - I get "#!/bin/sh \necho "Hello World, we've made it!"\n\0" which has prepended the characters. Some research suggests this might be length information for the stream.

If I vi the transferred file on linux I see "..." at the beginning of the file.

This is the offending bit of code, full source code can be found on GitHub.

    private void TransferFile(IFileOperationsExecuter srcFileOps, string srcFileName, IFileOperationsExecuter destFileOps, string destFileName)
    {
        this.LogInformation("Transfer {0} to {1} over SSH", srcFileName, destFileName);
    
        FileStream srcStream = null;
        Stream destStream = null;

        try
        {
            srcStream = File.Open(srcFileName, FileMode.Open, FileAccess.Read);
            //srcStream = srcFileOps.OpenFile(srcFileName, FileMode.Open, FileAccess.Read);
            destStream = destFileOps.OpenFile(destFileName, FileMode.Create, FileAccess.Write);

            const int KB_32 = 32 * 1024;
            Byte[] buffer = new Byte[KB_32]; 
            int bytesRead;

            while ((bytesRead = srcStream.Read(buffer, 0, buffer.Length)) > 0)
            {
                destStream.Write(buffer, 0, bytesRead);
            }
        }
        finally
        {
            if (srcStream != null) srcStream.Close();
            if (destStream != null) destStream.Close();
        }
    }

Product: BuildMaster
Version: 4.6.4

1
replies

I'm currently getting it for a Variable Setter using HttpContext.Current.Request.Url.AbsolutePath which equals http://localhost:81/applications/5/plans#step-4-1

In the Predicate Editor the url comes out as follows and has an application id of zero, which is not correct.

http://localhost:81/plans/edit-predicate?predicateType=NZCustomsServiceExtension.Predicates.VariableHasValuePredicate,NZCustomsServiceExtension&applicationId=0&planActionGroupId=23&create=y

Product: BuildMaster
Version: 4.6.4

5
replies

Hello

I have installed 3.6.1 hosting in IIS. The Default feed is created and working fine. However I want to create additional feeds. When I click the Create Feed button on the Feeds page nothing happens.

I am on a Trial licence, is this one of the restrictions?

Thanks

Product: ProGet
Version: 3.6.1

1
replies

In my custom extension I can get the global configuration from an action and all editors as follows: this.GetExtensionConfigurer() as ArtifactoryConfigurer

How do I do this from within an object created from VariableBase and its setter (DropDownList, IVariableSetter<ArtifactoryVersionVariable>)?

Product: BuildMaster
Version: 4.6.4

3
replies

We have a project that allows multiple releases. When one of the releases go all the way to production, all the other active releases get canceled. We see a message ""Cancelled by SYSTEM on 5/19/2015 11:32:34 AM, Superceded by 2.0.1". How do we stop this behavior?

-Sri

Product: BuildMaster
Version: 4.6.4

3
replies

Hi guy,
something is wrong in the frontend with the Packages Version for Nuget.

The Frontend shows only 5 Version number

Image Text

But we have 9 Version for this Package and the web request "GetVersion" from ProGet gets all Version.
Image Text

This Problem is also in Version 3.6.0 and 3.6.1.
We deleted the hole Feed and created the Feed new and uploaded the files per hand the result is the Bug also there.
Take a look if you find something.

Someting is wrong with your JavaScript I think

Product: ProGet
Version: 3.5.8

5
replies

I executed the following steps:

npm config set registry <npm url>
npm config set always-auth true
npm adduser

After filling the user/pass and email, I get:

npm ERR! 404 Not Found

The result of this is that it's impossible to publish to the feed.

We're using proget 3.6.1 and npm 2.9.1

Product: ProGet
Version: 3.6.1

1
replies

Hey guys,
I created a build project that uses a generic .nuspec file with variables inside.
Everything goes fine until i get to the files section.
The files section looks like this:

<files>
        <file src="..\..\build\Compile\Host.exe"/>
        <file src="..\..\build\Compile\*.dll"/>
        <file src="..\..\build\Compile\*.config"/>
        <file src="..\..\build\Compile\assets\**\*.*" target="assets"/>
</files>

The thing is that some of the projects has all of those files included and it works fine, but some of the projects has no "assets" folder within, and the packing job is not working.

Is there any way to tell the "nuget pack" command to just continue even if not all of the files are there, and he packs whatever he finds?
So i will not have to create 2 .nuspec files.

Thanks.

Product: ProGet
Version: 3.5.4

2
replies

I found it quite strange that publishing requires view_feed permissions on user anonymous. Removing the permissions would cause server to prompt for credentials which causes buildmaster to fail.

What I am trying to do is to publish to a ProGet feed from BuildMaster where the feed is private. But because of the permissioning issue I have to configure my feed to have view_feed permissions for anonymous. While no one is able to download the actual package, having the packages listed is also not ideal.

Is there any solution for this?

Product: ProGet
Version: 3.6.1

3
replies

Hello.
I upgraded to Proget 3.6.1. to get rid of crashes in ProGet and now face other issues. Our npm feed is unusable since when the Npm is queried the ProGet service process starts to use enough memory to make the system very slow. My machine has 4GB of RAM and the process is allowed to consume about 3.2GB of it. This is a bug I assume?

Some things I have discovered

  • Reproducible in versions 3.5.5, 3.5.8 and 3.6.1
  • Before npm feed connector is indexed the peformance, the above behavior is not seen
  • While indexing I could see lots of indexing errors. I can't find that log now but I think it was complaining about not finding a 'versions'-tag

Let me know if I should add some logging or can help in any other way.

Niklas

Product: ProGet
Version: 3.6.1

Ask A Question
Page: 1 59 60 61 62 64 66 67 68 69 108