”npm run develop" does not succeed with SQL error

System Information
  • Strapi Version: 4.24.2
  • Operating System: ubuntu
  • Database: postgres
  • Node Version: 18
  • NPM Version: 9.5.1
  • Yarn Version:

I am trying to upgrade from 4.10.2 to the latest version 4.24.2.

However, I get the following SQL error and cannot run develop.
Does anyone know what kind of problem this is causing?
“npm run build” succeeds.

error: alter table "abouts_components" drop constraint "abouts_unique" - constraint "abouts_unique" of relation "abouts_components" does not exist
    at Parser.parseErrorMessage (/home/ubuntu/my-project/node_modules/pg-protocol/dist/parser.js:283:98)
    at Parser.handlePacket (/home/ubuntu/my-project/node_modules/pg-protocol/dist/parser.js:122:29)
    at Parser.parse (/home/ubuntu/my-project/node_modules/pg-protocol/dist/parser.js:35:38)
    at TLSSocket.<anonymous> (/home/ubuntu/my-project/node_modules/pg-protocol/dist/index.js:11:42)
    at TLSSocket.emit (node:events:513:28)
    at TLSSocket.emit (node:domain:489:12)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)