wso2 / wso2/docs-apim

Fix error from executing oracle DB scripts: APIM 2.1.0 to 4.0.0 migration

Open
#4,696 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API-M-4.0.0 API-M-4.1.0 component/migration Docs/Waiting on SME help wanted Severity/Major Type/Bug
Dominant language
CSS
Stars
99
Forks
708
Avg merge
1d 7h
Merged PRs (30d)
22

Description

The Oracle DB script of WSO2AM_DB [1] gives the following errors.

  • There is a primary key missing error in the column called COMMENT_ID on AM_API_COMMENTS Table.
  • AM_CERTIFICATE_METADATA, AM_APPLICATION_GROUP_MAPPING tables already exist on the database.

[1]https://apim.docs.wso2.com/en/latest/install-and-setup/upgrading-wso2-api-manager/upgrading-from-200-to-400/#step-2-upgrade-api-manager-to-400

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked APIM upgrade guide and locate the WSO2AM_DB Oracle migration script for the 2.1.0 to 4.0.0 upgrade. Reproduce the reported COMMENT_ID primary-key error and existing-table errors, then verify the migration completes without them.

Written by the indexing model from the issue text.

Assessment

Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.