Casper Admin upload for large packages fails

charliwest
Contributor II

Anyone having issues uploading large file to Casper Admin?

We use JDS as our distribution platform, when uploading the Mavericks installer it fails with an error 500, which I can't find any details of, also logs look ok.

Any ideas? I did find about manually adding a file then running sudo jamfds inventory, but this seems like a walk around not a fix.

1 ACCEPTED SOLUTION

charliwest
Contributor II

This turned out to be space issue, as I didn't know it copied to a different location when uploading, then moves it into the DB, then to the jds so for large files you need space in 3 locations....

It was then failing as the DB was 'dirty' so a clean up fixed that.

View solution in original post

3 REPLIES 3

charliwest
Contributor II

This turned out to be space issue, as I didn't know it copied to a different location when uploading, then moves it into the DB, then to the jds so for large files you need space in 3 locations....

It was then failing as the DB was 'dirty' so a clean up fixed that.

sbrage
New Contributor

I'm having the same problem - were there specific locations you needed to add space to?

charliwest
Contributor II

Yep, there is a few locations actually (unfortunately). Firstly it uploads to your tomcat temp, if using the default install on linux its here /usr/local/jss/tomcat/temp, it then puts this into the database, so wherever your db is will need the space as well, then finally it copies into your JDS /tmp dir, there is a feature request to be able to change this https://jamfnation.jamfsoftware.com/featureRequest.html?id=1886

Then from your JSS if you go to computer management, JDS, then change to grid view you can see how the propagation it going to your JDS's. Once its complete best to do a bit of clean up on your DB, something like

mysqlcheck -u root -p --repair --optimize --databases jamfsoftware

Good luck with it