mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-11 17:29:48 +02:00
Fixes "The server does not support SSL connections" by disabling SSL in DATABASE_URL for local Docker deployments and in server/db.ts. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/QW0MKzv
120 lines
2.6 KiB
Plaintext
120 lines
2.6 KiB
Plaintext
🔄 Attempting database migration...
|
|
|
|
> rest-express@1.0.0 db:push
|
|
|
|
> drizzle-kit push
|
|
|
|
No config path provided, using default 'drizzle.config.ts'
|
|
|
|
Reading config file '/app/drizzle.config.ts'
|
|
|
|
Using 'pg' driver for database querying
|
|
|
|
[⣷] Pulling schema from database...
|
|
|
|
[⣯] Pulling schema from database...
|
|
|
|
[⣟] Pulling schema from database...
|
|
|
|
[✓] Pulling schema from database...
|
|
|
|
[i] No changes detected
|
|
|
|
✅ Migration completed
|
|
|
|
🌟 Starting RegisFlow application...
|
|
|
|
> rest-express@1.0.0 start
|
|
|
|
> NODE_ENV=production node dist/index.js
|
|
|
|
/app/node_modules/pg-pool/index.js:45
|
|
|
|
Error.captureStackTrace(err)
|
|
|
|
^
|
|
|
|
Error: The server does not support SSL connections
|
|
|
|
at /app/node_modules/pg-pool/index.js:45:11
|
|
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
|
|
at async file:///app/node_modules/drizzle-orm/node-postgres/session.js:83:22
|
|
|
|
at async DatabaseStorage.getAllUsers (file:///app/dist/index.js:210:12)
|
|
|
|
at async DatabaseStorage.initializeDefaults (file:///app/dist/index.js:384:27)
|
|
|
|
at async registerRoutes (file:///app/dist/index.js:636:22)
|
|
|
|
at async file:///app/dist/index.js:1277:18
|
|
|
|
Node.js v20.19.4
|
|
|
|
🚀 RegisFlow Production Starting...
|
|
|
|
⏳ Waiting for database regisflow-db:5432...
|
|
|
|
✅ Database ready
|
|
|
|
🔄 Attempting database migration...
|
|
|
|
> rest-express@1.0.0 db:push
|
|
|
|
> drizzle-kit push
|
|
|
|
No config path provided, using default 'drizzle.config.ts'
|
|
|
|
Reading config file '/app/drizzle.config.ts'
|
|
|
|
Using 'pg' driver for database querying
|
|
|
|
[⣷] Pulling schema from database...
|
|
|
|
[⣯] Pulling schema from database...
|
|
|
|
[⣟] Pulling schema from database...
|
|
|
|
[⡿] Pulling schema from database...
|
|
|
|
[✓] Pulling schema from database...
|
|
|
|
[i] No changes detected
|
|
|
|
✅ Migration completed
|
|
|
|
🌟 Starting RegisFlow application...
|
|
|
|
> rest-express@1.0.0 start
|
|
|
|
> NODE_ENV=production node dist/index.js
|
|
|
|
/app/node_modules/pg-pool/index.js:45
|
|
|
|
Error.captureStackTrace(err)
|
|
|
|
^
|
|
|
|
Error: The server does not support SSL connections
|
|
|
|
at /app/node_modules/pg-pool/index.js:45:11
|
|
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
|
|
at async file:///app/node_modules/drizzle-orm/node-postgres/session.js:83:22
|
|
|
|
at async DatabaseStorage.getAllUsers (file:///app/dist/index.js:210:12)
|
|
|
|
at async DatabaseStorage.initializeDefaults (file:///app/dist/index.js:384:27)
|
|
|
|
at async registerRoutes (file:///app/dist/index.js:636:22)
|
|
|
|
at async file:///app/dist/index.js:1277:18
|
|
|
|
Node.js v20.19.4
|
|
|
|
|
|
|
|
|
|
|