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

Unable to start server #23

Open
yesbhautik opened this issue Nov 4, 2024 · 0 comments
Open

Unable to start server #23

yesbhautik opened this issue Nov 4, 2024 · 0 comments

Comments

@yesbhautik
Copy link

logs

baileys-db   | performing post-bootstrap initialization ... ok
baileys-db   | syncing data to disk ... ok
baileys-db   | 
baileys-db   | 
baileys-db   | Success. You can now start the database server using:
baileys-db   | 
baileys-db   |     pg_ctl -D /var/lib/postgresql/data -l logfile start
baileys-db   | 
baileys-db   | initdb: warning: enabling "trust" authentication for local connections
baileys-db   | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
baileys-db   | waiting for server to start....2024-11-04 06:38:51.559 UTC [48] LOG:  starting PostgreSQL 17.0 (Debian 17.0-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
baileys-db   | 2024-11-04 06:38:51.561 UTC [48] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
baileys-db   | 2024-11-04 06:38:51.568 UTC [51] LOG:  database system was shut down at 2024-11-04 06:38:51 UTC
baileys-db   | 2024-11-04 06:38:51.574 UTC [48] LOG:  database system is ready to accept connections
baileys-db   |  done
baileys-db   | server started
baileys-db   | CREATE DATABASE
baileys-db   | 
baileys-db   | 
baileys-db   | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
baileys-db   | 
baileys-db   | waiting for server to shut down....2024-11-04 06:38:51.797 UTC [48] LOG:  received fast shutdown request
baileys-db   | 2024-11-04 06:38:51.800 UTC [48] LOG:  aborting any active transactions
baileys-db   | 2024-11-04 06:38:51.806 UTC [48] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
baileys-db   | 2024-11-04 06:38:51.807 UTC [49] LOG:  shutting down
baileys-db   | 2024-11-04 06:38:51.810 UTC [49] LOG:  checkpoint starting: shutdown immediate
baileys-db   | 2024-11-04 06:38:51.849 UTC [49] LOG:  checkpoint complete: wrote 921 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.021 s, sync=0.008 s, total=0.043 s; sync files=301, longest=0.003 s, average=0.001 s; distance=4238 kB, estimate=4238 kB; lsn=0/1908950, redo lsn=0/1908950
baileys-db   | 2024-11-04 06:38:51.855 UTC [48] LOG:  database system is shut down
baileys-db   |  done
baileys-db   | server stopped
baileys-db   | 
baileys-db   | PostgreSQL init process complete; ready for start up.
baileys-db   | 
baileys-db   | 2024-11-04 06:38:51.929 UTC [1] LOG:  starting PostgreSQL 17.0 (Debian 17.0-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
baileys-db   | 2024-11-04 06:38:51.930 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
baileys-db   | 2024-11-04 06:38:51.930 UTC [1] LOG:  listening on IPv6 address "::", port 5432
baileys-db   | 2024-11-04 06:38:51.940 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
baileys-db   | 2024-11-04 06:38:51.947 UTC [64] LOG:  database system was shut down at 2024-11-04 06:38:51 UTC
baileys-db   | 2024-11-04 06:38:51.954 UTC [1] LOG:  database system is ready to accept connections
baileys-api  | /app/node_modules/ts-node/src/index.ts:859
baileys-api  |     return new TSError(diagnosticText, diagnosticCodes, diagnostics);
baileys-api  |            ^
baileys-api  | TSError: ⨯ Unable to compile TypeScript:
baileys-api  | src/controllers/chat.ts(3,15): error TS2305: Module '"@prisma/client"' has no exported member 'Chat'.
baileys-api  | src/controllers/chat.ts(3,21): error TS2305: Module '"@prisma/client"' has no exported member 'Message'.
baileys-api  | 
baileys-api  |     at createTSError (/app/node_modules/ts-node/src/index.ts:859:12)
baileys-api  |     at reportTSError (/app/node_modules/ts-node/src/index.ts:863:19)
baileys-api  |     at getOutput (/app/node_modules/ts-node/src/index.ts:1077:36)
baileys-api  |     at Object.compile (/app/node_modules/ts-node/src/index.ts:1433:41)
baileys-api  |     at Module.m._compile (/app/node_modules/ts-node/src/index.ts:1617:30)
baileys-api  |     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
baileys-api  |     at Object.require.extensions.<computed> [as .ts] (/app/node_modules/ts-node/src/index.ts:1621:12)
baileys-api  |     at Module.load (node:internal/modules/cjs/loader:1288:32)
baileys-api  |     at Function.Module._load (node:internal/modules/cjs/loader:1104:12)
baileys-api  |     at Module.require (node:internal/modules/cjs/loader:1311:19) {
baileys-api  |   diagnosticCodes: [ 2305, 2305 ]
baileys-api  | }
baileys-api  | [nodemon] app crashed - waiting for file changes before starting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant