Posted on 10-06-2015 04:48 PM
Maybe I am crazy, however, it seems that when I upload anything to my JDS using Casper Admin (version 9.81) the package shows up in the JSS but the corresponding policies fail. Once Casper Admin is closed then reopened it shows the pkg as missing. This issue only recently popped up, has anyone else seen similar issues or have a fix?
Error: the package (blahblah.pkg) could not be found.
Thanks!
Solved! Go to Solution.
Posted on 10-07-2015 04:46 PM
there is a database utility and
https://jamfnation.jamfsoftware.com/article.html?id=175
Posted on 10-06-2015 10:39 PM
I have a similar ticket, JDS 9.62, running on Ubutu, hosted internally
Do you have backups (JSS) scheduled? or run one recently ?
Only happening intermittently for us, still waiting on a root cause / fix
You're not crazy, go ahead and open a case
Posted on 10-07-2015 05:43 AM
Seeing the same thing. Since upgrade to 9.8 packages are missing from Admin, have to re-upload them. Running on a all JDS DP's.
Posted on 10-07-2015 05:54 AM
Is this a problem specifically with JDS or is it also affecting regular AFP/SMB JSS DPs?
Posted on 10-07-2015 07:56 AM
Do you have backups running ?
Have a look at the JSS Information > JSS summary, run one for Database, checking all boxes
Whats the size of downloadable_file_chunk_data ?
We're also running a HTTPs/SMB share, as a work around I've set the packages to download from there in their policies for the packages affected.
Posted on 10-07-2015 11:13 AM
Call your JAMF rep. They may give you directions like the ones below.
This worked great for us.
STEP One
Open Terminal
Your_JDSMacServer:~ localadmin$ ls -al /Library/JDS/shares/
RESULTS
total 8
drwxr-xr-x 6 root wheel 204 Sep 15 08:09 .
drwxr-xr-x 6 root wheel 204 Sep 8 11:21 ..
-rw-r--r-- 1 root wheel 115 Sep 15 08:08 .DAVlogin
drwxr-xr-x+ 212 _www wheel 7208 Sep 15 08:08 CasperShare
drwxr-xr-x 2 root wheel 68 Sep 8 11:21 eBooks
drwxr-xr-x 2 root wheel 68 Sep 8 11:21 mobileDeviceApps
STEP TWO
(This command renames .DAVlogin to .DAVloginold)
(After you rename the accounts
Your_JDSMacServer:~ localadmin$ sudo mv /Library/JDS/shares/.DAVlogin /Library/JDS/shares/.DAVloginold
Verify the change
Your_JDSMacServer:~ localadmin$ ls -al /Library/JDS/shares/
RESULTS
total 8
drwxr-xr-x 6 root wheel 204 Sep 15 08:09 .
drwxr-xr-x 6 root wheel 204 Sep 8 11:21 ..
-rw-r--r-- 1 root wheel 115 Sep 15 08:08 .DAVlogin
drwxr-xr-x+ 212 _www wheel 7208 Sep 15 08:08 CasperShare
drwxr-xr-x 2 root wheel 68 Sep 8 11:21 eBooks
drwxr-xr-x 2 root wheel 68 Sep 8 11:21 mobileDeviceApps
STEP THREE
Edit the JSS/JDS/Distribution/UserName Accounts
Added a 1 to the end of the webDavReadUsername and webDavWriteUsername.
STEP FOUR
Your_JDSMacServer:~ localadmin$ sudo jamfds enroll
JDS Hostname:Your_JDSMacServer.yourdomain.com
JSS Username: yourAdminUser
JSS Password: yourAdminPassword
Hope this leads you in the right direction.
Karl Senger
School District of Milton
Posted on 10-07-2015 01:23 PM
One way I have found of "losing" packages.
Change the package filename
Quit Casper Admin without saving
The filename will change immediately, but the database won't update until you manually save.
Something along these lines is not happening?
Posted on 10-07-2015 01:54 PM
Does running sudo jamfds inventory
help?
The other thing to try is the make sure the permissions on all your packages are set to 755, by running chmod 755 package_name
for your JDS packages.
Posted on 10-07-2015 04:17 PM
@lkrasno Table Row Count: 0 Table size: 5.6GB
@tron_jones If I wait 10 minutes the package works, seems that even through the JSS and JDS say it's fully uploaded there is some back end check that needs to finish. { NOTE: This is after the checksum is already calculated, file uploaded is very small! } If I try to index the index fails and notifies me of the missing file.
@bpavlov I am only using JDS on a Mac
@kwsenger I will look into this and get back.
@jkuo I tried this and will get back.
Thanks for the help, I also reached out to my rep. Will update once a solution is found!
Posted on 10-07-2015 04:27 PM
Are you saying the package appears after 10 minutes? or is disappearing ?
Have you tried uploading through the jss webui? Computer Management > Packages
I would also recommend running a backup to clear out the FileChunk
Posted on 10-07-2015 04:31 PM
@lkrasno Sorry for the misinformation. I have only used Casper Admin, and after 10 minutes it will start working. I haven't throughly tested if that is always the case, I will also see what the results of using the JSS to upload.
Posted on 10-07-2015 04:35 PM
JSS and JDS on separate boxes ?
Not too familiar on MYSQL on OS X, or what hardware you're running, but I probably wouldn't be too concerned if all is well after 10 minutes.
Posted on 10-07-2015 04:39 PM
@lkrasno JDS is running on a separate box then our JSS. I am also not super familiar with MYSQL for OS X as well. I was just banging my head against a wall yesterday...haha
Best way to backup? Do I do it through MYSQL or does jamf provide a binary command?
Thanks again!
Posted on 10-07-2015 04:46 PM
there is a database utility and
https://jamfnation.jamfsoftware.com/article.html?id=175
Posted on 01-15-2016 09:54 AM
Why does this post above, that has nothing to do with the original question, marked as Solved?
This issue is not solved and it continues to happen to me when uploading a package.
Posted on 01-15-2016 10:57 AM
@ostrowsp Have you read the complete thread? Maybe reach out to your TAM ?