---
title: "Updating Signer on Linux"
description: "How to update Signer on Linux: check the installed version, back up, replace the lacuna-signer service binaries, confirm the new version and know how to roll back."
canonical: "https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/linux/update"
locale: "en"
product: "Signer"
last_updated: "2026-10-22"
---

# Updating Signer on Linux

This page shows how to update an [on-premises instance](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises) of [Signer](https://docs.lacunasoftware.com/en-us/articles/signer) installed on
Linux following the [Ubuntu Server installation](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/linux/install-ubuntu).

> **Info**
>
> These instructions assume you are logged in as **root**. If you are not, run `sudo su -` before continuing.

## Before you update

1. Check the installed version:

   ```sh
   curl http://localhost:5001/api/system/info
   ```

   The `productVersion` field of the response shows the version.
1. Read the [changelog](https://docs.lacunasoftware.com/en-us/articles/signer/changelog) of every version between yours and the new one. Look for the versions
   marked as changing the database model.
1. If you are moving from 2.x to 3.x, also follow [Updating to 3.x](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/update-30). Version 3.0.0 requires
   the ASP.NET Core Runtime 10.0.
1. Update the staging environment first. Test sending and signing documents before you update production.
1. Pick a low-usage time. On the first startup, the application updates the database when the new version changes
   the model.

> **Warning**
>
> If you have more than one server, only one of them must update the database. Stop the other servers, update one
> server and wait for it to start. Then update the others. Alternatively, on every server but one, set
> `General:AutoUpdateDatabase` and `General:ProcessBackgroundJobs` to `false`.

## Backup

1. Back up the database in SQL Server.
1. Copy the binaries folder and the configuration folder:

   ```sh
   tar czf /root/signer-backup-$(date +%Y%m%d).tar.gz /usr/share/lacuna-signer /etc/lacuna-signer
   ```

## Update

1. Set the new version. See the latest version in the [changelog](https://docs.lacunasoftware.com/en-us/articles/signer/changelog):

   ```sh
   VERSION=3.0.0
   ```

1. Download the package, stop the service, replace the binaries and start the service:

   ```sh
   curl -O https://cdn.lacunasoftware.com/signer/signer-$VERSION.tar.gz
   systemctl stop lacuna-signer
   rm -fR /usr/share/lacuna-signer/*
   tar xzf signer-$VERSION.tar.gz -C /usr/share/lacuna-signer
   chmod -R a=,u+rwX,go+rX /usr/share/lacuna-signer
   systemctl start lacuna-signer
   ```

The configuration lives in `/etc/lacuna-signer` and does not change with the update.

## Check the update

1. Check that the service is active:

   ```sh
   systemctl status lacuna-signer
   ```

1. Check that `productVersion` shows the new version:

   ```sh
   curl http://localhost:5001/api/system/info
   ```

1. Follow the log during the first startup. The database update can take a few minutes:

   ```sh
   journalctl -u lacuna-signer -f
   ```

If the service does not start and the log shows `PKI SDK License was not loaded successfully`, the application did not
load the PKI SDK license (missing, invalid or expired). Ask Lacuna for an updated license and set it in
`PkiSuite:SdkLicense`.

## If something goes wrong

If the new version has a problem, contact Lacuna support first. If you must go back to the previous version, follow
the [version rollback](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/rollback). To restore only the binaries, extract the
`/usr/share/lacuna-signer` folder from the backup.

## See also

* [Setup on Linux - Signer](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/linux)
* [Troubleshooting](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/linux/troubleshoot)
* [Version rollback](https://docs.lacunasoftware.com/en-us/articles/signer/on-premises/rollback)
