Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    How to change Proget's Temporary Upload Path for S3 uploads

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 11 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kenneth.garza_2882
      last edited by

      Heya,

      So i am using the s3 backend for all of my feeds. Recently packages stopped uploading to the server to find that the disk for the server was full. (it was IIS logs, not related to proget).

      It makes sense that when a package is uploaded to Proget its first stored on the local disk before synced to the s3 bucket. However, the concern is that this temp storage area is on the OS drive. I'd like to move this to a data drive.

      I looked in the Administration -> Advanced settings to see if there was an obvious setting for this but does not appear so.

      I am currently using Version 6.0.15 (Build 2)

      Thanks

      Kenneth Garza

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @kenneth.garza_2882
        last edited by

        Hi @kenneth-garza_2882 ,

        ProGet uses temp files for a number of things, including buffering uploads like this.

        This shouldn't cause any space problems, as ProGet will delete these files upon successful use, and Windows can automatically cleanup files that failed to upload. Relatively speaking it's a small amount of temporary space compared to everything else in there.

        If you're worried about using a system drive for temporary files, you can change the App Pool User's Profile path, or just the temporary path:
        https://www.howtogeek.com/285710/how-to-move-windows-temporary-folders-to-another-drive/

        Cheers,
        Alana

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kenneth.garza_2882 @atripp
          last edited by

          @atripp Thank you for this information. To clarify, you're suggesting that the temp folder for buffering uploads is actually the proget's iis service account temp folder?

          If so that makes things simple to move, as you suggested.

          Thanks

          Kenneth Garza

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @kenneth.garza_2882
            last edited by

            Hi @kenneth-garza_2882 ,

            That should be the case, under the hood, ProGet is using this API:
            https://learn.microsoft.com/en-us/windows/win32/fileio/creating-and-using-a-temporary-file

            According to the docs for GetTempPath, the first path found will be used:

            1. The path specified by the TMP environment variable.
            2. The path specified by the TEMP environment variable.
            3. The path specified by the USERPROFILE environment variable.
            4. The Windows directory.

            So it seems there's many way to specify this.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation