Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug pnpm run #2475

Open
Vladusha94 opened this issue Jun 25, 2024 · 0 comments
Open

Bug pnpm run #2475

Vladusha94 opened this issue Jun 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Vladusha94
Copy link

Vladusha94 commented Jun 25, 2024

Hello. after start pnpm run kyb-manual-review-example or
pnpm kyc-manual-review-example i have:

> @ballerine/workflows-service@0.7.13 setup /home/administrator/ballerine/services/workflows-service
> npm run docker:db:down && npm run docker:db && npm run db:reset && npm run seed
> @ballerine/workflows-service@0.7.13 docker:db:down
> docker compose -f docker-compose.db.yml down --volumes
time="2024-06-25T05:57:56Z" level=warning msg="The \"DB_PORT\" variable is not set. Defaulting to a blank string."
time="2024-06-25T05:57:56Z" level=warning msg="The \"DB_USER\" variable is not set. Defaulting to a blank string."
time="2024-06-25T05:57:56Z" level=warning msg="The \"DB_PASSWORD\" variable is not set. Defaulting to a blank string."
time="2024-06-25T05:57:56Z" level=warning msg="/home/administrator/ballerine/services/workflows-service/docker-compose.db.yml: `version` is obsolete"
 Container workflows-service-db-1  Stopping
 Container workflows-service-db-1  Stopped
 Container workflows-service-db-1  Removing
 Container workflows-service-db-1  Removed
 Volume workflows-service_postgres15  Removing
 Network workflows-service_default  Removing
 Volume workflows-service_postgres15  Removed
 Network workflows-service_default  Removed
> @ballerine/workflows-service@0.7.13 docker:db
> docker compose -f docker-compose.db.yml up -d --wait
time="2024-06-25T05:57:57Z" level=warning msg="The \"DB_PORT\" variable is not set. Defaulting to a blank string."
time="2024-06-25T05:57:57Z" level=warning msg="The \"DB_USER\" variable is not set. Defaulting to a blank string."
time="2024-06-25T05:57:57Z" level=warning msg="The \"DB_PASSWORD\" variable is not set. Defaulting to a blank string."
time="2024-06-25T05:57:57Z" level=warning msg="/home/administrator/ballerine/services/workflows-service/docker-compose.db.yml: `version` is obsolete"
 Network workflows-service_default  Creating
 Network workflows-service_default  Created
 Volume "workflows-service_postgres15"  Creating
 Volume "workflows-service_postgres15"  Created
 Container workflows-service-db-1  Creating
 Container workflows-service-db-1  Created
 Container workflows-service-db-1  Starting
 Container workflows-service-db-1  Started
 Container workflows-service-db-1  Waiting
container workflows-service-db-1 exited (1)
 ELIFECYCLE  Command failed with exit code 1.

 ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Ran target setup for project @ballerine/workflows-service (2s)

    ✖    1/1 failed
    ✔    0/1 succeeded [0 read from cache]

 ELIFECYCLE  Command failed with exit code 1.

Docker Log:

root@administrator:/home/administrator/ballerine# docker logs workflows-service-db-1
Error: Database is uninitialized and superuser password is not specified.
       You must specify POSTGRES_PASSWORD to a non-empty value for the
       superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".

       You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
       connections without a password. This is *not* recommended.

       See PostgreSQL documentation about "trust":
       https://www.postgresql.org/docs/current/auth-trust.html

Ubuntu 22.04

@Vladusha94 Vladusha94 added the bug Something isn't working label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant