Navigation

    Inedo Community Forums

    Forums

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

    Posts made by atripp

    • RE: Getting HTTP 500.30 ASP.NET Core error when launching local IIS ProGet website connecting to a remote DB

      Hi @scusson_9923,

      Did this instance of ProGet work before you changed the connection string? I.e., if you point to a local database, then it works okay?

      Or, is this the first time you're trying to use ProGet on this machine?

      thanks,
      Alana

      posted in Support
      atripp
      atripp
    • RE: 500 error on "docker push" due to a deadlock

      Hi @inok_spb - that's correct, the proc is dropped/created each time ProGet is upgraded/installed.

      posted in Support
      atripp
      atripp
    • RE: Proget Vulnerability Scan: "Padding is invalid and cannot be removed"

      Hi @john-a-henson_0753 ,

      Without seeing the stack trace it's hard to say, but that error typically is related to a decryption failure of some kind of secret. I'm guessing the API key?.

      That most often happens when migrate to a different server, but don't bring over the same encryption key. If you can make sure the encryption key is same, then the error goes away.

      Otherwise, you can just delete the vulnerability source and add it back.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: 500 error on "docker push" due to a deadlock

      Hi @inok_spb,

      That's great news! Thanks for the help and testing - couldn't have fixed this otherwise I think :)

      I just committed the code changes on our end (PG-2222), so it should be in the next maintenance release (2022.12).

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Proget: API for release versions only/Hide prerelease?

      Hi @mcascone,

      There isn't an API/endpoint for that at this time, but it's easy enough to handle at the consumer/client-level. To tell if something is prerelease, you can just do versionNumber.Contains('-').

      In the case of the all versions page, the "client" (i.e. the page) just queries the versions and displays non-prerelease.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: 500 error on "docker push" due to a deadlock

      @inok_spb thanks much for investigating this :)

      Your assessment makes a lot of sense and definitely isn't easy to figure out.

      Let me know if that works; it'll be easy to update our code once we know what works :)

      posted in Support
      atripp
      atripp
    • RE: Working with symbols in nuget packages works not as expected.

      @stijn-peeters-external_8202 Thanks for letting us know; we do have plans to improve this in ProGet 2023, and make it much easier to use.

      posted in Support
      atripp
      atripp
    • RE: Database Backup doesn't contain Docker feeds?

      @jim-borden_4965 glad you got it working :)

      On Windows, you can just do an in-place upgrade of MSSQL, and not worry about database migrations. The same is probably true on Docker, and you can just upgrade container.

      Anyways safer to back-up.

      And if you haven't seen it already, here is the ProGet guidance:
      https://docs.inedo.com/docs/installation-backing-up-restoring

      posted in Support
      atripp
      atripp
    • RE: "Unable to resolve package source" when registering PowerShell repository

      Hi @curtis-denotter_1361 ,

      It looks like you're following the right steps; here is our HOW-TO guide on the topic:
      https://docs.inedo.com/docs/proget-powershell-private-module-repository

      If I had to guess, the issue is with HTTPS/TLS resolution. That's what most search results for "Unable to resolve package source" came up with, anyway. You'd have to use a tool like Wireshark to be sure, since the error message from PowerShell isn't very helpful.

      You can force PowerShell to use TLS12:
      [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

      It might also be certificate related. You may get a better error message if you do like a Invoke-WebRequest to your ProGet URL.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Using drop path vs copying packages during migration to new server

      Hi @itinfrastructure_7135 ,

      The easiest approach is this:

      1. Notify users of downtime
      2. Shutdown old server
      3. Migrate database, files
      4. Start the new server
      5. Edit DNS to the new server

      Using the drop-path isn't required, and that whole process probably wouldn't take too long.

      There are ways to reduce downtime, but that mostly involves using something like "robocopy" or another tool to mirror the package files across servers. The database is relatively small to backup/restore.

      Otherwise it sounds like you're on the right track!

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Error whike trying to update extensions

      @marc-ledent_9164 after you delete/remove the incompatible extension, do you still see an error with FTP? You may need to restart the service & web application to clear it....

      FTP 1.10.1 should work after that.... what message do you see?

      posted in Support
      atripp
      atripp
    • RE: Using drop path vs copying packages during migration to new server

      Hi @itinfrastructure_7135 ,

      The first article refers to migrating a ProGet, including the SQL Server database. The database contains things like users, feeds, and package metadata. When that information is in the database, ProGet will expect the file to be in a specific location on disk, so that's files must be moved.

      The second article refers to importing packages into ProGet, and it's effectively uploading new packages.

      Thanks,
      Alana

      posted in Support
      atripp
      atripp
    • RE: User with permissions Publish permissions is denied

      @scusson_9923 I'd definitely open a ticket, since it could be unrelated and may require a different back-and-forth w/ screenshots and other sensitive info

      But the "View Effective Privileges" tool is the best way way to see what ProGet is using for permissions. There are some other tools available as well we can use to troubleshoot.

      posted in Support
      atripp
      atripp
    • RE: Error whike trying to update extensions

      Hi @marc-ledent_9164 ,

      Did you manually download the extensions? Or, were they prompted for installation?

      BuildMaster 7.0 works with only work with Git 1.12.3+. Here is compatibility information:
      https://docs.inedo.com/docs/inedosdk-versions-release-notes#product-compatibility

      Git 2.1 is built for the Inedo SDK 2.1, which is what BuildMaster 2020 will use :)

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: User with permissions Publish permissions is denied

      @scusson_9923 in the case of load-balancing, you'd need to do that on each of the nodes, since the "Clear Cache" button only works on the current node

      Note: this is meant to be a "once a rare while thing" or for diagnostic purposes so if let us know if that's not the case, and we can try to think up a better solution

      posted in Support
      atripp
      atripp
    • RE: How to set up connector to npm repo with access token

      @torgabor_4445 one other thing to try -- how about just putting your token as the password, and then having no username? But still selecting Bearer auth?

      posted in Support
      atripp
      atripp
    • RE: How to change date format on newly imported packages?

      Hi @itinfrastructure_7135 ,

      I researched this some more, and it looks like it's also configurable per-user. So you'll need to change the regional setting of whatever account ProGet is running under it looks like.

      I've never done this before, and it's something handled by the operating system... but I searched " change regional settings per user windows" and found a number of results, but this one looks promising: https://docs.microsoft.com/en-us/answers/questions/254248/default-global-regional-setting.html

      Hope that helps!

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: How to change date format on newly imported packages?

      Hi @itinfrastructure_7135 ,

      Did you restart the server? The setting is at operating-system level, so you will need full reboot of server.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: BUG: NuGet registration JSON missing icon information

      Hi @jim-borden_4965 ,

      I think the iconUrl will be relatively easy to implement, but not so much the licenseUrl...

      Can you provide a download link to a package that I can test with? If it's easy we can make the fix for iconUrl.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: How to set up connector to npm repo with access token

      Hi @torgabor_4445 ,

      I believe that, when creating the npm connector, you can select "Authentication: Bearer", and then enter email and your token for the username.

      Let us know if that works!

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet log deletion query takes 26 hours

      Hi @jerome-jolidon_1453 ,

      Looks like you found the place where that was fixed; that query is a weak point when there's intensive database logging. About the only time that happens is when the server is overloaded with a traffic spike and starts running into database connection errors. So those just pile up.

      It could also happen if some one left on Feed-level logging (Admin > Advanced setting, we do not recommend it).

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: How to change date format on newly imported packages?

      Hi @itinfrastructure_7135 ,

      Dates in ProGet are stored as utc datetimes, and then are displayed using .NET's date formatting functions, which in turn uses the operating system's setting.

      So I guess, if you just restart the server, maybe the setting will take, and dates will be displayed as epxected?

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: How to delete packages with the ProGet REST API?

      Hi @blake-meike_5923, hi @jim-borden_4965 ,

      The "bulk delete" is in ProGet 2022 - you just navigate to "Packages", click "bulk edit", and select the ones you wish to delete.

      Otherwise we haven't implemented a DELETE endpoint for Maven artifacts, so it's not going to be possible programmatically until we do. Unlike the NuGet client, the Maven client doesn't have any delete capabilities and no one else has asked for a custom API endpoint.

      In ProGet 2023, we do intend on making an API that would work across all package types, but that's a whiles off. We can consider adding and documenting a custom Maven DELETE endpoint, but the use case of "working-around a paid feature" isn't exactly a big motivation for us to prioritize a change 😏

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Packages are not visible

      Hi @laxmi-salunkhe_6251 ,

      It sounds like you're new to ProGet; do you by chance have someone on your team who can help show you how it was set-up, and how to navigate?

      A few points...

      • You are viewing the "Packages" page, which only shows your local packages. You can increase the number of packages shown by changing the "Count" drop-down box.

      • You can also search your feed by clicking on "DevCurrent" (or navigating from Feeds > DevCurrent), and then searching.

      Thanks,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Packages are not visible

      Hi @laxmi-salunkhe_6251 ,

      I'm really not sure how I can help with this....

      Please provide more information, screenshots, etc.

      Thanks,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Docker env variable SQL_CONNECTION_STRING_FILE not being used

      Hi @jeff-peirson_4344 ,

      Looks like the docs were wrong, thanks for bringing that up.

      It should be PROGET_SQL_CONNECTION_STRING_FILE -- I've since updated the docs.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: 500 error on "docker push" due to a deadlock

      Thanks for the update @inok_spb, that's quit helpful.

      Looking at the code, I think I could see how that could happen. The code isn't very pretty and it's a bit complex. Unfortunately, it's not simple to reproduce (for me), and the issue is low priority since no one else has reported (except just single free-edition user).

      However, if you can modify the stored procedures, then I can give you some pointers on what I would do to investigate. If you can fix the stored procedure on your server, then we can modify our source code, and the issue will be resolved!

      The first thing I would do is modify DockerImages_SetData as follows by moving the following line of code to the top of the code block, right below the BEGIN TRANSACTION statement:

      DELETE [DockerImageLayers] WITH (TABLOCKX)
       WHERE [DockerImage_Id] = @DockerImage_Id
      

      I don't think a TABLOCKX is appropriate here, but regardless -- moving this to the top should block DockerImages_GetImage until the procedure finishes. I don't see any other side-effects from making this change.

      If you have someone who is really skilled in SQL Server, then I'm sure they could do a better job than I would, but this is where I would start.

      But please try this and let me know!

      posted in Support
      atripp
      atripp
    • RE: Conda Forge Connector

      @paul-regan_9353 unfortunately not :(

      It wasn't a quick/trivial fix unfortunately, and we couldn't dig deeper last week due to vacation/holiday. We scheduled time to review deeper this week!

      Will update / post link a product issue or bug as soon as we learn what the issue is.

      posted in Support
      atripp
      atripp
    • RE: Proget 2022.5: Can't download package with "invalid version"

      Hi @pariv_0352 ,

      At this time ProGet doesn't support those version numbers for NuGet packages.

      Here are the rules we currently follow:
      https://docs.inedo.com/docs/proget-feeds-nuget-semver2-and-legacy-versioning#legacy-nuget-version-numbers

      2.8.2.1-preview.79 is supposed to be an invalid version, and it wasn't allowed to be uploaded to NuGet.org for very many years. But I guess, they changed the rules....

      This appears to be a newer packages, so we will consider changing the rules of ProGet. Please stay tuned... I'll update after discussing to the team.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Cannot view packages

      Hello,

      This is related to a known issue that's been addressed in ProGet 6.0.19 and ProGet 2022.5. So, your best bet is to upgrade and the issue will become resolved :)

      This is related to an few packages that have exceeded 2.2b downloads:

      • Microsoft.NETCore.Platforms
      • Microsoft.Extensions.Primitives
      • Microsoft.Extensions.DependencyInjection.Abstractions

      If upgrade is impossible/difficult right way, then as a work-around, you can disable the connector. Alternatively, you could block those packages with a connector filter then upload them to your feed so that the counts won't come through the connector.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Conda Forge Connector

      Hello,

      I can confirm, I've got the same error. This is likely due to "bad" data in the feed; we've seen a couple others with that.

      We'll investigate and work on a fix :)

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Create apt mirror

      @sdohle_3924 so far you've been the only other person to ask it :)

      It's very complicated from engineering standpoint, and there hasn't been a lot of demand for it. Good to know that you're interested.

      It's likely not going to make our roadmap in the near future, but perhaps next year we can consider it.

      posted in Support
      atripp
      atripp
    • RE: proget message:Value was either too large or too small for an Int32.

      Hi all,

      This is a known issue, and it's addressed in ProGet 2022.6 and
      ProGet 6.0.19.

      It seems to come from these three packages:

      • Microsoft.NETCore.Platforms
      • Microsoft.Extensions.Primitives
      • Microsoft.Extensions.DependencyInjection.Abstractions

      As a work-around, you can block those packages with a connector filter, or upload them to your feed so that the counts won't come through the connector.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Otter in https instead of http

      Hi @mike_2282 ,

      If you want to use HTTPs, at this time you'll need to use IIS. It's really really easy to configure, which is why we prefer that instead of writing our own management interface for certificates.

      Here's our guide for switching to IIS:
      https://docs.inedo.com/docs/various-iis-switching-to-iis

      We don't have a guide for "enabling HTTPS on IIS", but there's a ton out there.

      If you don't have a org certificate, then just use https://www.win-acme.com/

      That is a tool that will configure an IIS Site for SSL (using a certificate from LetsEncrypt), and and then created a scheduled task on Windows to renew that certificate every 90 days (i think).

      1. Download the latest stable https://www.win-acme.com/ and extract to c:\win-acme\<file-name>
        -> Example: C:\win-acme\win-acme.v2.1.14.996.x64.trimmed

      2. Run wacs.exe as an admin

      3. Run the "Create Certificate" option and select the site(s) to create certificates for; this process will be pretty self-explanatory, and will create scheduled jobs to renew the certificate

      4. verify that you can now access your site via HTTPS as you expect

      Note that certificates renew every 90 days (i think), so set a reminder to check before your users do.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Version 2022.1 (Build 10) - No Update Notification

      Hi @rie_6529 , thanks for the forum post!

      This looks like it's a regression - we'll get it fixed in the next maintenance release (scheduled this Friday) as PG-2180

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet SAML group claims

      Hi @jblaine_9526 ,

      I can't find anything about SAML group claims on our internal roadmap... is there a ticket/forum post about it that I missed?

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: 500 error on "docker push" due to a deadlock

      Hi @inok_spb ,

      There won't be any issue in disabling that trigger. It's basically like a "foreign key constraint", and just checks for data validations. However, I suspect its where the problem is, so please give it a shot and let us know.

      We haven't had any other reports of this, tried to reproduce on our own, or fix it.... so it's not surprising if the issue is still there 😅

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet: Unable to create new Asset folder with same name as deleted folder

      Hi @bushman_3007,

      Can you clarify the request some more, i.e. why are you wanting to delete soft-deleted directories?

      I don't know the reason directories are soft deleted, but I suspect it has to do with preserving versioning history.

      Thanks,

      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet: Unable to create new Asset folder with same name as deleted folder

      Hi @mcascone ,

      This is a bug, thanks for the report!

      ProGet "soft deletes" items, but it seems when you go to recreate a directory it's not set to "not deleted". We'll get this fixed in the upcoming maintenance release of ProGet 2022.4, scheduled for August 12: PG-2173 FIX: Deleted asset directory items cannot be created

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: 500 error on "docker push" due to a deadlock

      Hi @inok_spb

      I think you're right, something must be deadlocking.

      There was a database change in ProGet 6.0.16 that basically involved creating a large transaction to handle a race condition.

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

      We haven't heard of any other reports of this deadlock (particularly from our paid users)... and unfortunately deadlock issues are really hard and time-consuming to reproduce and track down (especially with Docker using shared layers).

      So as a free user, we'd really appreciate any other info / help you can provide to track this down and fix :)

      The issue would most certainly be in database code, which is viewable/editable in SSMS.

      One quick thing to try -- can you just disable TR__DockerRepositoryTags__ValidateImage? That might be the culprit... and if so, we can always add it to the stored procedures as well.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Azure Blob errors with upgrade to 2022

      Thanks much @brett-polivka !

      That's a great tip! That just might be it, and I can see the code here just uses Uri, as opposed to a Sas URI:
      https://github.com/Inedo/inedox-azure/blob/master/Azure/InedoExtension/FileSystems/AzureFileSystem.cs#L91

      For that error, can you see what ProGet logged in Admin > Diagnostic Center?

      posted in Support
      atripp
      atripp
    • RE: ProGet: login not working anymore after upgrading to 22.0.2

      Hi @a-diessl ,

      To simplify things, I'd recommend just hosting ProGet in IIS and using ACME/LetsEncrypt... if you don't already have HTTPS.

      I can't answer why the domain is being set, that's just something the hosting framework seems to do, and it hasn't been an issue (for Linux users) until now.

      We'll definitely consider changing if it becomes more of an issue...

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet: login not working anymore after upgrading to 22.0.2

      Thanks for the detailed investigation!

      You're right, the cookie domain seems to be the problem.

      We are now using .NET6 on Windows, and I'm guessing that's how you're hosting this? This would have behaved the same on Linux (which was using .NET5 for a long time).

      The cookie domain comes form the hosting framework, and doesn't use Web.BaseUrl. In general, we don't recommend using that anymore, and instead prefer the X-Forwarded-* headers.

      In this case, can you try setting a header value on your reverse proxy to use X-Forwarded-Host: proget.example.com? Then it should work.

      I haven't tested it, but since this is what's generally done on the NGINX proxies, I suspect it's not a problem 🤔

      posted in Support
      atripp
      atripp
    • RE: Azure Blob errors with upgrade to 2022

      Hi @brett-polivka ,

      In ProGet 2022, we upgraded to a completely new version of the Azure SDK, since the old version was long since deprecated. So, it's not unexpected to see issues... though we didn't see these in our testing :)

      I'll do my absolute best to help! Our code doesn't really deal with authentication or access rules; that's all handled by the Azure SDK, which uses that connection string.

      I searched "CannotVerifyCopySource", and a lot of SDK users (including tools like AzCopy) repot this issue when switching to the new SDK/API. I don't know Azure well enough to undersatnd, but some said that it had something to do with "storage account firewall".

      Beyond that, I'm not totally sure how to troubleshoot, but the first thing that comes to mind is the connection string. I'm not sure what to look for, but I know those can get quite complex... and maybe you're using a option that behaves differently in the old vs new sdk? Maybe you need to specify something in the connection string now?

      Here's some docs on connection strings:
      https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string

      The second thing I would try is to create a totally new Azure Blob Container, using the default settings, and a very basic connection string. That should work (that's what we do), and then try to compare/contrast the differences between the containers.

      Please let me know what you find!

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Web folder missing after upgrading to ProGet 22.0.1

      Hi @v-makkenze_6348

      I'm not sure what else to change... how about changing the ".NET CLR Version" to "Integrated" or "No Managed Code".

      The Inedo Hub should automatically do that for you.

      Thanks,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Otter in https instead of http

      Hi @marcelo-carvalho_9635 ,

      In this case, you'll want to switch to IIS hosting:
      https://docs.inedo.com/docs/various-iis-switching-to-iis

      You may find it easier to uninstall/install as well (note: the database will remain the same, and nothing is deleted).

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Otter in https instead of http

      Hi @marcelo-carvalho_9635 ,

      This is configured outside of Otter, and is handled by the web server - either IIS (Windows) or nginx (Linux/Docker).

      Getting HTTPS on Windows is "relatively easy" - you can use something like WInACME to install a LetsEncrypt certificate, or you can install one issued by your organization. We don't yet have step-by-step documentation on how to do this , but it's something we're writing.

      Here is instructions for Linux:
      https://docs.inedo.com/docs/https-support-on-linux

      Is that helpful? Please let me know :)

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: How do I monitor a simple SVN repository that has no branches?

      Hi @Panda ,

      That sounds like a great idea; I'm afraid we won't have the resources to add this in the coming weeks (we have some really cool stuff planned for BuildMaster 2022 that we're working on now).

      The easiest way to do local-development on the extension is to get the source code from GitHub, then build it into dll. Then, construct a new version of the Subversion.upack file with your DLL, and replace the one in the existing extensions folder. From there, restart the web/service, and your version should load instead.

      If you add properties to SvnRepositoryMonitor.cs that look like the other properties, they should show-up in the UI and be configurable.

      Let us know what you come up with, and we can definitely merge in the code and release a new version with your changes.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Package not found restoring from ProGet but works from nuget.org

      Hi @bbrown2_8761 ,

      It's a bug in Visual Studio's NuGet client I'm afraid and it's not something we can realistically work-around 😢

      You could post it in the NuGet issues, and they may fix it in a future version; https://github.com/NuGet/Home/issues

      It's really easy to reproduce, and they've definitely fixed issues like this in the past.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • 1
    • 2
    • 17
    • 18
    • 19
    • 20
    • 21
    • 36
    • 37
    • 19 / 37