Migrations

Check that the repository schema matches this version of Scops, and retry a change that failed.

Settings, Migrations with the schema state, one failed change and the list of changes
A failed change is first, with the Oracle error under its name.

Before you begin

You need Manage Settings. ScopsApi applies the changes when it starts, mainly after an upgrade.

Check an upgrade

  1. After the upgrade, open Settings › Migrations. On a large repository, the first start can take some minutes.

  2. Make sure that the line beside the title shows Matches, and that Failed shows 0.

Fix a failed change

  1. Click the failed row. The panel shows the Error and the Statement.

    A failed index change with the error ORA-01652, the CREATE INDEX statement and Retry
  2. Correct the cause in the repository database, for example a full tablespace or a missing privilege.

  3. Click Retry. Scops runs the changes that failed or wait, with no restart.

If Scops refuses the repository, nothing runs. See The repository is not available.

What you see

StateMeaning
MatchesThe schema is correct for this version.
IncompleteA table or column is missing. Scops stops collection, alerts and Scops AI until the schema is complete.
Applied, Running, PendingThe change is done, runs now, or waits to run.
FailedScops tries again at each start.
UnfinishedA failed cleanup of an earlier release. This version does not run it again.

Updated October 29, 2026