jamf / mut

MIT License
133 stars 11 forks source link

On completing some changes in csv #11

Closed LehmanITR closed 5 years ago

LehmanITR commented 6 years ago

I have used MUT successfully a number of times, but with a csv with 57 entries, it only completed 12 and gave a 409 error on rest. It threw the error on first 8 then completed task on 5, etc, etc.

What is 409 error and is there a number of entries limit?

mike-levenick commented 6 years ago

Hello @LehmanITR . 409 is "conflict" and it can be caused by a number of different things.

There should not be a limit, especially not at ~57 entries--there are folks who use MUT to update thousands of lines.

If you are getting conflict errors on some lines, I suggest enabling "advanced debugging" in the menu bar at the top, then running the updates again, and then saving the log file and posting it here (or just copy and paste the contents out of the text box in MUT).

What are you trying to update? The top of the log file/text output should tell us that as well, which will be hugely helpful. Just copy and paste the WHOLE output, and I'll take a look.

LehmanITR commented 6 years ago

URL: https://jss.xxxxxx.xxx:8443/ Credentials Successfully Verified.

Device Type: macOS Devices ID Type: Serial Number Attribute Type: ADD TO macOS Static Group

CSV: /Users/mike/Desktop/57 Computers in All Art.csv Found 58 rows in the CSV.

Example row from your CSV: SerialNumber: C02NT8D2FY14, ADD TO macOS Static Group: 165

================================================== Please review the above information. If everything looks good, press the submit button. Otherwise, please verify the dropdowns and your CSV file and run another pre-flight check.

CSV: /Users/mike/Desktop/57 Computers in All Art.csv Found 58 rows in the CSV.

Example row from your CSV: SerialNumber: C02NT8D2FY14, ADD TO macOS Static Group: 165

Device Type: macOS Devices ID Type: Serial Number Attribute Type: ADD TO macOS Static Group

Beginning Update Run!

Full Response Data:

Status page

Not Found

The server has not found anything matching the request URI

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber Serial Number - Failed! - 404!

HTTP 404 means 'not found'. There is no device with serialnumber Serial Number enrolled in Jamf Pro.

Full Response Data:

Status page

Conflict

Error: Computer (ID:564, Name:c42A-5k03) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C02NT8D2FY14 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:1202, Name:FA_009_X6762) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C02T72ELGG77 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:1243, Name:FA_009JE) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C02TKAPVGVC1 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:1197, Name:FA_014_X6796) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C02T72ATGG77 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:1239, Name:FA_014_X6796) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25TL090GQ18 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:1196, Name:FA_017X8258) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C02T72F0GG77 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:1203, Name:FA_034_X8889) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25TL0RFGQ18 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:1205, Name:FA_045_8260) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25TL0M9GQ18 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:887, Name:FA_M8X7732) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C17K5A0DDNCR - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:998, Name:FA_M9X7860) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C17KC3E4DNCR - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:484, Name:fa004-p1) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0RGF8J7 - Failed! - 409! Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber QP052168DNR - OK! - 201 Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber C07M2A5DDWYL - OK! - 201 Full Response Data:

Status page

Conflict

Error: Computer (ID:1204, Name:fa004-p6) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25TL0KSGQ18 - Failed! - 409! Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25M40CTF8J8 - OK! - 201 Full Response Data:

Status page

Conflict

Error: Computer (ID:456, Name:fa006-r1c1) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QYF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:464, Name:fa006-r1c2) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QCF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:784, Name:fa006-r2c1) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0R8F8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:783, Name:fa006-r2c2) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0PEF8J7 - Failed! - 409! Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25M40CWF8J8 - OK! - 201 Full Response Data:

Status page

Conflict

Error: Computer (ID:471, Name:fa006-r2c4) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0R2F8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:457, Name:fa006-r2c5) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QTF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:462, Name:fa006-r2c5) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QQF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:459, Name:fa006-r3c1) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0D9F8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:460, Name:fa006-r3c2) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0RCF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:461, Name:fa006-r3c3) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QGF8J7 - Failed! - 409! Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25NR0REF8J7 - OK! - 201 Full Response Data:

Status page

Conflict

Error: Computer (ID:463, Name:fa006-r4c1) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QWF8J7 - Failed! - 409! Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25M40D2F8J8 - OK! - 201 Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25NR0R6F8J7 - OK! - 201 Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25NR0RDF8J7 - OK! - 201 Full Response Data:

Status page

Conflict

Error: Computer (ID:468, Name:fa047-c1p2) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QDF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:479, Name:fa047-c1p3) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0RHF8J7 - Failed! - 409! Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25M40GGF8J8 - OK! - 201 Full Response Data:

Status page

Conflict

Error: Computer (ID:478, Name:fa047-c2p1) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0R1F8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:495, Name:fa047-c2p2) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0R4F8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:475, Name:fa047-c2p3) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QJF8J7 - Failed! - 409! Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25M40D1F8J8 - OK! - 201 Full Response Data:

