Files
LogiFlow/attached_assets/Pasted--Database-initialization-NODE-ENV-production-isProduction-true-h-1755083906219_1755083906219.txt
T
michaelschal 382fb4c112 Enhance delivery reconciliation to include webhook URLs for verification
Update BLReconciliation component to check for webhookUrl in delivery groups and add console logs for debugging production environment issues related to delivery data.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 7c468936-2a88-4686-ac0a-84921a45222d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/7c468936-2a88-4686-ac0a-84921a45222d/ehBF9El
2025-08-13 11:19:19 +00:00

141 lines
2.2 KiB
Plaintext

🔗 Database initialization: {
NODE_ENV: 'production',
isProduction: true,
hasDbUrl: true,
dbHost: 'logiflow-db'
}
🐳 PRODUCTION: Using standard PostgreSQL
✅ PostgreSQL connection test successful
🐳 PRODUCTION: Using PostgreSQL storage
🐳 PRODUCTION: Local auth configured with PostgreSQL sessions
🐳 PRODUCTION: Starting LogiFlow application
🐳 Environment: { NODE_ENV: 'production', DATABASE_URL: 'Present', PORT: '3000' }
🔍 Using development storage and authentication
🔧 Using memory session store for development
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
🐳 Serving static files from: /app/dist/public
🐳 PRODUCTION: LogiFlow serving on port 3000
✅ Production admin user found: { id: 'admin_local', username: 'admin', passwordFormat: 'present' }
✅ Admin user exists, preserving current password
HEAD /api/health 200 in 5ms
📄 SPA: Serving index.html for /bl-reconciliation
🔍 PRODUCTION /api/user - req.user: {
id: 'admin_local',
role: 'admin',
hasUserGroups: true,
userGroupsLength: 0,
userGroups: []
}
GET /api/user 304 in 10ms
🔍 PRODUCTION /api/user - req.user: {
id: 'admin_local',
role: 'admin',
hasUserGroups: true,
userGroupsLength: 0,
userGroups: []
}
GET /api/user 304 in 9ms
GET /api/suppliers 304 in 19ms
🔍 PRODUCTION /api/user - req.user: {
id: 'admin_local',
role: 'admin',
hasUserGroups: true,
userGroupsLength: 0,
userGroups: []
}
GET /api/user 304 in 20ms
🔍 PRODUCTION /api/user - req.user: {
id: 'admin_local',
role: 'admin',
hasUserGroups: true,
userGroupsLength: 0,
userGroups: []
}
GET /api/user 304 in 8ms
Deliveries API called with: {
startDate: undefined,
endDate: undefined,
storeId: undefined,
withBL: undefined,
userRole: 'admin'
}
Admin filtering deliveries with groupIds: undefined
Fetching all deliveries
Deliveries returned: 81 items
GET /api/deliveries 304 in 50ms
GET /api/groups 304 in 36ms
HEAD /api/health 200 in 1ms