Closed damacguy closed 3 years ago
?SMB or AFP share? Anything in the log? Hold the option key while clicking the List button, does the share appear?
From: Chris Waldrip @.***> Sent: Tuesday, May 4, 2021 5:12 PM To: BIG-RAT/jamfcpr Cc: Subscribed Subject: [BIG-RAT/jamfcpr] Can't connect (#5)
Not sure what I'm doing wrong. On-prem source server https://:8443/ with known admin username and password that works through the web UI and Jamf Admin, but when I try to get a list of files in jamfcpr I get "No packages found. Please verify server, username, and password are correct."
Is there something obvious I'm missing? [Screen Shot 2021-05-04 at 5 10 30 PM]https://user-images.githubusercontent.com/7740383/117070525-d7aadd00-acfb-11eb-96e9-dd7fe350e921.png
- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/BIG-RAT/jamfcpr/issues/5, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJYQF6N6G6ONQ4JJDXOZITTMBPNHANCNFSM44DOTC6Q.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/BIG-RAT/jamfcpr/issues/5", "url": "https://github.com/BIG-RAT/jamfcpr/issues/5", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Source is SMB. Nothing with the option key. Here's a log file I just took with the same server/user/password settings as the previous screenshot. Both users have full admin rights, fwiw.
20210505_112529 -------------------------------------------------------
20210505_112529 - jamfcpr Version: 1.0.2 Build: 1
20210505_112529 -------------------------------------------------------
20210505_112529 [directoryOrServer] sourceTextFieldPrefix: http
20210505_112529 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210505_112529 [directoryOrServer] source: server
20210505_112539 [ViewController replicate_Button] Parameters.downloadOption: Options
20210505_112539 [directoryOrServer] sourceTextFieldPrefix: http
20210505_112539 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210505_112539 [directoryOrServer] source: server
20210505_112540 [betweenTags] Nothing found between <packages> and </packages>.
20210505_112540 [betweenTags] Nothing found between <cloudDistributionPoints> and </cloudDistributionPoints>.
20210505_112540 [ViewController-replicate_Button] destination server full package info: [:]
20210505_112540 [ViewController-replicate_Button] destination server package info: [:]
20210505_112540 [ViewController-replicate_Button] JCDS info: [:]
20210505_112540 replicate from JCDS
20210505_112553 [directoryOrServer] sourceTextFieldPrefix: http
20210505_112553 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210505_112553 [directoryOrServer] source: server
20210505_112553 [ViewController.reloadFileList] source: server
20210505_112553 [ViewController.reloadFileList] display packages from server
20210505_112553 [ViewController.reloadFileList] webPackages: []
20210505_112553 [ViewController.reloadFileList] call packageTableView.reloadData()
20210505_112553 [betweenTags] Nothing found between <fileservers> and </fileservers>.
20210505_112553 [betweenTags] Nothing found between <cloudDistributionPoints> and </cloudDistributionPoints>.
20210505_112553 JcdsServerXml: <cloudDistributionPoints></cloudDistributionPoints>
20210505_112553 [betweenTags] Nothing found between <packages> and </packages>.
20210505_112553 [ListCloudPackages-casperJxmlGet] xmlData: <packages></packages>
20210505_112553 [betweenTags] Nothing found between <cloudDistributionPoints> and </cloudDistributionPoints>.
20210505_112553 [betweenTags] Nothing found between <packages> and </packages>.
20210505_112553 [ListCloudPackages-casperJxmlGet] packageData: <packages></packages>
20210505_112553 [ListCloudPackages-casperJxmlGet] self.packagesDict: [:]
20210505_112553 [JcdsDelegate] serverArray: []
20210505_112553 [ListPackages.casperJxmlGet] No packages found. Please verify server, username, and password are correct.
20210505_112556 [VewController.list_Button] self.mountedShare: file://
20210505_112556 [ViewController.representedObject] directory: Directory(files: [], url: Packages -- file:///)
20210505_112556 [directoryOrServer] sourceTextFieldPrefix: http
20210505_112556 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210505_112556 [directoryOrServer] source: server
20210505_112556 [ViewController.reloadFileList] source: server
20210505_112556 [ViewController.reloadFileList] display packages from server
20210505_112556 [ViewController.reloadFileList] webPackages: []
20210505_112556 [ViewController.reloadFileList] call packageTableView.reloadData()
20210505_112556 [VewController.list_Button] server self.representedObject: Packages -- file:///
Added some additional logging to see if we can't find the issue. If you can share some log info when holding down the option key while clicking list. Like to see if you get anything similar to: 20210512_052429 [VewController.list_Button] using option key 20210512_052429 [AuthCheck.validate] Start task 20210512_052429 [AuthCheck.validate] Authenticated to https://manage.domain.local:8443 20210512_052429 [ListPackages] using option key 20210512_052429 [JxmlDelegate] checking dp01.my.domain 20210512_052429 [JxmlDelegate] checking primary.my.domain 20210512_052429 [JxmlDelegate] checking webshare.my.domain
Where it should list the distribution point(s) available.
Thanks for the new build. Downloaded, launched, verified my server and credentials, and held option and clicked list. Similar issue. Here are the logs...
20210513_133246 -------------------------------------------------------
20210513_133246 - jamfcpr Version: 2.0.0 Build: 1
20210513_133246 -------------------------------------------------------
20210513_133246 [directoryOrServer] sourceTextFieldPrefix: http
20210513_133246 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210513_133246 [directoryOrServer] source: server
20210513_133258 [ViewController replicate_Button] Parameters.downloadOption: Options
20210513_133258 [directoryOrServer] sourceTextFieldPrefix: http
20210513_133258 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210513_133258 [directoryOrServer] source: server
20210513_133258 [ViewController.fetchPackageList] fetching destination JCDS information
20210513_133258 [JcdsDelegate.uploadInfo] Start task
20210513_133300 [JcdsDelegate.betweenTags] Nothing found between tags.
20210513_133300 [JcdsDelegate.betweenTags] Nothing found between tags.
20210513_133300 [JcdsDelegate.betweenTags] Nothing found between tags.
20210513_133300 [JcdsDelegate.betweenTags] Nothing found between tags.
20210513_133304 [directoryOrServer] sourceTextFieldPrefix: http
20210513_133304 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210513_133304 [directoryOrServer] source: server
20210513_133304 [ViewController.reloadFileList] source: server
20210513_133304 [ViewController.reloadFileList] display packages from server
20210513_133304 [ViewController.reloadFileList] webPackages: []
20210513_133304 [ViewController.reloadFileList] call packageTableView.reloadData()
20210513_133304 [VewController.list_Button] using option key
20210513_133304 [AuthCheck.validate] Start task
20210513_133304 [ListPackages.betweenTags] Nothing found between <fileservers> and </fileservers>.
20210513_133304 [ListPackages.betweenTags] Nothing found between <cloudDistributionPoints> and </cloudDistributionPoints>.
20210513_133304 JcdsServerXml: <cloudDistributionPoints></cloudDistributionPoints>
20210513_133304 [ListPackages.betweenTags] Nothing found between <packages> and </packages>.
20210513_133304 [ListCloudPackages-casperJxmlGet] xmlData: <packages></packages>
20210513_133304 [ListPackages.betweenTags] Nothing found between <cloudDistributionPoints> and </cloudDistributionPoints>.
20210513_133304 [ListPackages.betweenTags] Nothing found between <packages> and </packages>.
20210513_133304 [ListCloudPackages-casperJxmlGet] packageData: <packages></packages>
20210513_133304 [ListCloudPackages-casperJxmlGet] self.packagesDict: [:]
20210513_133304 [JcdsDelegate] serverArray: []
Odd how it went from
20210513_133304 [AuthCheck.validate] Start task
to
20210513_133304 [ListPackages.betweenTags] Nothing found between
??without either validating of showing a login failure. Have to dig a bit more.
From: Chris Waldrip @.***> Sent: Thursday, May 13, 2021 1:34 PM To: BIG-RAT/jamfcpr Cc: Leslie N. Helou; Comment Subject: Re: [BIG-RAT/jamfcpr] Can't connect (#5)
Thanks for the new build. Downloaded, launched, verified my server and credentials, and held option and clicked list. Similar issue. Here are the logs...
20210513_133246 -------------------------------------------------------
20210513_133246 - jamfcpr Version: 2.0.0 Build: 1
20210513_133246 -------------------------------------------------------
20210513_133246 [directoryOrServer] sourceTextFieldPrefix: http
20210513_133246 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210513_133246 [directoryOrServer] source: server
20210513_133258 [ViewController replicate_Button] Parameters.downloadOption: Options
20210513_133258 [directoryOrServer] sourceTextFieldPrefix: http
20210513_133258 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210513_133258 [directoryOrServer] source: server
20210513_133258 [ViewController.fetchPackageList] fetching destination JCDS information
20210513_133258 [JcdsDelegate.uploadInfo] Start task
20210513_133300 [JcdsDelegate.betweenTags] Nothing found between tags.
20210513_133300 [JcdsDelegate.betweenTags] Nothing found between tags.
20210513_133300 [JcdsDelegate.betweenTags] Nothing found between tags.
20210513_133300 [JcdsDelegate.betweenTags] Nothing found between tags.
20210513_133304 [directoryOrServer] sourceTextFieldPrefix: http
20210513_133304 [directoryOrServer] userDefaults.object(forKey: "share"): unmounted
20210513_133304 [directoryOrServer] source: server
20210513_133304 [ViewController.reloadFileList] source: server
20210513_133304 [ViewController.reloadFileList] display packages from server
20210513_133304 [ViewController.reloadFileList] webPackages: []
20210513_133304 [ViewController.reloadFileList] call packageTableView.reloadData()
20210513_133304 [VewController.list_Button] using option key
20210513_133304 [AuthCheck.validate] Start task
20210513_133304 [ListPackages.betweenTags] Nothing found between
20210513_133304 [ListPackages.betweenTags] Nothing found between
20210513_133304 JcdsServerXml:
20210513_133304 [ListCloudPackages-casperJxmlGet] xmlData:
20210513_133304 [ListPackages.betweenTags] Nothing found between
20210513_133304 [ListPackages.betweenTags] Nothing found between
20210513_133304 [ListCloudPackages-casperJxmlGet] packageData:
20210513_133304 [ListCloudPackages-casperJxmlGet] self.packagesDict: [:] 20210513_133304 [JcdsDelegate] serverArray: []
- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/BIG-RAT/jamfcpr/issues/5#issuecomment-840715184, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJYQF4RDP5WN7NKPKYY7PDTNQETBANCNFSM44DOTC6Q.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/BIG-RAT/jamfcpr/issues/5#issuecomment-840715184", "url": "https://github.com/BIG-RAT/jamfcpr/issues/5#issuecomment-840715184", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Do you have SSO enabled? If so by-pass also needs to be enabled.
Nope... just plain username/password. :(
I am having a similar issue. The packages list shows up for the source DP (AFP share) but am getting the error:
"Unable to retrieve upload information for destination server. JCDS must be selected as the principal distribution point and currently is not."
The destination is the principal DP though so I do not really understand this message. Any other suggestions appreciated.
Has anything been uploaded to the destination Jamf Cloud Distribution Server yet?
On Jun 17, 2021, at 5:05 PM, jshirle2 @.***> wrote:
I am having a similar issue. The packages list shows up for the source DP (AFP share) but am getting the error:
"Unable to retrieve upload information for destination server. JCDS must be selected as the principal distribution point and currently is not."
The destination is the principal DP though so I do not really understand this message. Any other suggestions appreciated.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/BIG-RAT/jamfcpr/issues/5#issuecomment-863563261, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJYQF4UUIRMSTECDHINP7TTTJPS3ANCNFSM44DOTC6Q.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/BIG-RAT/jamfcpr/issues/5#issuecomment-863563261", "url": "https://github.com/BIG-RAT/jamfcpr/issues/5#issuecomment-863563261", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Yes. I used AutoPKGR to upload packages a while ago. If it makes a difference I have been using JAMF Admin to mount the share and point to it via the folder option for the source.
@jshirle2 - just noticed if SSO is enabled and Replicate is clicked before Compare I get the same results you're seeing. Are you by chance using SSO?
@BIG-RAT Hi there. jshirle2 is out this week, but I'm a coworker with him. Yes, we have SSO enabled, but things like autopkgr and other API based stuff doesn't get blocked by this.
Thanks!
@damacguy - found an issue when some special characters were in the password. Let me know if things improve in v3.0.0
@jshirle2 / @staze - Wondering if you get the error when clicking Compare, and if v3.0.0 runs any better.
@BIG-RAT can confirm 3.0.0 fixes the issue. It's syncing now. =)
Hi There, Having similar issues. Just trying to use Jamfcpr to download individual packages. Using jamf cloud as the source. We dont have SSO, only LDAP. The tool refuses to list the apps. tried Versions 2.2.0 and 3.0 and 3.1. all the same. it used to work with version 2.1 which i was using back in May.
the only issue i can see in the log is
20210701_095451 [ListPackages.betweenTags] Nothing found between
Jamf responds with the XML with the package list etc. it looks like it runs through the list correctly and tries to load but doesnt give any errors to indicate anything went wrong.
Anything show if you click the name or size column header? After List of course.
Ah! yes, Thanks. Weird. something funky with cache perhaps. Now when i close and reopen the app its fine.
Packages now display without clicking either column.
@jshirle2 / @staze - Wondering if you get the error when clicking Compare, and if v3.0.0 runs any better.
Hello, We are receiving the same issue as Jshirle2 and staze was. We get the same error "Unable to retrieve upload information for the destination server. JCDS must be selected as the principal distribution point and currently is not" even when we click compare. It does see the packages and their names and list them, we just can't get them to move over.
Packages upload through the web interface without issue?
Not sure what I'm doing wrong. On-prem source server https://:8443/ with known admin username and password that works through the web UI and Jamf Admin, but when I try to get a list of files in jamfcpr I get "No packages found. Please verify server, username, and password are correct."
Is there something obvious I'm missing?![Screen Shot 2021-05-04 at 5 10 30 PM](https://user-images.githubusercontent.com/7740383/117070525-d7aadd00-acfb-11eb-96e9-dd7fe350e921.png)