Skip to content

Commit

Permalink
v12: add section about rebuild index
Browse files Browse the repository at this point in the history
  • Loading branch information
utnapischtim committed Jun 19, 2024
1 parent 58f7838 commit 3091492
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/releases/upgrading/upgrade-v12.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,24 @@ and are totally functional also after a reinit.

### Data migration

Execute the data migration, note that there is no need to re-index the data:
Execute the data migration

```bash
pipenv run invenio shell $(find $(pipenv --venv)/lib/*/site-packages/invenio_app_rdm -name migrate_11_0_to_12_0.py)
```

### Reindex

```bash
invenio index destroy --yes-i-know
invenio index init
invenio rdm-records rebuild-index
invenio community rebuild-index
# TODO rebuild users
# TODO rebuild groups
# TODO rebuild community members
```

### New roles

```bash
Expand Down

0 comments on commit 3091492

Please sign in to comment.