Status page

Conflict

Error: Computer (ID:469, Name:fa047-c3p1) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0R7F8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:470, Name:fa047-c3p2) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QPF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:473, Name:fa047-c3p3) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QEF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:786, Name:fa047-c3p4) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QNF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:481, Name:fa047-c4p1) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0RAF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:482, Name:fa047-c4p2) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0R5F8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:472, Name:fa047-c4p3) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QVF8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:477, Name:fa047-c4p4) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0QLF8J7 - Failed! - 409! Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber D25M40CYF8J8 - OK! - 201 Full Response Data: <?xml version="1.0" encoding="UTF-8"?>165

Device with serialnumber W89118060TG - OK! - 201 Full Response Data:

Status page

Conflict

Error: Computer (ID:755, Name:FA112X8887MB) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C1MM336BDV30 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:773, Name:fa119-Gillison) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber W80237HM5PC - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:661, Name:FA123GDH) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25GH0XCDPNK - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:936, Name:FA123GDH2) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C02M42FMF6T6 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:483, Name:fa129-c3) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25NR0D3F8J7 - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:753, Name:FAM11X8732HBL) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25QN0M8GG7D - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:999, Name:FAM8X8731) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber C02KW52RDNCR - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:872, Name:SH158B-iMac) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber QP0341CQDNN - Failed! - 409! Full Response Data:

Status page

Conflict

Error: Computer (ID:1034, Name:SH161X7145) is not site-enabled for this site

You can get technical details here.
Please continue your visit at our home page.

Device with serialnumber D25RK0W0GG7D - Failed! - 409!

LehmanITR commented 6 years ago

I see that the error is from device not site enabled. But since what I am doing does not have to do with sites why is that causing error?

LehmanITR commented 6 years ago

I posted that info to discussion in Github and my account go flagged. The advanced debugging said computers that go 409 error were site enabled. I was not doing anything about sites. I was moving computers from smart group to static group. Why would it throw that error.

Mike Shur | Apple Systems Administrator Lehman College, CUNY | Information Technology Division 718-960-8708 | http://www.lehman.edu

IT Staff will never ask for your password. Never provide your password to anyone by phone or by replying to/clicking on an email link.

On Oct 31, 2017, at 11:04 AM, Mike Levenick notifications@github.com<mailto:notifications@github.com> wrote:

Hello @LehmanITRhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_lehmanitr&d=DwMFaQ&c=tzSjEhL4u5XIh9GXWARTsBI31pp--h2kWBIadC1LS_M&r=ikivzZ-w4bKVt6dt8ofDCXBWXRHDw1U5c5HiTef7gME&m=bZIMXkCA3LqpWP-UBK06PMMJi4fw1vQ_H_OWxWqwCtc&s=Urzz_HnQliXlDOHBLpHLcMjIZMgfRJMRdUSbh6Mzpmw&e= . 409 is "conflict" and it can be caused by a number of different things.

There should not be a limit, especially not at ~57 entries--there are folks who use MUT to update thousands of lines.

If you are getting conflict errors on some lines, I suggest enabling "advanced debugging" in the menu bar at the top, then running the updates again, and then saving the log file and posting it here (or just copy and paste the contents out of the text box in MUT).

What are you trying to update? The top of the log file/text output should tell us that as well, which will be hugely helpful. Just copy and paste the WHOLE output, and I'll take a look.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_mike-2Dlevenick_mut_issues_11-23issuecomment-2D340791396&d=DwMFaQ&c=tzSjEhL4u5XIh9GXWARTsBI31pp--h2kWBIadC1LS_M&r=ikivzZ-w4bKVt6dt8ofDCXBWXRHDw1U5c5HiTef7gME&m=bZIMXkCA3LqpWP-UBK06PMMJi4fw1vQ_H_OWxWqwCtc&s=wCi6ZuzYCsFpS7hFCDmo2R92QxqXQEte1TW8nMZ9U9o&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ANDDNNSEN3IdPl8Mr-2DUFxUfDDS-2Dbm7PMks5sxzb9gaJpZM4QM4F6&d=DwMFaQ&c=tzSjEhL4u5XIh9GXWARTsBI31pp--h2kWBIadC1LS_M&r=ikivzZ-w4bKVt6dt8ofDCXBWXRHDw1U5c5HiTef7gME&m=bZIMXkCA3LqpWP-UBK06PMMJi4fw1vQ_H_OWxWqwCtc&s=7Kfyu2YH8DtuUj58B9KTjzEokl9C2C3A_1Mrb6xiQp8&e=.

mike-levenick commented 6 years ago

Hello, not sure why the account would get flagged, perhaps from the email signature stuff?

Anyways, regarding the MUT issues, is there a chance that the static group you created was inside a Site in Jamf Pro?

When you say you're not doing anything with sites, do you mean that you don't have them in Jamf Pro at all, or that you're not trying to change sites with this update run?