→ Upcoming Keynote Event - Introducing Lansweeper's 2023 Spring Release: 'Duvel' - Learn More

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Bruce_B
Lansweeper Employee
Lansweeper Employee
The auto-update feature was introduced in Lansweeper 8.3. If you are using an older Lansweeper release, you will need to update by following the instructions in this knowledge base article.

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.

For now, all web console updates and scanning service updates that require database changes cannot be performed automatically. These updates will still need to be performed manually.

How to enable automatic updates

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.

auto-update1.jpg

It's not possible to automatically install non-critical updates only. When enabling non-critical updates, critical updates will also be enabled automatically.

Requirements

Outbound internet access

The scanning service must be able to reach the below URLs. Sub-links of these URLs are used by the auto-update feature:

TLS

TLS 1.2 needs to be enabled on the scan server that performs the auto-update checks.

File and registry access

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:

  • The directory in which Lansweeper is installed:
    C:\Program Files (x86)\Lansweeper\
  • The uninstall registry entry for Lansweeper: HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\lansweeper_is1

Maintenance Period

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.

auto-update2.jpg

The maintenance period needs to span at least one hour, and uses the time zone of the database server hosting your Lansweeper database.

Availability

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.

auto-update3.jpg

To prevent abuse, Check for updates can only be used once an hour. When the option is selected during this cooldown window the check will be performed afterwards.

Security

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.

Troubleshooting

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.

auto-update-error.jpg

This may be caused by one of the following:

  • The fetcher has no internet access.
  • The fetcher requires proxy configuration.
  • Your firewall is blocking access to the URLs used by the auto-update feature.

Internet Access

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.

Proxy server

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.

auto-update4.jpg

Firewall

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.

Was this article helpful? Yes No
No ratings
Comments
MichaelArens
Engaged Sweeper

@Bruce_B 

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?

Obi_1_Cinobi
Lansweeper Tech Support
Lansweeper Tech Support

Hello there!

Allow me to jump in here. 

As mentioned in our changelog, we removed the auto-update feature in August:

  • Changed: LAN-13717 Removed all mentions and settings for auto-update from the Lansweeper web console. Auto-update packages will no longer be provided.

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.

MichaelArens
Engaged Sweeper

@Obi_1_Cinobi thanks for the reply! Wasn't aware of that particular information.

New to Lansweeper?

Try Lansweeper For Free

Test Drive Lansweeper Yourself. Explore our interactive Demo or sign up for free 14-day trial.

Try Now
Knowledge Base Dashboard
Article Dashboard
Version history
Last update:
‎12-14-2022 02:12 PM
Updated by: