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 3 of 94 (20 questions out of 1879)
1
replies

Hi.

I've updated ProGet to latest version (4.7.11) from version 4.0.9 and after that tried to create a new feed - feed has been created, but I can't push a package to it - it always says "Failed to process request. 'Forbidden'."

I checked the server and found that ProGet didn't created directory for the new feed. I've created it manually (according to Disk Path property from the feed properties) but this didn't helped - I still getting the same error and can't push packages to the new feed.

But I'm able to push packages to feeds created in old ProGet version.

Could you help me please?

P.S. ProGet is hosted in IIS

Product: ProGet
Version: 4.7.11

1
replies

I hooked up my feed to a local proget npm registry, and also npmjs.org.

I can see the test package I published, and I can see the packages in my feed.

I have it set to 1000(does this only allow 1000 in the feed?), but if I search for any of those packages from a command line(npm search lodash/angular/whatever) I get no results, but if I search for my test package it comes up.

I ran all of the scheduled admin tasks to rebuild the indexes.

Product: ProGet
Version: 4.7.11

1
replies

Hello,

Does Buildmaster support applying TFS labels by date?

It would be very helpful if we could use custom label timestamps to exclude certain changesets.

Thanks,
Artem

Product: BuildMaster
Version: 5.6.11

1
replies

Hi,

I am trying to use the NpmPackages_CreateOrUpdatePackage endpoint described at https://inedo.com/support/documentation/proget/reference/api/native to upload an npm package programmatically.

I cannot seem to get the format of the PackageJson_Bytes and PackageHash_Bytes fields correct though. I thought I had it by base64 encoding the package.json and package.tgz files, but, while this gets a successful response from proget, downloading the packages fails.

Do you have any guidance/example code for uploading an npm package through the native API?

Thanks,
Jonathan

Product: ProGet
Version: 4.5.3

1
replies

Hello.

I'm writing a script that will cleanup old docker images created in our CI process.

I'm able to get the feeds, repositories, tags and images via the api.
The last step is to delete some images, and I can't find any way in the api documentation.

Is there a way to delete docker images using the api?

My current workaround is delete the images using the web interface.

Best regards
Jonas Lewin

Product: ProGet
Version: 4.7.11

3
replies

We recently upgraded from Buildmaster v4.9 to v5.6. For the most part, the migration went off without any issue. However, I'm having problems with configuration files.

Previously, in the configuration file template, we could use built-in functions and variables and they would be interpolated on the deployment of configuration files.

For example, something like:

ApplicationDisplayName = $ApplicationName

When deployed, it would parse the variable and output something like:

ApplicationDisplayName = Example Application

As of v5.6, however, it doesn't get parsed at all, just outputing the raw text ($ApplicationName). Attempting to call any function results in a null output.

How can I get the configuration files to parse built-in variables again? We need to be able to put information from build runtime into configuration files.

Product: BuildMaster
Version: 5.6.11

3
replies

Apologies if this has been asked previously, but i am just wondering the best way to handle a server reboot that may occur mid deployment? as it appears to completely break its ability to continue.

Thanks,

Clint

Product: BuildMaster
Version: 5.6.4

1
replies

I get this error message:

Category: DropPathMonitor
Message: Error installing package: Assembly Amazon was not found. The extension may be out of date, have been deleted, or could not be loaded.

I see there is a previous question about this, http://inedo.com/support/questions/6444
I checked my %ProgramData%\ProGet\ExtensionsTemp\Service and it looks like this folder is empty.

I've done a reinstall multiple times and this still shows up empty. How does proget resolve this binaries?

Product: ProGet
Version: 4.7.11

1
replies

Full index scheduled tasks for npm fails with error:

DEBUG: Getting metadata from https://registry.npmjs.org/-/all
ERROR: Error processing JSON: System.Exception: uninclused
at Inedo.ProGet.ScheduledTasks.Npm.FullNpmConnectorIndexScheduledTask.<IndexConnectorAsync>d__1.MoveNext()

The /-/ in the url seems to be the root cause of the issue.
Feed connector has been re-added
similar issues seen in
http://inedo.com/support/questions/6349
http://inedo.com/support/questions/4320

Please advise of any known issues.

Product: ProGet
Version: 4.5.0

2
replies

I'm trying to upgrade from ProGet 4.7.6 to 4.7.11, but the installer fails with "Access to the path 'C:\Program Files\ProGet\WebApp' is denied". I've tried running the downloaded installer as administrator, but it didn't help. Is there a workaround?

from the log:
Information: Removing previous version...
Debug: Staging C:\Program Files\ProGet\Service for delete...
Debug: Attempting to rename C:\Program Files\ProGet\Service to C:\Program Files\ProGet\e812ee0e2eeb46a6ac958621aa70b609...
Debug: Attempting to rename C:\Program Files\ProGet\Service to C:\Program Files\ProGet\e812ee0e2eeb46a6ac958621aa70b609...
Debug: Attempt 1 failed: System.IO.IOException: Access to the path 'C:\Program Files\ProGet\Service' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Inedo.Installer.Subtasks.DeleteDirectorySubtask.<>c__DisplayClass9_1.<StageDelete>b__0()
at Inedo.Installer.Subtasks.InstallationSubtask.Retry(Action action, Int32 attempts, Int32 delay)

Product: ProGet
Version: 4.7.6

3
replies

Not sure if this is the correct place to raise this but since upgrading from 4.6.4 to 4.7.6 I've seen the time it takes to push a 250Mb Chocolatey jump from 2 minutes to over an hour. I'm going to create a new test server on versiob 4.6.4 to confirm that it is the upgrade which is causing this but that will take some time to setup so wanted to get the ticket logged asap. I'm pretty sure it's related to the upgrade as the problem was seen the day after the server was upgraded and nothing else has changed.

Product: ProGet
Version: 4.7.6

1
replies

Hello,

Could you clarify how can I set an output arguments for templated plans?
I've tried to do so using "Visual Mode" -> "Template Properties", but unfortunately after dialog closing all arguments, incoming and outgoing, become incoming.
I've also tried to find syntax in otter documentation, but found how to define incoming arguments only.

Product: BuildMaster
Version: 5.6.11

1
replies

I'm unable to install the autorest npm package using a proget npm feed with a connecter setup to https://registry.npmjs.org/

There is no issues using https://registry.npmjs.org/ directly.

Are you able to verify this issue?

I'm able to provide the npm debug log file if necessary, here's a select portion:

