fleetdm / fleet

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

Unable to upload custom software #23294

Open xpkoala opened 2 hours ago

xpkoala commented 2 hours ago

Fleet version: main

Web browser and operating system:


💥  Actual behavior

I am unable to upload custom software, vpp and fleet-managed uploads are still working.

🧑‍💻  Steps to reproduce

  1. Navigate to your Fleet's /software/add/fleet-maintained?team_id=0 page (for no-team)
  2. Choose custom package
  3. Select a package to upload and hit OK
  4. Various results; but no package will upload

🕯️ More info (optional)

Safari: The package will not be uploaded and the user will be returned to the upload page. Chrome: The package will not be uploaded and the user will be returned to the upload page, a new upload modal will pop-up.

This appears to be file type agnostic, any valid file attempted to be uploaded will hit this snag.

https://www.loom.com/share/aff43525a7b747a29197b14dcddc3bc8

xpkoala commented 2 hours ago

A small update, as seen on the video in the ticket it looks like on Chrome when choosing a secondary file to upload the second file will be targeted for upload.

iansltx commented 2 hours ago

Repro'd the same behavior as @xpkoala: the second upload popup successfully sets the file. Verified with two packages (.deb and .pkg).

xpkoala commented 1 hour ago

I'm unsure if this is specifically related to the double upload behavior seen in the Chrome flow, but after software is uploaded (via the broken flow) and set to be installed on a host, two instances of the installation occurs.

image