JSS 9.23 issues uploading Scripts

ragnar86
New Contributor

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.

1 ACCEPTED SOLUTION

Josh_S
Contributor III

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.

View solution in original post

3 REPLIES 3

Josh_S
Contributor III

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.

ragnar86
New Contributor

Yep, that was the fix. Thanks!

greatkemo
Contributor II

Yep, i am getting this issue too, red hat jss on 9.23, just about to update to 9.24 hope this resolves the issue.

If not, will try your method.

Kamal