{"id":1801,"date":"2014-01-14T11:33:59","date_gmt":"2014-01-14T11:33:59","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=1801"},"modified":"2014-01-14T23:10:41","modified_gmt":"2014-01-14T23:10:41","slug":"stop-casper-9-storing-scrips-in-the-db-and-zipping-non-flat-packages","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=1801","title":{"rendered":"Stop Casper 9 storing scripts in the DB and Zipping non flat packages"},"content":{"rendered":"<p>In Casper 9, the default settings are to use a JDS style store of scripts into the JSS DB and Zipping non flat PKG&#8217;s<\/p>\n<p>Iy you wish to return this to the old Casper 8 system do the following<\/p>\n<p>1. Backup the Database<\/p>\n<p>2. Remove all zipped pkg&#8217;s and scripts from the JSS using Casper Admin<\/p>\n<p>3. Stop Tomcat on all servers attached to the DB, That includes all cluster nodes<\/p>\n<p>4. Connect to your Mysql server using<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">mysql -u root -p<\/div><\/div>\n<p>5. Select your JSS database in mysql<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">use jamfsoftware;<\/div><\/div>\n<p>6. Change the flag that controls the JSS package behavour<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">update distribution_technology_settings set script_migration_complete = 0;<\/div><\/div>\n<p>7.  Restart MySQL<\/p>\n<p>8.  Restart Tomcat on all servers and nodes<\/p>\n<p>Following this you should see a &#8216;Migrate&#8217; option in Casper Admin.<\/p>\n<p>Please note that if this button is pressed again you will get a warning message and if executed all scripts will revert to the database, and non-flat packages compressed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Casper 9, the default settings are to use a JDS style store of scripts into the JSS DB and Zipping non [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1801","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1801"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1801\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}