Skip to content

Commit

Permalink
docs(nocode): Adding documentation for no-migration upgrade option (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-lyons authored Jun 5, 2021
1 parent ee454eb commit b1ff56f
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions docs/advanced/no-code-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ run the datahub-upgrade job, which will run the above docker container to migrat

### Step 2: Execute Migration Job

#### Docker Compose Deployments
#### Docker Compose Deployments - Preserve Data

If you do not care about migrating your data, you can refer to the Docker Compose Deployments - Lose All Existing Data
section below.

The easiest option is to execute the `run_upgrade.sh` script located under `docker/datahub-upgrade/nocode`.
To migrate existing data, the easiest option is to execute the `run_upgrade.sh` script located under `docker/datahub-upgrade/nocode`.

```
cd docker/datahub-upgrade/nocode
Expand All @@ -74,6 +77,30 @@ You can either
To see the required environment variables, see the [datahub-upgrade](../../docker/datahub-upgrade/README.md)
documentation.

#### Docker Compose Deployments - Lose All Existing Data

This path is quickest but will wipe your Datahub's database.
If you want to make sure your current data is migrated, refer to the Docker Compose Deployments - Preserve Data section above.
If you are ok losing your data and re-ingesting, this approach is simplest.

```
# make sure you are on the latest
git checkout master
git pull origin master
# wipe all your existing data and turn off all processes
./docker/nuke.sh
# spin up latest datahub
./docker/quickstart.sh
# re-ingest data, for example, to ingest sample data:
./docker/ingestion/ingestion.sh
```

After that, you will be upgraded and good to go.


##### How to fix the "listening to port 5005" issue

Fix for this issue have been published to the acryldata/datahub-upgrade:head tag. Please pull latest master and rerun
Expand Down

0 comments on commit b1ff56f

Please sign in to comment.