→ Upcoming Keynote Event - Introducing Lansweeper's 2023 Spring Release: 'Duvel' - Learn More
on
04-13-2021
08:30 PM
- edited on
12-14-2022
02:12 PM
by
Nils
Introduced in Lansweeper 8.3, the auto-update feature allows your Lansweeper installation to automatically update itself to apply critical and non-critical patches. These patches are focused on the scanning service and their main goal is to add the ability to respond quickly to changes when needed. To ensure the integrity of your Lansweeper installation, a backup of all updated files is taken and an automatic revert can be performed in case anything goes wrong.
This feature is disabled by default. To manually enable the feature, browse to Configuration > Server Options and scroll down to the Auto-update Scan Servers section. In this section check the boxes to automatically install critical and non-critical updates across all scan servers.
When enabling this feature on an installation with multiple scan servers, you will need to assign one scan server as the "fetcher". Once enabled, the fetcher will check for new updates when the Lansweeper Server service starts on your Lansweeper server and automatically every 12 hours afterwards. The fetcher can be changed again selecting Change Fetcher.
The scanning service must be able to reach the below URLs. Sub-links of these URLs are used by the auto-update feature:
TLS 1.2 needs to be enabled on the scan server that performs the auto-update checks.
The user that the Lansweeper Server service logs on as, which is Local System by default, needs full control access to the following on your Lansweeper server:
C:\Program Files (x86)\Lansweeper\
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\lansweeper_is1
Updates require the scanning service to be stopped. This prevents the service from performing scanning, deploying, emailing, and other jobs. A maintenance period of your choosing needs to be configured during which updates will be installed automatically.
When the auto-update feature is enabled for the first time, the maintenance period will automatically be set to the start of the next hour following the timestamp the feature was enabled on. For example, if you enable the feature at 12:37 the Maintenance Period will automatically be set to 13:00 - 14:00.
If you have multiple scan servers, you can configure a different maintenance period per scanning server.
Installing updates outside the maintenance period can be done by selecting Install Updates. If you have multiple scanning servers, you will be asked if you wish to install the updates on all scanning servers. Install Updates will be grayed out when no updates are available.
Manually checking for updates outside the 12-hourly check can be done by selecting Check for updates.
The auto-update and authentication API endpoints are managed by Lansweeper. Connections to the API endpoints are encrypted using supported TLS 1.2 algorithms. The fetcher validates the certificate of the endpoints before connecting to check for and download updates. Updates are stored on AWS S3 storage managed by Lansweeper.
More information on the steps we take to ensure the security of our product and endpoints can be found on this page.
Auto-updates require your fetcher to be able to access the internet either directly or via a proxy. You may receive the following error in your web console.
This may be caused by one of the following:
Connect to your fetcher directly and test using a browser whether you can connect to the internet, e.g. www.google.com. If this fails, investigate and resolve your server's connection issue.
If your fetcher connects to the internet via a proxy, add your proxy details under Configuration > Server Options. Make sure these details are correct and that your proxy server is currently available. Do not fill in this configuration section if you do not use a proxy server.
Your firewall or proxy may block certain outbound connections. In this case you'll need to whitelist the endpoints used by the auto-update feature. Make sure the Lansweeper service on your fetcher can connect to the URLs below.
This may mean for example allowing outbound traffic targeting port 443 on autoupdateapi.lansweeper.com. The specifics will differ based on the firewall or proxy system in use.
Is the showing of auto-update section under 'Configuration>Server Options' dependable of API-access, or is this function hidden somewhere else in version 10.3.1.0? Because I can't seem to find this function.
For the auto-update API I get this message:
{"message":"Missing Authentication Token"}
Does this mean that the FireWall is still blocking something, or is something missing in my setup?
Hello there!
Allow me to jump in here.
As mentioned in our changelog, we removed the auto-update feature in August:
There was little to no uptake from our customer base for this feature, which was understandable as most releases do still require database changes in the background, and the auto-update feature could not accommodate database changes. So in 90% of the Lansweeper updates, you would still need to perform the manual update process as you have to do now. So it was decided that we could no longer put more development effort into maintaining this feature.
Currently, we are focusing most of our development efforts on improving Lansweeper's core functionality, which is asset discovery and building out our cloud platform.
@Obi_1_Cinobi thanks for the reply! Wasn't aware of that particular information.
Test Drive Lansweeper Yourself. Explore our interactive Demo or sign up for free 14-day trial.
Try Now