Has anyone else noticed an issue when uploading Shell scripts via Casper Admin using 9.23? Each time I try uploading one, Admin throws an "error 500" saying that it could not write to the Master Distribution Point, and after restarting Admin, it will show the scripts name but that it is missing. DMG and PKG files are working correctly.
Solved
JSS 9.23 issues uploading Scripts
Best answer by Josh_S
I suspect you're seeing a variation of the issue mentioned in this post:
https://jamfnation.jamfsoftware.com/discussion.html?id=9706
The workaround is to run the following two commands every time you restart the Tomcat instance, or the whole server, to recreate the temp directory:
mkdir -p /usr/local/jss/tomcat/temp/JSS
chown -R tomcat7:tomcat7 /usr/local/jss/tomcat/temp
This is for automatic RedHat installations. If your tomcat directory is in a different place, you may need to update the paths or the owner/group information.
Update: Script had an extra space. Removed.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
