You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.
I tried to upgrade from 2.4.1 to 2.5.1
First with the update.sh script, later with the single commands. Here are the errors:
docker-compose run --rm --no-deps run npm run typeorm migration:run
Creating abo_run_run ... done
> [email protected] typeorm
> node --require module-alias/register node_modules/.bin/typeorm "migration:run"
Error during migration run:
Error: getaddrinfo ENOTFOUND db
at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
at __node_internal_ (node:internal/errors:686:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'db'
}
npm notice
npm notice New minor version of npm available! 8.1.2 -> 8.15.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.15.1
npm notice Run npm install -g [email protected] to update!
npm notice
ERROR: 1
app_1 | {"app":"database","message":"Connected to database","level":"info"}
app_1 | {"app":"options-service","message":"Reload cache","level":"info"}
db_1 | 2022-08-02 20:30:27.666 UTC [36] ERROR: relation "option" does not exist at character 80
db_1 | 2022-08-02 20:30:27.666 UTC [36] STATEMENT: SELECT "Option"."key" AS "Option_key", "Option"."value" AS "Option_value" FROM "option" "Option"
app_1 | {"app":"database","query":"SELECT \"Option\".\"key\" AS \"Option_key\", \"Option\".\"value\" AS \"Option_value\" FROM \"option\" \"Option\"","parameters":[],"driverError":{"length":105,"name":"error","severity":"ERROR","code":"42P01","position":"80","file":"parse_relation.c","line":"1180","routine":"parserOpenTable"},"length":105,"severity":"ERROR","code":"42P01","position":"80","file":"parse_relation.c","line":"1180","routine":"parserOpenTable","level":"error","message":"Error connecting to database relation \"option\" does not exist","stack":"QueryFailedError: relation \"option\" does not exist\n at QueryFailedError.TypeORMError (/opt/membership-system/node_modules/typeorm/error/src/error/TypeORMError.ts:7:9)\n at null.QueryFailedError (/opt/membership-system/node_modules/typeorm/error/src/error/QueryFailedError.ts:9:9)\n at PostgresQueryRunner.<anonymous> (/opt/membership-system/node_modules/typeorm/driver/src/driver/postgres/PostgresQueryRunner.ts:245:19)\n at step (/opt/membership-system/node_modules/typeorm/node_modules/tslib/tslib.js:143:27)\n at Object.throw (/opt/membership-system/node_modules/typeorm/node_modules/tslib/tslib.js:124:57)\n at rejected (/opt/membership-system/node_modules/typeorm/node_modules/tslib/tslib.js:115:69)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"}
abo_app_1 exited with code 1
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to upgrade from 2.4.1 to 2.5.1
First with the update.sh script, later with the single commands. Here are the errors:
The text was updated successfully, but these errors were encountered: