Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

After syncing SUS with Apple, Server > Last Sync displays a date that appears consistently incorrect. #26

Closed
trevorwagner opened this issue May 8, 2014 · 4 comments

Comments

@trevorwagner
Copy link

On the Software Update Server page (in NetSUS WebAdmin), the value Mar 17 displays consistently Last Sync:, regardless of which day today's date is.

Steps to Reproduce

  1. Run NetSUS (ideally, on a server that is fully updated).
  2. From a Web browser, access NetSUS WebAdmin on the server.
  3. From the WebAdmin sidebar, select Software Update Server.
  4. On the Software Update Server page, click Sync Manually.
  5. If no value appears at first under Last Sync:, refresh the page in the Web browser.

Once I follow these steps, I'm observing that Mar 17 displays consistently as the value for Last Sync:.

Notes

I reproduce this behavior with servers running under CentOS 6.5 and under Ubuntu LTS Server 10.04. I was not able to test with a server running Ubuntu LTS Server 12.04 due to #24.

Every time I reproduced this behavior, I also navigated to Settings > Date & Time and confirmed that the timestamp returned by Date & Time matched the current local system time.

I've tested this each of the last three calendar days. Each day the value that displays is March 17th.

I've reproduced this in Chrome for Mac (version 34.0.1847.131) and Safari 7.0.3 (9537.75.14), under OS X 10.9.1. I have not attempted to reproduce this yet with any other Web browsers. To me it seems like this could be a limited sample group; by testing with more browsers (and on additional platforms), it seems like it should be possible to increase the sample group (and determine whether it might appear that the reproducibility of this behavior is limited by either browser or platform).

It might also be worth noting that when I reproduced this, CentOS and Ubuntu were (each) running in a (separate) VirtualBox (v 4.3.10 r93012) virtual machine, with a host machine running under OS X 10.9.1.

@jschripsema
Copy link

Hello! Thanks for your feedback, I would love to take a look at all of the issues you've submitted and see if I can nail down where the problem is to update the code. Before I begin, can you tell me what version of the installer are you using? Are you using the 3.0 installer linked on the front page, or did you build an updated installer by downloading the repo and then using 'CreateNetSUSInstaller.sh'?

If you haven't tried creating an updated installer, would you mind? I don't recall seeing this as an issue in the 3.0 version, but there have been a number of updates that haven't been merged into a pre-created installer yet.

Also, can you tell me anything about your environment? Specifically, do you have a proxy server that might be blocking connections?

@trevorwagner
Copy link
Author

Hi, jschripsema-

Thanks for the questions. Here are my responses:

You wrote:

Before I begin, can you tell me what version of the installer are you using? Are you using the 3.0 installer linked on the front page, or did you build an updated installer by downloading the repo and then using 'CreateNetSUSInstaller.sh'?

I’m using the standalone installer for version 3.0, linked to from the front page. Here is the URL I’m using to download the installer directly to each test machine:

http://jamfsoftware-content.s3.amazonaws.com/downloads/NetSUS_3.0.run

You also wrote:

If you haven't tried creating an updated installer, would you mind? I don't recall seeing this as an issue in the 3.0 version, but there have been a number of updates that haven't been merged into a pre-created installer yet.

I have not yet tried this. I will try now.

You also wrote:

Also, can you tell me anything about your environment? Specifically, do you have a proxy server that might be blocking connections?

I’m not using any proxies at all. My test machines (Ubuntu, CentOS) are VirtualBox VMs running on OS X 10.9.1 host. Hardware-wise, the host is a Mac Mini is connected to the network via ethernet, and each VM uses an individual bridged connection (they piggy-back on the Mac Mini’s ethernet connection). Neither the host machine nor the guest machines are using a proxy.

As I described in the STR, I’m making sure to update all packages with the package manager (yum/ aptitude) before testing.

Each of the VMs is set to use static IP, and each VM has DNS (resolv.conf) configured individually (manually) for that machine. FWIW the host machine is using static IP, too.

The network configuration of my LAN is pretty standard, as well. No vlan, no local DNS, nothing fancy. It’s essentially what you’d expect from any SOHO network (e.g. if somebody purchased a Linksys router from Best Buy and plugged it in).

I’m not sure how much detail is potentially helpful here. If there’s any additional information that seems like it might be helpful, please let me know.

I hope this helps. If there’s any additional information I can provide here, please let me know. Otherwise I’ll get started building my own installer. Thanks.

On May 9, 2014, at 1:31 PM, jschripsema notifications@github.com wrote:

Hello! Thanks for your feedback, I would love to take a look at all of the issues you've submitted and see if I can nail down where the problem is to update the code. Before I begin, can you tell me what version of the installer are you using? Are you using the 3.0 installer linked on the front page, or did you build an updated installer by downloading the repo and then using 'CreateNetSUSInstaller.sh'?

If you haven't tried creating an updated installer, would you mind? I don't recall seeing this as an issue in the 3.0 version, but there have been a number of updates that haven't been merged into a pre-created installer yet.

Also, can you tell me anything about your environment? Specifically, do you have a proxy server that might be blocking connections?


Reply to this email directly or view it on GitHub.

@trevorwagner
Copy link
Author

I reproduced this behavior in a build from the trunk/ master branch (latest commit 152370d). To reproduce this, I followed the STR I list above.

Here are the results of the tests I ran:

jschripsema pushed a commit to jschripsema/NetSUS that referenced this issue May 19, 2014
Commit fixes jamf#26. Date being grabbed is for
index.sucatalog.apple, which is the last time Apple modified this file,
not the last sync.
@StevenStrand
Copy link
Contributor

Closed, cannot reproduce in current release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants