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 1 of 137 (20 questions out of 2735)
0
replies

Does Proget have an automated process to clean up old docker versions/tags? We have an automated process to build our application and our feed is starting to get messy with all the versions.

I'd like to delete all but the last 10 image tags.

thanks
Garry

Product: ProGet
Version: 5.2.1

5
replies

Hi!
I'm trying to publish my private npm package to the private npm feed in PROGET.
According to the article (https://inedo.com/support/documentation/proget/feeds/npm), i've created API key, give him all API permissions (Native API, Package promotion,Webhooks, Feed API). Then I converted this this string - api:{MYPRIVATEAPIKEY} to base 64. Also, i created a user API and associate this key with user API. on my pc, I added it with commands:

npm config set always-auth=true
npm config set _auth={ENCODEDBASE64STRING}

When I'm trying to publish, i've got an error:

D:\Work\npm_test>npm publish --registry https://MYNPM_REGISTRY_IN_PGOGET/
npm notice
npm notice package: npm_test@1.0.0
npm notice === Tarball Contents ===
npm notice 227B package.json
npm notice === Tarball Details ===
npm notice name: npm_test
npm notice version: 1.0.0
npm notice package size: 257 B
npm notice unpacked size: 227 B
npm notice shasum: ...cb8bd...
npm notice integrity: sha512-...9GHz4...H[...]1gmhAQQ...w==
npm notice total files: 1
npm notice
npm ERR! path C:\Users\user\AppData\Local\Temp\npm-708012-82004fd9\tmp\fromDir-96abcd90\package.tgz
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\user\AppData\Local\Temp\npm-708012-82004fd9\tmp\fromDir-96abcd90\package.tgz'
npm ERR! { [Error: EPERM: operation not permitted, unlink 'C:\Users\user\AppData\Local\Temp\npm-708012-82004fd9\tmp\fromDir-96abcd90\package.tgz']
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\user\AppData\Local\Temp\npm-708012-82004fd9\tmp\fromDir-96abcd90\package.tgz'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path:
npm ERR! 'C:\Users\user\AppData\Local\Temp\npm-708012-82004fd9\tmp\fromDir-96abcd90\package.tgz' },
npm ERR! isOperational: true,
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, unlink 'C:\Users\user\AppData\Local\Temp\npm-708012-82004fd9\tmp\fromDir-96abcd90\package.tgz'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path:
npm ERR! 'C:\Users\user\AppData\Local\Temp\npm-708012-82004fd9\tmp\fromDir-96abcd90\package.tgz' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache_logs\2019-05-21T08_42_02_681Z-debug.log

What's wrong?

Product: ProGet
Version: 5.2.1

1
replies

When setting up a new feed, PyPi is not available on the custom dropdown list, and I only have the Universal Package format available as an alternative.

Are PyPi packages supposed to go into Universal Package format?
If not, what version do we need to be on if we want PyPi support?

Product: ProGet
Version: 5.1.4

1
replies

Is it possible to filter a connector by tag?
For example in Docker there would be "Official Images", or operating system or technology category tags which could be used to filter on the hub.
I cannot see any way to filter this in the Proget Connector.

3
replies

Hi,

We are using ProGet and we setup user account for our client to download packages from 1 specific feeds.

The problem we have right now, is that we don't want each client to know the existence of each other and at the moment, when I click on "View Statistic" on my package, i see which user download the package, so any of our client could see which client downloaded the package...

Is there a way to set permission on which user can see the statistic?

Product: ProGet
Version: 5.1.23

1
replies

When creating a new (upack) feed rule, regardless of which option is checked, it automatically defaults the the following options:

delete

  • cached connector packages
  • all except the most recent 10 versions
  • until matching packages occupy 100mb

Attempting to edit the rules and saving it does not change anything.

Furthermore, at least since 5.1.7, retention rules do not actually delete packages even though the logs indicate that they do. I've verified that dry run is turned off.

Product: ProGet
Version: 5.2.3-beta.3

15
replies

Hello, i need to unistall the proget on the inedu but i have a error and i cannot find the spot to do that. Can you help me??

Product: BuildMaster
Version: 6.1.5

3
replies

Hey there,

Is there a way to migrate packages from one maven feed to another?

I have a bunch of maven artifacts already existing on a feed, but I need to move them to a different Proget instance. Is there a way to do this? I notice that maven feeds do not support drop path functionality. Is there another way?

Thanks in advance.

Product: ProGet
Version: 5.1.23

1
replies

We regularly push to our Proget from CI jobs. As a transient failure flags the job as failed, it is less trivial to overcome than if run from a keyboard.

Happens in about 3-10% of cases.

  • On Debian
  • In Docker
  • With Postgres in a separate container

Logs are empty AFAIK. (In case some should be present, I'd like to know where)


Redacted CI output:

Running with gitlab-runner 11.7.0 (8bb608ff)
  on BlackieTestServer 4eafc0bc
Using Shell executor...
Running on BLACKIEMACHINE...
Cloning repository...
Cloning into 'C:/Users/Blackie/builds/4eafc0bc/0/#####/#####/#####-hardware'...
Checking out 69d3afdf as master...
Skipping Git submodules setup
$ Set-ExecutionPolicy Unrestricted -Scope Process
$ ci/Add-NugetConfig.ps1
$ dotnet pack #####.#####.Hardware\#####.#####.Hardware.csproj
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restoring packages for C:\Users\Blackie\builds\4eafc0bc\0\#####\#####\#####-hardware\#####.#####.Hardware\#####.#####.Hardware.csproj...
  Generating MSBuild file C:\Users\Blackie\builds\4eafc0bc\0\#####\#####\#####-hardware\#####.#####.Hardware\obj\#####.#####.Hardware.csproj.nuget.g.props.
  Generating MSBuild file C:\Users\Blackie\builds\4eafc0bc\0\#####\#####\#####-hardware\#####.#####.Hardware\obj\#####.#####.Hardware.csproj.nuget.g.targets.
  Restore completed in 516.99 ms for C:\Users\Blackie\builds\4eafc0bc\0\#####\#####\#####-Hardware\#####.#####.Hardware\#####.#####.Hardware.csproj.
  #####.#####.Hardware -> C:\Users\Blackie\builds\4eafc0bc\0\#####\#####\#####-hardware\#####.#####.Hardware\bin\Debug\netstandard2.0\#####.#####.Hardware.dll
  #####.#####.Hardware -> C:\Users\Blackie\builds\4eafc0bc\0\#####\#####\#####-hardware\#####.#####.Hardware\bin\Debug\net471\#####.#####.Hardware.dll
  Successfully created package 'C:\Users\Blackie\builds\4eafc0bc\0\#####\#####\#####-hardware\#####.#####.Hardware\bin\Debug\#####.#####.Hardware.0.3.0.nupkg'.
$ dotnet nuget push -k $Env:NUGET_SOURCE_APIKEY -s $Env:NUGET_SOURCE_URL #####.#####.Hardware\bin\Debug\#####.#####.Hardware*.nupkg
info : Pushing #####.#####.Hardware.0.3.0.nupkg to 'https://proget.#####.cz/nuget/Nuget/'...
info :   PUT https://proget.#####.cz/nuget/Nuget/
info :   BadRequest https://proget.#####.cz/nuget/Nuget/ 205ms
error: Response status code does not indicate success: 400 (There must be exactly one package.).
ERROR: Job failed: exit status 1

A subsequent run succeeds with:

$ dotnet nuget push -k $Env:NUGET_SOURCE_APIKEY -s $Env:NUGET_SOURCE_URL #####.#####.Hardware\bin\Debug\#####.#####.Hardware*.nupkg
info : Pushing #####.#####.Hardware.0.3.0.nupkg to 'https://proget.#####.cz/nuget/Nuget/'...
info :   PUT https://proget.#####.cz/nuget/Nuget/
info :   Created https://proget.#####.cz/nuget/Nuget/ 360ms
info : Your package was pushed.
Job succeeded

Product: ProGet
Version: 5.1.23

1
replies

*names changed in log for security purposes.

We recently added an SSL cert to our ProGet server and set up an HTTPS redirect. When using the NuGet Push step in TFS (pushing to 'https://xtest.wanlink.us/nuget/OurFeed' or any other feed, it fails with the below error. However, it ONLY fails using TFS Git as a source in the build. On ProGet, when putting these URIs in the proxy config test, it indicates success. All accounts are permissioned correctly in ProGet.

Is this a ProGet issue or TFS Git issue?

Pushing SmokeTest.XXXX.nupkg to 'https://xtest.wanlink.us/nuget/OurFeed'...
PUT https://xtest.wanlink.us/nuget/OurFeed
CredentialProvider.TeamBuild: "E:\Agent\CorporateApplications (IL1CABUILD01-TEST)_work_tasks\NuGetCommand_333b11bd-d341-40d9-afcf-b32d5ce6f23b\2.0.24\node_modules\nuget-task-common\NuGet\CredentialProvider
CredentialProvider.TeamBuild.exe" -uri https://xtest.wanlink.us/nuget/OurFeed -nonInteractive -verbosity detailed
CredentialProvider.TeamBuild: URI Prefixes:
CredentialProvider.TeamBuild: https://tfstest/HoldingCompany/
CredentialProvider.TeamBuild: URI: https://xtest.wanlink.us/nuget/OurFeed
CredentialProvider.TeamBuild: Is retry: False
CredentialProvider.TeamBuild: Matched prefix:
CredentialProvider.TeamBuild: This provider only handles URIs from the build's Team Project Collection
Unauthorized https://xtest.wanlink.us/nuget/OurFeed 944ms
System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (anonymous user not authorized to add packages to this feed).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()

Product: ProGet
Version: 5.1.4

1
replies

Hi,

Could you please help me about this issue ?

I cannot reinstall ProGet because the service INEDOPROGETSVC is already installed.

Note: I can't see anymore the service INEDOPROGETSVC

My ProGet configuration:
One server Hosting ProGet Services and IIS (over SSL) and an another Server for SQL

Please find here the Log from the Installer ProGetSetup5.2.2.exe

Information: Installing the ProGet service...
Debug: Launching process "D:\ProGet\Service\ProGet.Service.exe" <arguments hidden>...
Debug: Attempting to create service INEDOPROGETSVC...
Error: Unhandled exception: System.ComponentModel.Win32Exception (0x80004005): The specified service already exists
Error: at Inedo.WindowsServices.WindowsService.CreateService(String serviceName, String displayName, String fileName, String userAccount, String password)
Error: at Inedo.ProGet.Service.Program.install(Boolean web, String user, String password)
Error: System.InvalidOperationException: D:\ProGet\Service\ProGet.Service.exe returned exit code -2

Thanks in advance for your help

Product: ProGet
Version: 5.2.2

1
replies

I am trying to create nuget feed with connector for nuget.org and we use proxy config, please let me know how I can configure proxy on the ProGet server

I have tried setting up proxy on the Administration section and when I do that server crashes and only option to recover is to re-install.

We use "Use automatic configuration script" how should I configured this in ProGet server.

Product: ProGet
Version: 5.2.2

1
replies

As part of a deployment we have configured the build master to copy a directory to Temp location and delete the content and copy the new files. I would like to exclude deletion of a specific file . I see an option "File masks" but not sure of the string to be used to exclude a specific file being deleted from the directory.

Product: BuildMaster
Version: 6.1.5

2
replies

Hi

Possible to get a generic link to latest version of a package?

E.g. instead of
https://packages.com/nuget/dev-choco/package/FileShipper/1.0.0.5-master

something like
https://packages.com/nuget/dev-choco/package/FileShipper?latest

Possible?

Product: ProGet
Version: 5.1.4

5
replies

Hi, I am trying to upgrade our ProGet from 5.1.23 to 5.2 but the upgrade failed during DB schema changes. After the failed upgrade the DB was corrupted and all registries were wiped and just the main web page was working. I done fresh 5.1.23 install on a test server to get copy of the registries keys and restore the DB from the backup. At the moment our server works fine but we could not upgrade.

We use ProGet as PowerShell and Chocolatey packages repository with intention to have some Python moved there. The server is visualised Windows Server 2012R2. The initial installation was 4.x (4.6 probably)
then we upgraded to 5.

How we can test is the problem with the DB or is it something in the schema upgrade script? Any other ideas for troubleshooting/fix are welcome.

Here it is the part of the log file with the error.

...
   Debug: Executing OBJECTS\4.PROCEDURES\1.Dashboards_GetFeedVulnerabilityAssessments.sql...
   Debug: Executing OBJECTS\4.PROCEDURES\1.Dashboards_GetLargestPackages.sql...
   Debug: Executing OBJECTS\4.PROCEDURES\1.DebianPackages_CreateOrUpdatePackage.sql...
   Error: Unhandled Exception: System.Data.SqlClient.SqlException: Cannot assign a default value to a local variable.
   Error: Must declare the scalar variable "@Package_Id".
   Error: Must declare the scalar variable "@Package_Id".
   Error:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   Error:    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   Error:    at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   Error:    at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
   Error:    at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   Error:    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   Error:    at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.ExecuteQuery(String query, SqlTransaction transaction)
   Error:    at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.ExecuteScripts(IEnumerable`1 scriptFiles)
   Error:    at Inedo.DbUpdater.Program.Update(String scriptPath, String connectionString)
   Error:    at Inedo.DbUpdater.Program.Main(String[] args)
   Debug: C:\Program Files\ProGet\WebApp restored.
   Debug: C:\Program Files\ProGet\Service restored.
   Debug: Starting service INEDOPROGETSVC...
   Debug: INEDOPROGETSVC service started.
   Error: System.InvalidOperationException: C:\Users\******\AppData\Local\Temp\ProGetSetup\SqlScripts\dbupdater.exe returned exit code -532462766
...   

Cheers,
Svet

Product: ProGet
Version: 5.2.0

9
replies

Hello
I am looking a way to duplicate several database connections over multiple applications.
Is there any way to do it ?

Another question,

  • it is possible to define a database connection based on variable like this way :

Connection Name : $ConnectionName
Server : $DBServer
Connection String : Server=$ApplicationName$PipelineStageName.SQL.$DomaineName\$ApplicationName$PipelineStageName;Integrated Security=true;

Best Regards

Product: BuildMaster
Version: 6.1.5

3
replies

We have multiple applications which share dependencies, but each application with will use a mix of these dependencies and versions.
e.g. app1 uses dep1 dep2
app2 uses dep2 dep3 dep4 etc etc
The applications and dependencies (some with multiple versions) all have there own packages.
Using virtual packages we pull the the required application and its correct dependencies together, but on install from the virtual package the dependencies appear at the top of the tree along with the application.
app1
dep1
dep2
We would like them to be a subfolder under the application.
app1
app1/dep1
app1/dep2 etc
Is it possible for the vpack manifest to manage this? All my attempts so far have been unfruitful. Appreciate is anyone can provide an example of how the manifest content would be structured.
Thanks in advance.

Product: ProGet
Version: 5.1.8

1
replies

Hello,

Does ProGet have SAML?

Thanks.

Product: ProGet
Version: 5.2.0-beta.57

1
replies

Hello, I am wondering if it would be possible to add support for BITS to be used to distribute Universal Packages instead of using Inedo agent? Every supported version of Windows has BITS, and is allowed through most firewalls, especially since System Center Configuration Manager (SCCM) uses BITS as well.

Product: ProGet
Version: 5.1.23

1
replies

Hi,

Does Proget Basic version supports SAML SSO with Azure AD?

Thanks,
Anup

Product: ProGet
Version: 5.1.23

Ask A Question
Page: 1 3 4 5 6 137