Skip to content

Bug - LOTW cron failing #139

@patrickrb

Description

@patrickrb

Getting the following error when trying to run the LOTW cron jobs:

Request headers (excluding sensitive data): {
'user-agent': 'vercel-cron/1.0',
'x-vercel-id': 'iad1::7rqkw-1755800199664-0d670f35ff7e',
'x-forwarded-for': '52.23.241.172',
host: 'nodelog-cmvlcic1b-patrickrbs-projects.vercel.app',
'has-authorization': true,
'cron-secret-configured': true
}
Starting LoTW upload cron job...
Database query error: {
error: 'relation "lotw_credentials" does not exist',
query: '\n' +
' SELECT DISTINCT s.id, s.callsign, s.user_id\n' +
' FROM stations s\n' +
' LEFT JOIN lotw_creden...',
params: 'no params'
}
LoTW upload cron error: error: relation "lotw_credentials" does not exist
at async i (.next/server/app/api/cron/lotw-upload/route.js:1:630)
at async i (.next/server/app/api/cron/lotw-upload/route.js:1:3820) {
length: 115,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '90',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '1449',
routine: 'parserOpenTable'
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions