# Exit codes

After completing the upgrade process, check for the following exit codes in the log file:

| Code   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `0`    | Success.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `1`    | The installation completed successfully, but one or more of the actions from the installation sequence caused a warning or a non-fatal error.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `-1`   | <p>One or more of the actions from the installation sequence caused a fatal error. The following errors could have occurred:- Required parameters were not specified. For example, you may have not specified the following parameters:<br>- The <code>-i</code> interface parameter was not specified.<br>- The <code>-DUSER\_INSTALL\_DIR</code> Pentaho root installation directory was not specified.<br>- The <code>-DEULA</code> response to the End User License Agreement was not specified.</p><ul><li>Running in silent mode while a previous Pentaho product is still running.</li><li>Getting an exception when backing up files.</li></ul> |
| `1000` | The installation was canceled by the end user.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `1001` | The installation includes an invalid command-line option.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

See the \[InstallAnywhere]\(<https://docs.revenera.com/installanywhere2015/Content/helplibrary/ia\\_ts\\_exit\\_codes\\_install.htm>) documentation for more possible exit codes.


---

# 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.pentaho.com/install/9.3-install/pentaho-upgrade-cp/using-the-pentaho-upgrade-installer-in-silent-mode-cp/exit-codes-pentaho-upgrade-installer-silent-mode.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.
