02-18-2022 12:49 PM - edited 02-18-2022 12:54 PM
We have Jamf Pro 10.34 hosted on-premises. We have a single server and a single SMB share, running on Windows Server.
We have some files that cannot be downloaded. In Self Service, it says the file cannot be found, but it is there when we check the share and check Jamf Admin. Other files work fine. If we open a browser and just simply put in the URL to files in the share, most work but some do not. On ones that do not download via Self Service, we get this in the logs: Error: Package was not successfully downloaded. -1005
Any help would be appreciated. Thanks.
Posted on 02-18-2022 01:02 PM
@gregbr Check the file permissions on the files uploaded to your SMB share. Jamf Admin doesn't set the permissions on the files uploaded via SMB, so you can end up with files lacking the necessary read permissions.
Also you should really, really, really enable HTTPS on your DP if possible. It will eliminate this problem, speed up downloads (no need to mount the SMB file system), and you get resumable download support so that a single network hiccup doesn't result in a failed download like when using SMB.
Posted on 02-18-2022 01:20 PM
Checking the file permissions, they are the same for the files that work and the files that do not.
Posted on 02-18-2022 07:48 PM
@gregbr Is there _any_ commonality with the files that fail? .pkg or .dmg? If .pkg did you create them in Composer, or are they from the software vendor? Are the file sizes over a common threshold?
Posted on 02-21-2022 10:13 AM
It seems to be just PKG files. They are from a few different vendors and different file sizes (500 KB, 2 MB).
Posted on 02-21-2022 01:13 PM
You really should take the suggestion offered by @sdagley I used to host my distribution point on the server when I ran Jamf Pro on a Mac. This proved problematic since all of the managed Macs were remote. None were on the same network as the server. I started running Jamf Pro on Ubuntu in 2018. Initially I used https on a separate Ubuntu server, but I later switched this to use Amazon Web Services. AWS gives me sustained download speeds of 400-500Mb/s. I tested this on my home internet service which is gigabit. Since switching to AWS there have been no download issues.... that is unless I fudged up the policy.