> For the complete documentation index, see [llms.txt](https://docs.editran.onesait.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.editran.onesait.com/documentacion-editran/connect-v3.1-en/instalacion/windows_actualizacion.md).

# Windows update

This guide will help you update the version of **Editran Connect** in Windows, step by step. The update can be carried out to change versions or reinstall a component of the current version.

***

## Prerequisites

Before starting the update process, you must make sure to:

1. have a version of **Editran Connect** installed before proceeding with the update.
2. If you are coming from 2.1.x or earlier, uninstall **Editran Core Connect**. This will avoid conflicts between the two applications.
3. Verify that the user performing the update has administrator privileges.

> It is recommended to make a full backup of the data, folders, and files of **Editran Core Connect** before uninstalling it. Likewise, before updating **Editran Connect**, it is essential to make a full backup. This will ensure that you can restore the information in case any problem occurs during the process.

***

## Installation

The steps for installation are described below. The process is quite simple and quick to carry out.

## Step 1: Start

Run the installation package, which will show the following welcome screen:

![Installation start](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

Click on **Next** to begin the process

***

## Step 2: Component Selection

On this screen, you can choose which application components you want to install:

![Component selection](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-f7e6926484153267a47365f3796dbf6ec42340d4%2Fupgrade_seleccion_componentes.png?alt=media)

1. Some components are required to update, so they appear checked and disabled.
2. Some components are recommended to update, so they appear checked and enabled.
3. It is recommended to leave the default selection if you are not sure which components to select.
   * **Java**: Select this component if you need to update or reinstall the Java software.
   * **PostgreSQL**: Select this component if you need to update or reinstall the PostgreSQL database engine software.
   * **Nginx**: Select this component if you need to update or reinstall the Nginx web server software, or if you need to change the SSL certificate.
   * **Signature module**: Select this component if you need to update or reinstall the signing module.
   * **Core**: Select the component **Prerequisites** to install the Microsoft Visual C++ redistributable packages needed to install and configure the Editran Core module.
   * **Graphical interface**: Select this component to update the desktop version of the application. And select **Prerequisites** to install the Microsoft Visual C++ redistributable packages needed for the graphical interface to work.
4. Click on **Next** to continue.

***

## Step 3: Notice

On this screen, you will be informed that the installation detects a previous version of **Editran Connect** installed on the system. In addition, you will be informed that the installation will upgrade the current version to the new version. Make sure you do not have any instance of **Editran Connect** open during the update process.

![Update notice](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

Click on **Next** to continue.

***

## Step 4: Configuration. Certificate

This screen will be available if the component **Nginx** is selected in the **Step 2**. Otherwise, this step will be skipped. You can select the files of your own self-signed certificate:

* **Certificate**: Certificate file (.pem).
* **Certificate key**: Private key file (.key).

![Configuration. Certificate](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-c2ecdba9f0c522758c2d08d998a28d714e5b21d5%2Fconfiguracion_certificado.png?alt=media)

1. The application's signing certificate will be updated.
2. This information is optional. If you do not specify a certificate, the installer will use a temporary self-signed certificate. Although it is functional, it is not valid and must be replaced by an SSL certificate issued by a certificate authority.
3. If you want to use your own certificate, check the option **Specify an SSL certificate** and select the corresponding files using the icon or enter the path and name manually.
4. Click on **Next** to continue.

***

## Step 5: License

On this screen, you can select the license file (.dat) if you have one. This step is optional.

![License file](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-89e1c092c2b85bddf2a863d31249ea42902f6333%2Ffichero_licencia.png?alt=media)

Click on **Next** to continue.

***

## Step 6: Summary

On this screen, a summary of the installation to be performed will be shown:

![Installation summary](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-db109125095cf5f5e0b484908bcbb7d5610b1a04%2Fupgrade_resumen_instalacion.png?alt=media)

Among others, the following information will be displayed:

* Version to install
* Current installed version
* Installation type (Update)
* Directories
* ...

Click on **Next** to continue.

***

## Step 7: Confirmation

This screen will indicate that everything is ready to perform the installation:

![Ready to install](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-90b50d732b39578b97f0ba3216d2244544dc8cd8%2Fconfirmacion_instalacion.png?alt=media)

Click on **Next** to begin the installation process.

***

## Step 8: Installation in progress

Before carrying out the installation itself, a backup copy of the files and folders from the previous installation will be made.

![Backup](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-543166b0ba02a7b2a5bdc8bf232c11390219bfb7%2Fcopia_seguridad.png?alt=media)

The backup will be stored in a directory with the same name as the application directory, adding the .backup extension at the end. **Default path**: `C:\EditranConnect.backup`.

Subsequently, the installation will begin and the progress will be shown along with the running processes:

![Installation in progress](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-fa8919f71c74a8161f82608ce9e698e6664bbc35%2Finstalacion_en_proceso.png?alt=media)

1. Depending on the selected components, different screens will be shown during the installation process.
2. If you have selected the component **Core. Prerequisites** in the **Step 2**, you will be asked to install the *Microsoft Visual C++ redistributable packages*, needed for the installation and configuration of the Editran Core module.

   ![Installation of the Microsoft Visual C++ redistributable packages](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-2dbe347cf0e90626c57be3658d901c5d596565eb%2Finstalacion_paquetes_redistribuibles.png?alt=media)

   * Accept the license terms and click **Install to continue**, or **Close** if you do not want to install them.
   * Wait for the installation of the redistributable packages to finish and then click **Close** to continue with the installation of Editran Connect.
3. Likewise, if you have selected the component **Graphical interface. Prerequisites** in the **Step 2**, the *Microsoft Visual C++ redistributable packages* needed for the proper functioning of the graphical interface will be installed. The installation process is identical to that described in the previous point.
4. If the component **PostgreSQL** is selected in the **Step 2**, and the installed PostgreSQL version is older than the version included in the installer, you will be asked whether you want to update PostgreSQL to the latest version.

   ![PostgreSQL version selection](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

   * Make sure that the installed PostgreSQL version is compatible with your machine's operating system. If it is not compatible or you are unsure, select **No**.
   * If you select **Yes**, PostgreSQL will be updated.
5. If the services do not start correctly, a warning message will appear. See the section *Troubleshooting* to identify the cause.

Wait for the process to finish.

***

## Step 9: Installation completed

Once the installation is complete, a screen will be shown indicating that the process has finished

![Installation completed](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

Click on **Finish**.

**Done!** You now have the **Editran Connect** updated.

***

## Troubleshooting

#### 1. Errors during installation

If you encounter any errors during the installation process, check the following points:

* **Administrator permissions**: Run the installer with administrator privileges.
* **Antivirus or firewall**: Check that your antivirus or firewall is not blocking the installation. If necessary, temporarily disable them during the process.

For more information about the error, check the installation log file (log).

#### 2. The services do not start

If the installation was successful, but the services do not start, check the following:

* **User permissions**: Check that the user starting the services has the necessary permissions.
* **Dependencies**: Make sure all required services are running. For example, the service *Editran Connect Data* must be started before starting the service *Editran Connect Base*.
* **Port in use**: Confirm that port 443 *(Editran Connect Server)* or 5432 *(Editran Connect Data)* is not being used by another service. You can use tools such as `netstat` to check the ports in use.
* **Firewall**: Check that Windows Firewall or any other third-party firewall is not blocking the ports used by the services.
* **Database configuration**: Check that the database is correctly configured and accessible. Make sure the access credentials are correct and that the database server is running.
* **Software dependencies**: Verify that the *Microsoft Visual C++ redistributable packages* are correctly installed.
* **Software conflicts**: Make sure there are no other programs or services conflicting with the services of **Editran Connect**. Check that the application **Editran Core Connect** is uninstalled.
* **License**: Verify that the license file (`license.dat`) is present and valid. This implies that the services *Editran License Service* and *Editran Connect Base* will not start.
* **Local environment**: The service *Editran Connect Base* will not start until a local environment is configured in the *Editran Core*.

For more details about possible errors, check the log files.

***

## Log files

Below is a table with the different log files, their description, name, and location.

| **Description**                 | **File(s)**                    | **Location**                       |
| ------------------------------- | ------------------------------ | ---------------------------------- |
| Installation log                | `installbuilder_installer.log` | `%USERPROFILE%\AppData\Local\Temp` |
| Service startup and status log  | `*.out, *log`                  | `%INSTALL_DIR%\services\logs`      |
| Database error and event log    | `logfile`                      | `%INSTALL_DIR%\data`               |
| Application error and event log | `*.log`                        | `%INSTALL_DIR%\logs`               |
| Core module error and event log | `*.out, *log`                  | `%INSTALL_DIR%\core\log`           |
| License error and event log     | `*.log`                        | `%INSTALL_DIR%\core\bin\SL\log`    |

***

## Services

Below is a table with the different application services, their description, and the dependencies required to start them.

| **Name**                | **Description**                          | **Dependencies to start** |
| ----------------------- | ---------------------------------------- | ------------------------- |
| Editran Connect Base    | Editran Connect services                 | Editran Connect Data      |
| Editran Connect Data    | Database service for Editran Connect     |                           |
| Editran Connect Server  | Web server for Editran Connect           |                           |
| Editran Connect Sign    | Signature services for Editran Connect   | Editran Connect Data      |
| Editran Base Service    | EDITRAN protocol for file transfer       | Editran License Service   |
| Editran License Service | Handles requests from the License V2 API |                           |

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.editran.onesait.com/documentacion-editran/connect-v3.1-en/instalacion/windows_actualizacion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
