Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

  • Error message shows otter service not available, but jobs do execute

    4
    1
    4 Posts
    18 Views
    atrippA
    Hi @Justinvolved , Application Pools seem to run under a special user account (not NETWORK SERVICE, but like IIS\AppPoolName), so you need to give that user access. In any case, make sure to restart the app pool/IIS, otherwise the permissions may not cascade? It can be a bit tricky unfortunately. Cheers, Alana
  • 2 Posts
    9 Views
    atrippA
    Hi @Srinidhi-Patwari_0272 , In your command, you're specifying D:\ProGet as the target directory. The configuration files are written to %PROGRAMDATA%\Inedo\SharedConfig\. Cheers, Alana
  • 3 Posts
    17 Views
    M
    Hi Adam, Thanks for the response. I think a rate limit on the API for Free licenses would be fair - I'd prefer that to a capability restriction in any case :-). The script I've been working is an evolution of a very basic one I wrote about 5 years ago that simply deletes the *.nupkg files off the filesystem storage if they're older than a certain date, so the package versions that my new one is deleting via the API are mostly a historic backlog of the version "stub" records - going forward the daily deletions will be a lot fewer so a rate limit wouldn't be an issue. This is all part of some work we're doing to migrate our Azure VM-based ProGet Free instance to an Azure Kubernetes container instance - we actually got it working pretty quickly and we're happy we can remove another VM from our infrastructure landscape. It's also going to allow us to reduce our Azure resource costs by quite a bit, so I'm hoping I can make a case to our team lead that we should re-invest that in an annual Basic license to take advantage of some of the additional features - I'm particularly interested in the package scanning and license scanning capabilities so . As an aside, I did find a small snag with the official Inedo ProGet container registry - it was mostly a problem our side but I'll post a separate ticket about it for completeness... Thanks again. M
  • 2 Posts
    9 Views
    atrippA
    @philippe-camelio_3885 that's a lot of namespaces! Sure, great idea, I logged it to BM-3922 I'm not sure if we can sort repository names however; those come in a "paged" UI, but we might :) At least you can search for those by typing.
  • [OTTER] Upcoming & Recurring jobs list is not correct

    3
    2
    3 Posts
    10 Views
    P
    @atripp
  • 2 Posts
    26 Views
    apxltdA
    @emer-connelly_2117 very cool, thanks for sharing!!
  • upack repack doesn't use complete version string from CLI

    8
    8 Posts
    25 Views
    MaxCasconeM
    @matt-janda-kingston_9734 my old friend! I am just now seeing this. I hope you are well! Hit me up at my email in my profile if you see this!
  • I have permission error when deploy the build on the IIS

    5
    5 Posts
    16 Views
    M
    @atripp Thank you! I was able to fix that issue. After changing the service to "Local system account" I gave full permission of Buildmaster database for the user "NT AUTHORITY\SYSTEM"
  • ProGet - support for running on Azure Kubernetes Cluster?

    5
    5 Posts
    42 Views
    M
    Will do - happy to be a guinea pig :-) I've found one small hiccup already I think - our Azure Active Directory instance has enforced MFA on accounts, so I won't be able to use Windows Authentication for ProGet to connect to SQL Server and I've been advised to use a Service Principal instead, but System.Data.SqlClient doesn't support authenticating to SQL Server with a service principal: # build the connection string PS C:\temp> $connectionString = ([ordered] @{ "Server" = "my-sql-server.database.windows.net" "Authentication" = "Active Directory Service Principal" "Encrypt" = "True" "Database" = "my-sql-database" "User Id" = "00000000-0000-0000-00000000000" "Password" = "<secret-generated-by-azure>" }).GetEnumerator() | foreach-object { $_.Name + "=" + $_.Value } | join-string -Separator ";" # show the connection string PS C:\temp> $connectionString Server=my-azure-database.database.windows.net;Authentication=Active Directory Service Principal;Encrypt=True;Database=my-proget-database;User Id=00000000-0000-0000-0000-000000000000;Password=<secret-generated-by-azure> PS C:\temp>.\inedosql.exe update . --connection-string=$connectionString Unhandled Exception: System.ArgumentException: Invalid value for key 'authentication'. at System.Data.Common.DbConnectionStringBuilderUtil.ConvertToAuthenticationType(String keyword, Object value) at System.Data.SqlClient.SqlConnectionString.ConvertValueToAuthenticationType() at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) at System.Data.SqlClient.SqlConnection..ctor(String connectionString, SqlCredential credential) at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.GetConnection() at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.ExecuteTable[TResult](String query, Func`2 adapter, SqlTransactiontransaction, SqlParameter[] args) at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.GetChangeScriptVersion(SqlTransaction transaction) at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.GetState() at Inedo.DbUpdater.Program.Update(String scriptPath, String connectionString, Boolean force) at Inedo.DbUpdater.Program.Run(ArgList args) at Inedo.DbUpdater.Program.Main(String[] args) See System.ArgumentException: Invalid value for key 'authentication' above. The answer is apparently to migrate to the Microsoft.Data.SqlClient package which supports additional Azure-based authentication methods - that's obviously quite a big change though but I figured I'd mention it so you were aware... See https://learn.microsoft.com/en-us/sql/connect/ado-net/sql/azure-active-directory-authentication?view=sql-server-ver16#using-service-principal-authentication for more details. Here's the equivalent login from SQL Server Management Studio, which works with the credentials I've put in my connection string above: [image: 1704386082227-1b0f3856-c0d0-4421-8092-95804daff626-image.png] In the meantime I'll follow up with our secops team to see if I can get an exemption from the MFA policy for a new Azure AD account...
  • PGSCAN can't resolve embedded license file

    7
    7 Posts
    26 Views
    S
    @atripp OK
  • wrong user assigned to files deployed through buildmaster

    2
    2 Posts
    10 Views
    atrippA
    Hi @sergio-gonzalez_0157 , The easiest solution to this is to set the parent folder's as you'd desire. For example, if you're deploying everything to c:\Websites\<app_name> then just set c:\Websites to be [COMPUTER NAME]\Users . You can also write a PowerShell script to change permissions, but that's more complex and I recommend just using the parent-folder Thanks, Alana
  • [BM] Question about Resource pools, multiple tasks

    3
    3 Posts
    9 Views
    P
    @atripp Thanks for your reply, I am using Resource pool in this way, at the PipelineStage, Illustration with one of our appli (angular based) [image: 1703142948858-9577ec7c-ea97-4a88-ac59-3500554b700e-image.png] [image: 1703142998808-4f5bf055-d2b0-4fcd-819f-d57bb1892aa0-image.png] In this application, an angular apps is compiled (step 1) and deployed to a group of servers (step 2). That's what I thought, I tried... I may have planted a seed and maybe in the future this option will exist [image: 1703143812721-1aeb9d48-5755-4d7a-bc9c-2eefc74b65e2-image.png] [image: 1703144070757-872960dc-f6eb-47a5-b017-e57689370def-image.png] I wish you all a happy holiday season Best regards PhilippeC.
  • ProGet IP binding issues

    3
    3 Posts
    19 Views
    J
    Hey @atripp, Thank you for that snippet, very insightful. Oddly enough that issue is still on the .NET 8 Planning milestone, even though .NET 8 was already released this November. Ah.. one shall not question Microsoft's planning... ;)
  • API request for connectors with spaces in the name

    3
    3
    3 Posts
    15 Views
    S
    Hi @atripp, Thank you! Have a great day! Regards, Stanislav
  • Multiple builds as part of an application

    4
    4 Posts
    14 Views
    atrippA
    Hi @Justinvolved , The biggest consideration for using "separate applications" is versioning and independent deployment. For example, our extensions are all separate applications, but nearly all of them are bundled with product release. For example, see the the the %ExtensionVersions variable on a recent build of BuildMaster. The Git::Checkout-Code will default to $Commit and $Repository variable functions for the BranchOrCommit and From arguments; those variable functions contain the values that you selected when creating a build. So you can just specify different values as needed. See: https://docs.inedo.com/docs/buildmaster-git-source-control#build-scripts-operations Likewise, the Deploy-Artifact operation defaults to $ApplicationName, $BuildNumber, Default, etc, so you can specify values as needed. But like all things in software, no matter what approach you use, it will probably end up being "wrong" and you'll want to redo it later. So just plan on doing a "v2" down the line :) Alana
  • Proget feature request: indicate license rules in all views.

    3
    2
    3 Posts
    16 Views
    S
    Hi Alex, thanks for the feedback and the sneak peak at Proget 2024. Just a little background on how this came up: A developer actually came to me the other day and asked "Hey, can I use packages with license XYZ?", and my initial reply was "Well, just check what our Proget server says about that license" (we also have a written policy on how to handle the most common open source licenses, but it's not as frequently updated as our Proget license rules), but then I realized "Oh wait, you probably can't see whether there is an explicit rule about that license, because you don't have access to the license rule page..." I'm looking forward to those new features in Proget 2024, and I'm pretty sure they might change some of our workflows. If after testing Proget 2024 I still feel like there is a need for developers to see details about rules, even though they can't edit them, I will update this post. Have a nice weekend!
  • Unable to upload tar.gz file to NPM feed through web UI in Proget

    5
    1
    5 Posts
    12 Views
    dean-houstonD
    Hi @devops-services_2004 , In this case, can you open a ticket and send us that tar.gz file (attach on the ticket)? From there we will load it in a debug version of ProGet and identify where the problem is occurring. Not something that will be easy to spot by inspecting a file :) Thanks, Dean
  • attempt to write to readonly database

    3
    3 Posts
    8 Views
    H
    You are an amazing person! Thanks for the assistance, that worked. @dean-houston
  • 2 Posts
    5 Views
    dean-houstonD
    Hi @Ricardo_C_RST , For EC2 (a virtual server), you can just follow the ordinary Inedo Hub installation process. As for HTTPS and Domain, that's a setting probably easiest to do in AWS. I'm not familiar with AWS, but something like CloudFront might help? Dean
  • ProGet 6.0 and Azure AD Single Sign-on | SAML Basic License?

    6
    6 Posts
    25 Views
    R
    @jon-benson Hi John. How was your experience in setting up ProGet on EC2 and joining it on your existing domain? Any issues you encountered or tips you can share?
Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation