Skip to main content
Solved

Auto Update Magic for JSS in the Cloud

  • August 19, 2015
  • 12 replies
  • 29 views

Forum|alt.badge.img+8

Does anyone know if there is a version of Auto Update Magic/AutoPkgr for those of us that use JSS in the cloud? I was digging around yesterday and couldn't find much info on it.

Thanks!!!

Best answer by elliotjordan

@Shawn.Waller Give it a shot with AutoPkgr 1.3.1, which landed yesterday.

12 replies

charliwest
Forum|alt.badge.img+9
  • Contributor
  • 130 replies
  • August 19, 2015

You can use JSS-Importer with cloud jss I believe, although we don't use cloud only local. Then you can use autopkgr and AUM with it anyway and just use JSS-Importer to push your packages up to the cloud.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 33 replies
  • August 19, 2015

Thats what i thought but i couldn't get it to connect to the JSS. Unless there is a different URL to use on JSS Importer.


charliwest
Forum|alt.badge.img+9
  • Contributor
  • 130 replies
  • August 19, 2015

Should be your normal URL you use to access it, can you web browse to it from the box you run autopkg on?


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 33 replies
  • August 19, 2015

Yeah i tried the normal URL and it just gives an error that it cant connect. I can browse the site just fine in Safari or Chrome on the same computer. I think @adamcodega had a different version last time but i havent seen anything lately.


elliotjordan
Forum|alt.badge.img+12
  • Valued Contributor
  • 143 replies
  • August 20, 2015

@Shawn.Waller, what's your master distribution point configuration?

JSS in the cloud with master JDS or file share distribution points should work with JSSImporter today. JSS in the cloud with cloud distribution points will work soon.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 33 replies
  • August 20, 2015

i have JSS in the cloud with File Share DP's


elliotjordan
Forum|alt.badge.img+12
  • Valued Contributor
  • 143 replies
  • Answer
  • August 20, 2015

@Shawn.Waller Give it a shot with AutoPkgr 1.3.1, which landed yesterday.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 33 replies
  • August 20, 2015

That totally worked!!


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 33 replies
  • August 20, 2015

Now that i have it working it connects and sets up the Distribution points but when i go to Run the Recipe's it gives an error.

A Python exception occurred during the execution of autopkg, see the system log for more details.

[ERROR] jss.exceptions.JSSGetError: Response Code: 404 Response:


ega
Forum|alt.badge.img+16
  • Valued Contributor
  • 141 replies
  • August 20, 2015

So I run this setup all the time with a cloud instance. One thing I have found is that it is important to use are url that forces the port number like https://yourjss.jamfcloud.com:443/

Also you will want to triple check your permissions on the JSS user.


elliotjordan
Forum|alt.badge.img+12
  • Valued Contributor
  • 143 replies
  • August 20, 2015

@Shawn.Waller If you get a 404 error, try running the same recipe a second time. The API sometimes chokes while uploading the icon file, but subsequent runs usually work.

If you run the recipe in Terminal, you may see icon.save() in the traceback. That's a sure sign that the above behavior is occurring.


Forum|alt.badge.img+6
  • Contributor
  • 47 replies
  • August 21, 2015

I got a 404 on some updates that it was trying to package. I found more info about the error by turning on email alerts. My hangup was TextWrangler causing the 404.