Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. apxltd
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by apxltd

    • RE: Variable in list limit to 50 characters :(

      All "names" are, unfortunately, limited to 50 characters; we thought this was "more than enough", and it's a common limitation in a lot of programming languages.

      This is not something feasible to change for a lot of reasons (consistency across all products, database columns, UI validation, etc)...

      posted in Support
      apxltd
      apxltd
    • RE: Where Proget save license info

      Assuming that ProGet has access to inedo.com, ProGet will automatically activate. Otherwise, you will have to manually activate. Activation is required when the CPUID changes or the MAC address changes. So, the easiest thing to do is just to ensure those don't change; these are almost certainly options in the VM Host.

      It's possible to programmatically active, but quite bothersome. You'd need to call our (undocumented) product registration endpoint, then add data to the ProGet database, then reset the web application. We don't really support this, and it's quite fragile (i.e. having someone else maintain this as a SOP), so it's best to just ensure the ProGet VM doesn't change and require re-activation.

      posted in Support
      apxltd
      apxltd
    • RE: NuGetPackages_SetListed api endpoint no longer working

      Hi Chris,

      You'll need to run the NuGetPackagesV2_SetListed method instead. In order to this, you'll need to mark it as non-internal; this can be done with a simple database query...

      UPDATE [__StoredProcInfo] SET [Internal_Indicator] = 'N' WHERE [StoredProc_Name] = 'NuGetPackagesV2_SetListed'

      This will be also be updated in 5.2.10 as PG-1549.

      posted in Support
      apxltd
      apxltd
    • RE: Following up on Previous Ticket - Need info on cause of issue

      Here's the response that @jrasch posted to that ticket;

      The All Versions tab should definitely still be there, and the only case I could see where it's hidden is for the feed type of "Docker" which does not use versions.

      Can you try:

      • Hard browser refresh e.g. CTRL + F5
      • Verify that you are logged in and not browsing anonymously

      Is that what you're looking for?

      Basically it sounds like it was an issue of either not being logged in, or some old Javascript cached in your browser? It's hard to say, because you had responded in the ticket that it was resolved...

      posted in Support
      apxltd
      apxltd
    • RE: Best method for using Otter to Install Features/applications?

      We recently moved our documentation; do you know where you found those 404s? We're also monitoring via Analytics Tools as well, but finding sooner is better :)

      Anyways PSCall is good in Orchestration Plans (can be done in a Configuration Plan, under some conditions), and PSEnsure is best for Configuration Plans.

      Explaining Ensure vs Execute can be tricky, but I'd recommend checking out our ebook, called Windows-first Guide to Infrastructure as Code and Continuous Configuration Automation :)

      posted in Support
      apxltd
      apxltd
    • RE: How to Use Otter to Install server Roles?

      We definitely want to add these as first-class Operations in our Windows extensions, but in the mean time the best route is to use the PSDsc Operation to invoke the Windows Feature DSC Resource

      PSDSC WindowsFeature
      (
        Name: Web-Server,
        Ensure: present
      );
      

      Hope that helps!

      posted in Support
      apxltd
      apxltd
    • RE: Helm push support

      Will help support a push command at some point? ;-)

      We documented a few ways you can Publish Helm Charts, because there was no push command at the time. It doesn't seem there's now one... https://helm.sh/docs/helm/

      posted in Support
      apxltd
      apxltd
    • RE: Docker: Consider not to use shared configurations / files in the docker host

      Can you be more specific? I don't understand?

      You most definitely do not want to "throw away" your package store or database...

      posted in Support
      apxltd
      apxltd
    • RE: SSL Offloading old Buildmaster instance (v5.7.3)

      There shouldn't be a problem doing this. Just makes sure the BaseUrl is configured properly in Advanced/All Settings under Admin.

      FYI: it's on our roadmap to have BuildMaster (and Otter) work on a multi-node installation, so you could have multiple web and multiple service nodes (similar to ProGet).

      posted in Support
      apxltd
      apxltd
    • RE: Restoring multiple packages fails regularly

      This is why it works directly...

      Remember that the NuGet.org not only runs on a massive web farm with dozens of load-balanced servers, but it's a static-file based index that's done mostly with CDN-based files.

      Each request you make to ProGet, on the other hand, needs to be authenticated, checked for vulnerabilities, licenses, sent to connectors, etc.

      The sockets are not getting exhausted, the async awaits are timing out. This is exactly what to expect in a connection overload situation, which will be common place in the way you're using ProGet.

      ProGet is not designed nor supported as a desktop tool.

      posted in Support
      apxltd
      apxltd
    • RE: 404 Error when pushing to .config endpoints

      That's strange, but it sounds like request filtering, WebDav, or some other security feature (outside of ProGet)... ProGet doesn't restrict anything by extension or anything like that.

      There's a few places to look, but i'd start here:

      https://stackoverflow.com/questions/12828476/what-file-extensions-are-blocked-by-default-in-iis

      Is that helpful?

      posted in Support
      apxltd
      apxltd
    • RE: Restoring multiple packages fails regularly

      Oh; yeah that'll definitely do it.

      50 packages yields hundreds of requests to a NuGet feed (ProGet). Each request to ProGet is then forwarded to Nuget.org. Add to that Docker request routing, PostGres network connections... and all of this on a single machine, calling itself over network channels...

      You're basically DoS-ing yourself ;)

      posted in Support
      apxltd
      apxltd
    • RE: Docker: Consider not to use shared configurations / files in the docker host

      Hi; do you have any specific recommendations? We are reevaluating our Docker strategy, perhaps to include things like Swarm or Kubernetes as distribution options.

      Here's what we do now...

      https://github.com/inedo/proget-docker

      posted in Support
      apxltd
      apxltd
    • RE: PSCall and OutputAtgument

      I'm just following up to see if you were ever able to work-past this, or if it's still an issue?

      posted in Support
      apxltd
      apxltd
    • RE: Docker Push to Proget Container Registry fails

      This is on our future roadmap; for now you'll need to install and manage as a normal windows application.

      posted in Support
      apxltd
      apxltd
    • RE: agent installation

      @philwaller5269_6322 what page did you find the broken link on?

      posted in Support
      apxltd
      apxltd
    • RE: Otter Agenless Configuration (PowerShell)

      There was a regression for the PowerShell agents that caused this to behave like this in some cases, but it was fixed in Otter 2.2.5 (released today). I should be fixed

      Let me know if this resolves your issue!

      posted in Support
      apxltd
      apxltd
    • RE: Using API on PowerShell

      The first example you mentioned (i.e. the one to /api/management/feeds/create) is using the Feeds Management API; it looks ok to me on first glance... can you share the error message you got when invoking it? You should be able to see logged request/responses in the Admin > API Keys as well.

      The second example you mentioned (Feeds_CreateFeed) is using the Native API, which we don't really recommend if there's an alternative available. It is basically a wrapper around stored procedures and the database. But in this case, it looks mostly correct, but the FeedType_Name is wrong; if you look at the Feeds table in the database, you'll see a universal feed is actually called ProGet in the database.

      Anyways, please use /api/management/feeds because it's easier to use and won't change if we update the database or stored procs.

      posted in Support
      apxltd
      apxltd
    • RE: Otter 2.2.3. ServerCheckerRunner

      Quick update: there's a bug we identified with some WsMAn connections that are causing different errors, but it might be related. We're going to fix this in Otter 2.2.5, shipping Friday.

      Otter 2.2.2 doesn't seem to exhibit this behavior.

      posted in Support
      apxltd
      apxltd
    • RE: Restoring multiple packages fails regularly

      Long story short, your workstation is overwhelming your server with network connections.

      Remember that the NuGet.org not only runs on a massive web farm with dozens of load-balanced servers, but it's a static-file based index that's done mostly with CDN-based files.

      Each request you make to ProGet, on the other hand, needs to be authenticated, checked for vulnerabilities, licenses, sent to connectors, etc. And I would be surprised if your server is more powerful than your workstation.

      There are some features in ProGet Basic like metadata caching that will help, but ultimately when you scale to more developers you ought to invest in better server hardware and eventually load balancing. See https://blog.inedo.com/proget-free-to-proget-enterprise

      posted in Support
      apxltd
      apxltd
    • RE: Configuration plan and Get-Http

      This is because Get-Http is an execute-only operation, which means it will only run if configuration changed.

      To force execute-only operations to run in configuration plans, you need to specify the execution directive to be always execute, as follows...

      with executionPolicy=always 
      {
         ...
      }
      

      Hopefully we can better document this in the future; it's buried in the formal specification.

      posted in Support
      apxltd
      apxltd
    • RE: During build getting error (unable to clone from github)

      @knitvijay_7631 said in During build getting error (unable to clone from github):

      Clone failed: unknown certificate check failure

      I did a quick search on this message, and there's lots of advice on how to get this working. The problem is coming from Git, and BuildMaster is just reporting the problem. I think your best bet will just be to use HTTPS instead of SSH. It's a lot easier to configure...

      BUt here's a post that seems to be quite popular that gives lots of tips and tricks on resolving this..

      Example: https://stackoverflow.com/questions/3777075/ssl-certificate-rejected-trying-to-access-github-over-https-behind-firewall

      posted in Support
      apxltd
      apxltd
    • RE: Otter 2.2.3. ServerCheckerRunner

      That's not surprising; as I mentioned, the problem lies with your configuration. Either you're using the wrong name and password in Otter, or the WSMan endpoint on the remote server isn't enabled.

      I recommend you to use to Inedo Agent.

      posted in Support
      apxltd
      apxltd
    • RE: Inedo Hub roll back to previous versions?

      We hope to include this ability in a future release, but it's a bit more complicated to get the details worked out. For now, just uninstall, then reinstall (pick version you want) will work.

      posted in Support
      apxltd
      apxltd
    • RE: Otter 2.2.3. ServerCheckerRunner

      Here is the underlying error message:

      Can not connect to Windows servers with WSMan endpoint. Try to use credentials FQDN and Netbios, result - exception.

      Basically, this means that your username/password is not being accepted. It should be something like DOMAIN\username or username@domain.local

      It could also be that WSMan isn't configured to allow these connections; this can be controlled at the domain. I recommend you use the Inedo agent, it's a lot easier to set-up and get working

      posted in Support
      apxltd
      apxltd
    • RE: Support for R and CRAN

      @valeon fantastic, thanks so much! This will really help us explore; it doesn't look "too bad", and is "somewhat similar" to how Debian manages it's packages.

      We'll try to start hacking around with a POC in the coming weeks, hopefully; i'll update when I can!

      posted in Support
      apxltd
      apxltd
    • RE: NPM Audit

      Just as an update, we will be doing this:

      https://inedo.myjetbrains.com/youtrack/issue/PG-1555

      "Proxy npm audit requests to npmjs.org (experimental)"

      posted in Support
      apxltd
      apxltd
    • RE: NPM Audit

      Unfortunately, npm audit is a totally undocumented endpoint and based on past experiences, npm's API frequently changes is nontrivial to reverse engineer. Moreover, npm, Inc does not permit or support third-party access to the API that's used by npm audit.

      When they change that underlying API (whether to enforce the no third-parties rule, or to do something from the client), ProGet will once again be broken (or worse, provide incomplete/incorrect results). At least now, you know that this is the only supported way to handle it...

      Do you have an npm enterprise license? This might be something to work with through their support channel.... they don't have a partner program at this time, so getting permission or insight into how we can access this API is difficult.

      posted in Support
      apxltd
      apxltd
    • RE: Public and private feeds on same ProGet instance with free edition?

      ProGet does not have the concept of "public" or "private" feeds, you can instead grant the "Anonymous" user certain permissions, including viewing and publishing packages.

      ProGet Free Edition does not allow feed-level permissions, only system-level permissions. So you can grant "Anonymous" whatever rights you want, just not at a feed-level.

      posted in Support
      apxltd
      apxltd
    • RE: Test Question - Does this work 2?

      this is solved but i'm still replying

      posted in Support
      apxltd
      apxltd
    • RE: Test Question - Does this work 2?

      Hi there.

      posted in Support
      apxltd
      apxltd
    • Test Question - Does this work 2?

      This is another test of the test

      posted in Support
      apxltd
      apxltd
    • RE: Halting a pipeline stage without using fail

      If you set Warn, will it automatically advance?

      One idea as well... how about also setting a build variable using Set-ReleaseVariable called IsValidBuild, and then using a Variable Value Promotion Requirement (IsValidBuild = true)?

      posted in Support
      apxltd
      apxltd
    • RE: Support for R and CRAN

      hi all, thanks for the interest/comments; I decided to write-up a page that details this on the docs.

      http://inedo.com/support/documentation/proget/feeds/other-types

      I'm hoping we can use this public thread to maintain the discussion on technical detail; otherwise it'll get stuck in my email, or somewhere else, and we can get everyone to chime in this way.

      That said, @M-W if you've got any insight into how R/CRAN works please do share :)

      posted in Support
      apxltd
      apxltd
    • RE: ProGet with Postgres database using SSL Host base authentication

      The Postgres container has had a lot of performance problems at scale, and neither our customers nor engineers could figure it out. A regular instance was fine, but our customers wanted containers.

      But in the long term, maintaining two separate code bases doesn't make sense. And now that Sql Server is available, it makes sense to do it.

      posted in Support
      apxltd
      apxltd
    • RE: Load Balance BuildMaster Instance

      Hi, sorry on the slow reply!

      I think you've got a good undersatnding of the situation, but a couple of comments:

      • do not share the Temporary files (ServiceTempPath, WebTempPath); these should be kept on the same server as the BuildMaster web/service app. These are only used during the runtime of those applications.

      • on the back up server, make sure both the Web Application and Service are set to DISABLED, or configured with a bad username/password such that they cannot be started easily; having two identical BuildMaster instances pointing to the same database and the same agents will cause that multi-master problem you dont' want to deal with :)

      • we have had some customers put our products in a Windows Container, but largely the support on the Microsoft side isn't so great, and it's more trouble than it's worth; we are moving towards DotNetCore so we can have BuildMaster run on Linux (and linux containers)

      Does that make sense? Let me know how it goes.

      And by the way, I'd love to document this better... would you be interested in helping me with this, especially once you have it running in your set up? I think it would really help the community :)

      posted in Support
      apxltd
      apxltd
    • RE: RPM Support

      Thanks Scott; just an FYI, we spent sometime investigating this and it actually looks simpler because it separates the package metadata from the file metadata, and uses XML as the serialization.

      We'll keep digging; since it's addidirive, I don't see why we couldn't get it in a maintence release if it's as easy to do as, say, Helm or something. Just don't want to get stuck in a rabbit hole like PHP Composer :(

      posted in Support
      apxltd
      apxltd
    • RE: [ProGet 5.1.17 (Build 4) Linux] A Powershell package gets a wrong version number when pulled from PS Gallery, if published from a machine, cannot be installed, seems corrupt

      This is also being discussed here; long story short, this is a bug in Microsoft's PowerShell Gallery (and in the packages) in that they have two conflicting version numbers, and sometimes one is used, sometimes the other is used.

      The docs have been updated for now: https://github.com/Inedo/inedo-docs/commit/10c42c3ad546ac2feb4748b7736db06567c7a6d6

      posted in Support
      apxltd
      apxltd
    • RE: Proget keeps mangling NuGet package version numbers!

      Ugh, this sounds like a mess :(

      Your comments on that GitHub issue seem spot on, and I'm not so keen on introducing quirky behavior to workaround their bugs. We made that mistake on the NuGet feeds and it made life worse for everyone, especially when the NuGet team silently fixed them (and introduced more weird behavior).

      So I think we should just handle this via docs for now. I've updated the docs, feel free to suggestion more changes :)

      posted in Support
      apxltd
      apxltd
    • RE: SCM Trigger for TFS

      To be honest, "SCM Triggers" are in a "quasi-legacy" state, because they use the "Legacy Providers". As such, we don't list it as a feature, and we hide the button on installations without SCM Providers configured. This was done slowly over the course of two years, in various v5 versions, to gauge user reaction.

      So, your inquiry is good feedback. That being said, we have not yet put a lot of effort into properly redesigning this feature. The reason for this, is that the "general direction" has been moving towards post-commit hooks; i.e. triggering the build from the SCM server, once a merge request (or something?) happens. Even on dedicated CI tools, the preference is shifting towards this route. I think this is because the branching logic has been too complicated to follow (even for really advanced CI servers like Jenkins and TC).

      So I wonder, have you looked into post-commit hooks?

      Otherwise, we are definitely considering a general-purpose poll/trigger feature: basically, a poll will periodically occur, and if a condition is met, trigger some sort of event. This would be shared across multiple products, and the usecases might vary based on the product.

      One motivation to develop this feature is that it will allow us to really feature the "BuildMaster is from source to production" story, which is becoming more popular again. Most people didn't want that, but now the pendulum is swinging back to it, now that source code tools (like Git) are integrating (totally inadequate) build/release features.

      In any case, none of this is all that "immediate", but I wanted to share reasoning to you about this, and solicit your feedback.

      Of course, if you need to create "legacy components" we can help you do that as well. We don't plan on removing those from BUildMaster, just hiding them so no new users can access them.

      posted in Support
      apxltd
      apxltd
    • RE: Will your Nuget web package description ever support Markdown?

      It seems like NuGet.org now finally supports it! So we will too; I filed PG-1246 to add it to a future maintence release.

      posted in Support
      apxltd
      apxltd
    • RE: Proget vulnarability scanning

      Good question.

      Regarding Vor Security, that was a recent acquisition by Sonatype, and it's being transitioned into a new service called OssIndex. Sonatype plans to keep this going for the foreseeable future, and we have verified this with Ken Duck (formerly of Vor Security, now Sonatype employee). ProGet will continue to support it (we are renaming it as well).

      Moreover, we are planning to work with Sonatype to better integrate their broader services (vulnerability scanning) with ProGet. We are also investigating Blackduck integration, though we're not entirely sure how it would work with ProGet.

      Regarding "developing our own"... broadly speaking, there are two types of vulnerabilities scanning:

      • static analysis - analyzing actual code or binaries to look for patterns (buffer overflow, etc); this is done "on your own software"
      • repository/database - looking at public databases like NVD, CVE, etc. for vendor- or third-party documented vulnerabilities reported for a known, published piece of software

      We don't believe that static analysis has a place in a package manger; there are a handful of tools that can scan your codebase directly for this.

      As for repository/databases, it's not really bout "finding" vulnerabilities in software, it's more about "aggregating databases" and then translating those into machine-readable formats. This is what Sonatype, Whitesource, etc., do, and we think more vendors will continue to innovate in this space.

      But the "repository" and "scanning" are two different problems, and you should pick the best of both problems; it would almost be like saying "Microsoft makes Office, may as well use Visual Studio and .NET".

      ProGet has the extensibility support for this already, so we should be able to integrate with new providers as they come up,

      posted in Support
      apxltd
      apxltd
    • RE: Where has NuGet API Key gone from Manage Feed page?

      The behavior your describing is to be expected; basically the API acts as an impersonation token, meaning... if you supply an apikey, and its associated with a user, then it's as if you logged in as that user.

      So in this case, try this:

      1. create a user called ApiUser, and give ApiUser access to myFeed as desired
      2. go to the APIKeys and Access Logs screen.
      3. create a key and tick Feed API and set Feed API user to ApiUser

      Assuming myFeed doesn't allow anonymous access (you will need to restrict this from permissions page), then you will need to provide an api key or username/password to access that feed.

      In this case, just use the key you created.

      Hope that helps!

      posted in Support
      apxltd
      apxltd
    • RE: API for scheduling deployments?

      It doesn't, but I think we should add it to the Release & Package Deployment .. so I added BM-3149

      So, it will come in a future maintenance release, since it's additive and seems to pose minor risk.

      posted in Support
      apxltd
      apxltd
    • RE: Are links possible in promotion comments?

      There isn't currently, but there will be soon! Please see PG-1221

      I can't imagine any reason at all this wouldn't be done, and it can go it the next maintenance release assuming it passes code review etc!

      Thanks much for the specific suggestion!

      posted in Support
      apxltd
      apxltd
    • RE: Search db for all uses of a variable

      Mostly it's goign to be the PlanVersions table. Plan_Bytes is UTF8-encoded , so you can do "CAST(Plan_Bytes as VARCHAR(MAX))". The ConfigurationFileInstances table may reference it, if you use configuration file assets. IssueSources are another destination.

      Note you should never directly update the database.

      posted in Support
      apxltd
      apxltd
    • RE: Synchronise resource credentials from Buildmaster to Otter

      Hey Clint;

      This was intentional in the infrastructure sync; credentials are a bit trickier, because of the encryption key and fact that some credentials aren't supported.

      That said, this is definitely on our roadmap and will (likely) come in the form of a new (free) product that manages multiple instances of our tools:

      • users and permissions
      • licenses
      • resource credentials
      • infrastructure (?)
      • other settings?

      In the mean time, it's possible to do with a database script / simple tool that just updates rows from one database to another (ResourceCredentials table). We can certainly help with that if needed.

      posted in Support
      apxltd
      apxltd
    • 1
    • 2
    • 3
    • 4
    • 4 / 4