fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
2.94k stars 409 forks source link

Unable to upload seperate package versions or update apps #20834

Closed pacamaster closed 1 month ago

pacamaster commented 1 month ago

Fleet version: <!-- Copy this from the "My account" page in the Fleet UI, or run fleetctl --version --> 4.54.1 Web browser and operating system: Current browser and OS


💥  Actual behavior

When trying to upload packages for cloudflareWARP, unable to do different versions or update to new version. Need to delete and remove from Fleet to upload a new one

🧑‍💻  Steps to reproduce

  1. Download an older version of Cloudflare WARP such as Cloudflare_WARP_2024.3.444.0.pkg
  2. Upload to Fleet and observe it correctly parsed as Cloudflare WARP.app
  3. Download a newer/current version of Cloudflare WARP, Cloudflare_WARP_2024.6.416.0.pkg
  4. Attempt to upload to Fleet and observe the SoftwareInstaller "Cloudflare WARP.app" already exists error image

🕯️ More info (optional)

Believe might be due to the versioning of this package not being directly included. Cloudflare does it in the filename. The default behavior should be to keep the existing software and associate a new package. Packages do not exactly equal apps.

JoStableford commented 1 month ago

Related to a Slack conversation

sharon-fdm commented 1 month ago

@lukeheath @georgekarrv , this looks to me like similar area to what we do so I applied EOPs label. Feel free to change to MDM.

lukeheath commented 1 month ago

@sharon-fdm This is actually software self-service (uploading your own packages), which the MDM group built so I'm sending this their way.

@pacamaster This is expected behavior. The current workflow is to first delete the package before uploading a new one. I agree it feels buggy from a UX perspective, so I'm going to send this bug to the drafting board for designers to review the workflow.

noahtalerman commented 1 month ago

When trying to upload packages for cloudflareWARP, unable to do different versions or update to new version. Need to delete and remove from Fleet to upload a new one

Hey @pacamaster this is the current expected, frustrating behavior.

I confirmed w/ the customer that what we're planning on building in the "Edit software" (#20404) story will satisfy the workflow described in this issue.

See the Slack thread here (internal).

Closing this issue.

cc @Patagonia121 @lukeheath @sharon-fdm

fleet-release commented 1 month ago

With each update's dawn, Fleet adapts, like clouds in flight. No app left forlorn.