1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'autorest' ]
2 info using npm@4.2.0
3 info using node@v7.9.0
...
1216 info attempt registry request try #2 at 10:14:44
1217 http request GET http://ms-ch12/npm/ClientPackages/commonmark
1218 http 500 http://ms-ch12/npm/ClientPackages/commonmark
1219 verbose headers { 'cache-control': 'private',
1219 verbose headers   'content-length': '157',
1219 verbose headers   'content-type': 'application/json; charset=utf-8',
1219 verbose headers   server: 'Microsoft-HTTPAPI/2.0',
1219 verbose headers   'x-aspnet-version': '4.0.30319',
1219 verbose headers   date: 'Tue, 25 Apr 2017 08:14:44 GMT' }
1220 info retry will retry, error on last attempt: Error: ArgumentException Can not add property versions to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.: npm
1221 info attempt registry request try #3 at 10:15:44
1222 http request GET http://ms-ch12/npm/ClientPackages/commonmark
1223 http 500 http://ms-ch12/npm/ClientPackages/commonmark
1224 verbose headers { 'cache-control': 'private',
1224 verbose headers   'content-length': '157',
1224 verbose headers   'content-type': 'application/json; charset=utf-8',
1224 verbose headers   server: 'Microsoft-HTTPAPI/2.0',
1224 verbose headers   'x-aspnet-version': '4.0.30319',
1224 verbose headers   date: 'Tue, 25 Apr 2017 08:15:44 GMT' }
1225 silly get cb [ 500,
1225 silly get   { 'cache-control': 'private',
1225 silly get     'content-length': '157',
1225 silly get     'content-type': 'application/json; charset=utf-8',
1225 silly get     server: 'Microsoft-HTTPAPI/2.0',
1225 silly get     'x-aspnet-version': '4.0.30319',
1225 silly get     date: 'Tue, 25 Apr 2017 08:15:44 GMT' } ]
1226 silly fetchPackageMetaData Error: ArgumentException Can not add property versions to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.: npm
1226 silly fetchPackageMetaData     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:304:12)
1226 silly fetchPackageMetaData     at CachingRegistryClient.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:292:14)
1226 silly fetchPackageMetaData     at Request._callback (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:212:14)
1226 silly fetchPackageMetaData     at Request.self.callback (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:186:22)
1226 silly fetchPackageMetaData     at emitTwo (events.js:106:13)
1226 silly fetchPackageMetaData     at Request.emit (events.js:194:7)
1226 silly fetchPackageMetaData     at Request.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1081:10)
1226 silly fetchPackageMetaData     at emitOne (events.js:96:13)
1226 silly fetchPackageMetaData     at Request.emit (events.js:191:7)
1226 silly fetchPackageMetaData     at IncomingMessage.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1001:12)
1226 silly fetchPackageMetaData  error for commonmark@^0.27.0 { Error: ArgumentException Can not add property versions to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.: npm
1226 silly fetchPackageMetaData     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:304:12)
1226 silly fetchPackageMetaData     at CachingRegistryClient.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:292:14)
1226 silly fetchPackageMetaData     at Request._callback (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:212:14)
1226 silly fetchPackageMetaData     at Request.self.callback (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:186:22)
1226 silly fetchPackageMetaData     at emitTwo (events.js:106:13)
1226 silly fetchPackageMetaData     at Request.emit (events.js:194:7)
1226 silly fetchPackageMetaData     at Request.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1081:10)
1226 silly fetchPackageMetaData     at emitOne (events.js:96:13)
1226 silly fetchPackageMetaData     at Request.emit (events.js:191:7)
1226 silly fetchPackageMetaData     at IncomingMessage.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1001:12) pkgid: 'npm', statusCode: 500, code: 'E500' }
1227 silly rollbackFailedOptional Starting
1228 silly rollbackFailedOptional Finishing
1229 silly runTopLevelLifecycles Finishing
1230 silly install printInstalled
1231 verbose stack Error: ArgumentException Can not add property versions to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.: npm
1231 verbose stack     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:304:12)
1231 verbose stack     at CachingRegistryClient.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:292:14)
1231 verbose stack     at Request._callback (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:212:14)
1231 verbose stack     at Request.self.callback (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:186:22)
1231 verbose stack     at emitTwo (events.js:106:13)
1231 verbose stack     at Request.emit (events.js:194:7)
1231 verbose stack     at Request.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1081:10)
1231 verbose stack     at emitOne (events.js:96:13)
1231 verbose stack     at Request.emit (events.js:191:7)
1231 verbose stack     at IncomingMessage.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1001:12)
1232 verbose statusCode 500
1233 verbose pkgid npm
1234 verbose cwd C:\Users\gottscj
1235 error Windows_NT 10.0.10586
1236 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "autorest"
1237 error node v7.9.0
1238 error npm  v4.2.0
1239 error code E500
1240 error ArgumentException Can not add property versions to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.: npm
1241 error If you need help, you may report this error at:
1241 error     <https://github.com/npm/npm/issues>
1242 verbose exit [ 1, true ]

Product: ProGet
Version: 4.7.11

1
replies

