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 6 of 97 (20 questions out of 1931)
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

1
replies

I have a feed with remote connections. The problem is that the URL is very log, and now the edit/delete buttons for the remote feed are under the Cache Usage view and inaccessible.

Is there a way to edit the remote connection settings (new filters, etc.) without deleting my feed?

Product: ProGet
Version: 3.8.6

1
replies

I've been trying different organizations of our setup by defining multiple environments, but as i'm adding new environments I've noticed a massive slow down in general navigation of the Otter instance. Many pages were taking significantly longer to load. Especially when accessing the History page for previously run Jobs.

The most recent setup contained 13 environments. Some nested environments included. (up to two levels). Accessing the history page took just short of 2 minutes.

The only thing I have recently changed in our setup is the environment structure so I backed-up/restored to a different machine and verified the same slowness. On this new instance I deleted a majority of the environments, going back down to 4 (with only one having a child) and the history page will reliably load in 15 seconds.

For reference the largest environment setup looks something like this:

  • ENV1
  • CHILD1
  • ENV2
  • ENV3
  • CHILD1
  • SERVERS1
  • SERVERS2
  • CHILD2
  • SERVERS3
  • CHILD3
  • SERVERS4
  • CHILD4
  • SERVERS5

There appears to be some major or extra processing happening when having many environments. Is this expected behavior and should I be looking to restructure our instance in a different way or is this a bug?

Product: Otter
Version: 1.5.5

3
replies

As part of my deployment plan, I copy a single file from one folder to another on the same box (it happens to be the BuildMaster server). It works fine. Subsequent executions, however, fail because BuildMaster can't get a handle on the file.

Cannot copy C:\folder1\foo.msi: The process cannot access the file 'C:\folder1\foo.msi' because it is being used by another process.

This is how I copy it in my plan:

Transfer-Files
(
    Include: foo.msi,
    FromDirectory: C:\folder1,
    FromServer: localhost,
    ToDirectory: C:\folder2,
    ToServer: localhost,
    DeleteTarget: true,
    Verbose: true
);

The only way to get it to work on subsequent executions is to restart the BuildMaster service (which releases the handle on the file).

Product: BuildMaster
Version: 5.6.11

3
replies

I want BuildMaster to deploy to our DEV environment automatically whenever someone pushes a new revision to our Mercurial repository. When I go to the "Release Package Triggers" section under the Settings for my application (http://buildmaster/applications/1/schedules), I click "Create New SCM Trigger". BuildMaster says there are no Source Control Providers set up in BuildMaster. This is true, but I do have the Mercurial extension installed. Do I have to configure a Source Control Provider for this? I'd like to avoid doing so because they are deprecated. In addition, it seems like the Source Control Provider dialog doesn't allow you to specify a resource credential, so I would have to inject the credentials in the Remote URL field ("http://user@pass:my.repo.com"). There are two reasons I don't want to do this:

  1. I don't want to expose the credentials like that in BuildMaster.
  2. When I tried using the http://user@pass:my.repo.com syntax, BuildMaster couldn't parse it -- probably because the password contains some unusual characters.

Product: BuildMaster
Version: 5.6.11

1
replies

Hi, I recently upgraded from 4.7.4 to 4.7.10. I messed it up and had to readd all the feeds, and I noticed that the maven URLs have all changed from maven2 to just maven. Is there a way to change them back to maven2?

Product: ProGet
Version: 4.7.10

3
replies

Hi,

I am planning to move a Proget Server version 4.50 build 25 to a new server and SQL server.
Unfortunately the SQL server version will be changing from SQL 2014 Express to SQL 2012 Enterprise.
I am aware that SQL databases cannot be restored to earlier versions using backup and restore.
Do you know of any other data export \ import methods that could help with the migration?

Thanks
Jason

Product: ProGet
Version: 4.5.0

1
replies

Hi Inedo,

I'm getting an exception when trying to download and install a universal package with upack.exe

I still receive the package, so it is working as intended, but the error still shows up in the error log

Message:
An error occurred processing a GET request to http://server:port/upack/feed/download/group.name/Package-Name?latest: Object reference not set to an instance of an object.

Stack:
System.NullReferenceException: Object reference not set to an instance of an object.
at Inedo.ProGet.WebApplication.SimpleHandlers.PackageDeploymentData.FromContext(HttpContext context)
at Inedo.ProGet.WebApplication.FeedEndpoints.Universal.UniversalRepositoryHandler.<RecordPackageDownloadAsync>d__11.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 Inedo.ProGet.WebApplication.FeedEndpoints.Universal.UniversalRepositoryHandler.<ProcessDownloadRequestAsync>d__10.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 Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.<ProcessRequestAsync>d__8.MoveNext()

Product: ProGet
Version: 4.7.9

1
replies

I'm wondering if any documentation can be provided to explain Buildmaster deployables, especially in the context of managing multiple build artifacts and empowering users to deploy different artifacts according to selected build deployables (is this possible to configure?).

I don't note any documentation germane to deployables on the Inedo website, but I'm wondering how to correctly interact with deployables via a build plan.

Product: BuildMaster
Version: 5.6.11

Ask A Question
Page: 123468910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697