# Upgrades

{% hint style="danger" %}
**Before any upgrades** Make sure to check that your maintenance date is later than the release date of the version of ngSurvey you wish to upgrade to. You may find your current maintenance date in the Configuration / About section of your setup. \
\
Also make sure to backup any existing files, images including database before proceeding with the upgrade process.
{% endhint %}

Upgrading ngSurvey in straightforward and works in 2 parts,&#x20;

1. The ngSurvey server files that serves the application.
2. The ngSurvey SQL Server, Postgres or MySQL, MariaDB database.

{% hint style="info" %}
No data will be lost during the upgrade all your exiting surveys and their respondents answers will be upgraded.
{% endhint %}

## Azure Web App

You may remove any previous files and copy the new one on your installation. If you're using Azure zip deploy feature this will be done automatically.

## IIS / ZIP

Make sure that you have installed the latest [.NET 10 Hosting Bundle](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-10.0.2-windows-hosting-bundle-installer) on your server. Remove all your old files from your IIS site and copy the new files to your folder. If you have set your ngSurvey settings in your web.config file keep your old web.config and don't overwrite it with the new one.

## AWS

You may update the AWS image to update your ngSurvey to the latest version.

## Database&#x20;

&#x20;ngSurvey will automatically update your database to the latest version. If you have set the AutoDB [enviroment](/installation-setup/installation/environment-variable-settings.md) variable to false to update the database manually you may follow the same [SQL Server database installation](broken://pages/-MC6yfbQYHpAwI-zAxhJ) setup that you followed while installing manually the ngSurvey database, this will upgrade the database.

## Setup Error&#x20;

If your system shows "system is currently under maintenance". make sure to check directly the system status under <https://yoursite/api/system/status>. Using this URL should give you the exact error message to help you troubleshoot the error.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ngsurvey.com/installation-setup/upgades.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