How to migrate the Proget 4.7.x Version, installed on Windows 2016 with MS SQL Database , to a Linux Docker Container, with running the Database in an other Postgres Container?

  • take care, that source and destination contains same ProGet version. - Done.
  1. read and understand http://inedo.com/support/kb/1100/getting-started-with-proget-for-linux - ok
  2. copying the data directory to a container volume - ok.
  3. adjusting the dockerfile (https://github.com/Inedo/proget-docker) to my needs - possible
  4. create a composer.yml - possible
  5. migrate the database (export on ms-sql and import to postgres) - no clue.

Product: ProGet
Version: 4.7.11

1
replies

With the 4.7.11 release it appears the UA check on the docker registry api calls is now removed so other tools can now call the registry api. I can now see the repositories in octopus as i am able to now configure the docker feed thanks to the _catalog and UA changes. However it does not appear that the tags/list command is implemented. This would allow octopus to list the tagged images for a repository and deploy a specified tagged image which is exactly what we would want to do for deploying software.

An example

HTTP GET - http://packages.zywave.com/v2/_catalog

{
"repositories": [
"docker/inty/uibuild-runner",
"docker/inty/kraken-ui",
"docker/inty/kraken-warehouse",
"docker/inty/rabbitmq",
"docker/inty/rabbitmq-ci",
"docker/library/cabot",
"docker/inty/base_jetty",
"docker/inty/base_linux",
"docker/inty/gitlab_runner",
"docker/inty/kraken-dataimport-consumer",
"docker/inty/kraken-email",
"docker/inty/kraken-events",
"docker/inty/kraken-history",
"docker/inty/kraken-scheduled-task",
"docker/inty/kraken-security",
"docker/inty/kraken-service"
]
}
Then

HTTP GET - http://packages.zywave.com/v2/docker/inty/kraken-service/tags/list

Should return tagged images

but returns

{
"errors": [
{
"code": "UNSUPPORTED",
"message": "there is no handler for this URL",
"detail": {}
}
]
}

Thank you!

Product: ProGet
Version: 4.7.11

1
replies

I can upload a jar to maven feed by using the ProGet web GUI, and how can I achieve it by using command line? Just like nuget.exe for C# packages.

Thanks,
Samuel

Product: ProGet
Version: 4.7.11

2
replies

I have set up a ProGet server with maven feed named mf, and uploaded a package new-packages-jar.jar to this feed. I can download this jar from url "http://www.mysite.com/maven2/mf/apackages/new-packages-jar/0.0.1/new-packages-jar-0.0.1.jar" but I don't know how to download it from a maven project.

Suppose I have a test project with pom file name test.pom, what should I do to make sure I can download the new-packages-jar.jar correctly? If i need to add a repository to the test.pom, what should it look like?

Thanks,
Samuel

Product: ProGet
Version: 4.7.9

2
replies

During testing of configuration from Octopus with Proget Docker as feed I'm getting this error:

Request to http://***:8085/***-docker/v2/_catalog failed with NotFound:Not Found.

System.Exception

at Octopus.Core.Packages.Docker.DockerRegistryOAuthClient.Get in DockerRegistryOAuthClient.cs:line 50

According to my previous question, this was fixed:
PG-1001

Also there is error when listing packge versions:
Request to http://***:8085/***-docker/v2/library/***-frontend/tags/list failed with NotFound:Not Found.

Product: ProGet
Version: 4.7.9

1
replies

Is it possible to host .net DLL assembly somehow on ProGet?

Product: ProGet
Version: 4.5.2

1
replies

On sites like jcenter, and even on another maven feed that we host internally (don't ask...it's a long weird story why I can't get any information about this feed) when you access the feed via browser then you can get a list of files.

Examples:
http://files.couchbase.com/maven2/
https://dl.bintray.com/couchbase/couchbase/

When I host via Proget this is what I get instead:
http://mobile.maven.couchbase.com/maven2/dev/

Is this a feature of Maven that is missing from Proget or is this just a convenience that the other providers provide? Is there a way to get this functionality from Proget?

Product: ProGet
Version: 4.7.4

Ask A Question
Page: 135678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394