mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Implement an automatic migration script and an emergency API route to resolve missing columns in the SAV production database, ensuring data integrity and system stability. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 31f9bd88-0285-4787-81b3-31ceeea5a08b Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/31f9bd88-0285-4787-81b3-31ceeea5a08b/nCX75tE
238 lines
3.7 KiB
Plaintext
238 lines
3.7 KiB
Plaintext
Administration
|
|
|
|
User-related
|
|
|
|
|
|
Environment-related
|
|
|
|
Registries
|
|
|
|
Logs
|
|
|
|
Notifications
|
|
|
|
Settings
|
|
|
|
New version available 2.27.9
|
|
DismissSee what's new
|
|
Community Edition
|
|
2.27.6 LTS
|
|
Containers>logiflow-logiflow-1>Logs
|
|
Container logs
|
|
|
|
|
|
admin
|
|
Log viewer settings
|
|
Auto-refresh logs
|
|
Wrap lines
|
|
Display timestamps
|
|
Fetch
|
|
All logs
|
|
Search
|
|
Filter...
|
|
Lines
|
|
100
|
|
Actions
|
|
|
|
|
|
|
|
|
|
severity: 'ERROR',
|
|
|
|
code: '42703',
|
|
|
|
detail: undefined,
|
|
|
|
hint: undefined,
|
|
|
|
position: '28',
|
|
|
|
internalPosition: undefined,
|
|
|
|
internalQuery: undefined,
|
|
|
|
where: undefined,
|
|
|
|
schema: undefined,
|
|
|
|
table: undefined,
|
|
|
|
column: undefined,
|
|
|
|
dataType: undefined,
|
|
|
|
constraint: undefined,
|
|
|
|
file: 'parse_relation.c',
|
|
|
|
line: '3665',
|
|
|
|
routine: 'errorMissingColumn'
|
|
|
|
}
|
|
|
|
GET /api/sav/stats 500 in 9ms
|
|
|
|
GET /api/sav/tickets 500 in 11ms
|
|
|
|
Error fetching SAV tickets: error: column sav_tickets.priority does not exist
|
|
|
|
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.getSavTickets (file:///app/dist/index.js:1974:25)
|
|
|
|
at async file:///app/dist/index.js:6064:23 {
|
|
|
|
length: 119,
|
|
|
|
severity: 'ERROR',
|
|
|
|
code: '42703',
|
|
|
|
detail: undefined,
|
|
|
|
hint: undefined,
|
|
|
|
position: '350',
|
|
|
|
internalPosition: undefined,
|
|
|
|
internalQuery: undefined,
|
|
|
|
where: undefined,
|
|
|
|
schema: undefined,
|
|
|
|
table: undefined,
|
|
|
|
column: undefined,
|
|
|
|
dataType: undefined,
|
|
|
|
constraint: undefined,
|
|
|
|
file: 'parse_relation.c',
|
|
|
|
line: '3665',
|
|
|
|
routine: 'errorMissingColumn'
|
|
|
|
}
|
|
|
|
PUT /api/customer-orders/56 401 in 1ms
|
|
|
|
📄 SPA: Serving index.html for /customer-orders
|
|
|
|
Error fetching SAV stats: error: column "priority" does not exist
|
|
|
|
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.getSavTicketStats (file:///app/dist/index.js:2046:25)
|
|
|
|
at async file:///app/dist/index.js:6251:21 {
|
|
|
|
length: 108,
|
|
|
|
severity: 'ERROR',
|
|
|
|
code: '42703',
|
|
|
|
detail: undefined,
|
|
|
|
hint: undefined,
|
|
|
|
position: '28',
|
|
|
|
internalPosition: undefined,
|
|
|
|
internalQuery: undefined,
|
|
|
|
where: undefined,
|
|
|
|
schema: undefined,
|
|
|
|
table: undefined,
|
|
|
|
column: undefined,
|
|
|
|
dataType: undefined,
|
|
|
|
constraint: undefined,
|
|
|
|
file: 'parse_relation.c',
|
|
|
|
line: '3665',
|
|
|
|
routine: 'errorMissingColumn'
|
|
|
|
}
|
|
|
|
Error fetching SAV tickets: error: column sav_tickets.priority does not exist
|
|
|
|
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.getSavTickets (file:///app/dist/index.js:1974:25)
|
|
|
|
at async file:///app/dist/index.js:6064:23 {
|
|
|
|
length: 119,
|
|
|
|
severity: 'ERROR',
|
|
|
|
code: '42703',
|
|
|
|
detail: undefined,
|
|
|
|
hint: undefined,
|
|
|
|
position: '350',
|
|
|
|
internalPosition: undefined,
|
|
|
|
internalQuery: undefined,
|
|
|
|
where: undefined,
|
|
|
|
schema: undefined,
|
|
|
|
table: undefined,
|
|
|
|
column: undefined,
|
|
|
|
dataType: undefined,
|
|
|
|
constraint: undefined,
|
|
|
|
file: 'parse_relation.c',
|
|
|
|
line: '3665',
|
|
|
|
routine: 'errorMissingColumn'
|
|
|
|
}
|
|
|
|
GET /api/sav/stats 500 in 11ms
|
|
|
|
GET /api/sav/tickets 500 in 12ms
|
|
|
|
GET /api/user 401 in 2ms
|
|
|
|
📄 SPA: Serving index.html for /auth
|
|
|
|
GET /api/user 401 in 1ms
|
|
|
|
GET /api/user 401 in 1ms
|
|
|
|
GET /api/default-credentials-check 304 in 3ms |