# Moving SQLite portal database

If the portal database is located in the wrong directory will an upgrade not be possible.

To fix this:

1. Locate the Portal database, go to the portal web.config and see tag datapath for the location.
2. Open the Flow server tool and find the data storage for the installation to upgrade; click on the meny for the installation and take Open storage.
3. Copy the Portal database to the installation location.
4. Navigate to the portal web.config and change the datapath to the new data path and save the web.config.

*Contact product support if above does not work for you*


---

# 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://help.novacuraflow.com/6.12/installation-and-upgrade/faq/moving-sqlite-portal-database.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.
