Edit: /opt/canhelp/logs/api-error-0.log (29915B)
2026-04-21T20:46:55: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:55: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:55: at Object.
(/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:55: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:55: }
2026-04-21T20:46:55: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:55: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:55: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:55: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:55: }
2026-04-21T20:46:55: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:55: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:55: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:55: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:55: }
2026-04-21T20:46:55: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:55: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:55: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:55: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:55: }
2026-04-21T20:46:56: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:56: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:56: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:56: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:56: }
2026-04-21T20:46:56: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:56: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:56: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:56: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:56: }
2026-04-21T20:46:56: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:56: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:56: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:56: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:56: }
2026-04-21T20:46:57: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:57: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:57: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:57: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:57: }
2026-04-21T20:46:57: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:57: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:57: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:57: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:57: }
2026-04-21T20:46:57: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:46:57: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:46:57: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:46:57: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:46:57: }
2026-04-21T20:48:17: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:17: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:17: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:17: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:17: }
2026-04-21T20:48:18: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:18: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:18: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:18: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:18: }
2026-04-21T20:48:18: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:18: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:18: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:18: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:18: }
2026-04-21T20:48:19: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:19: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:19: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:19: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:19: }
2026-04-21T20:48:19: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:19: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:19: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:19: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:19: }
2026-04-21T20:48:20: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:20: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:20: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:20: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:20: }
2026-04-21T20:48:20: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:20: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:20: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:20: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:20: }
2026-04-21T20:48:21: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:21: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:21: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:21: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:21: }
2026-04-21T20:48:21: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:21: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:21: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:21: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:21: }
2026-04-21T20:48:22: Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/canhelp/node_modules/tsx/dist/cli.mjs not supported.
2026-04-21T20:48:22: Instead change the require of /opt/canhelp/node_modules/tsx/dist/cli.mjs to a dynamic import() which is available in all CommonJS modules.
2026-04-21T20:48:22: at Object. (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23) {
2026-04-21T20:48:22: code: 'ERR_REQUIRE_ESM'
2026-04-21T20:48:22: }
2026-04-28T00:47:45: [2m2026-04-27T21:47:45.860Z[0m [31mERROR[0m [1m[Better Auth]:[0m Invalid password
2026-04-28T00:47:56: [2m2026-04-27T21:47:56.400Z[0m [31mERROR[0m [1m[Better Auth]:[0m Invalid password
2026-04-29T20:42:48: [BackupImport] table error Error: psql exited 2: psql: error: connection to server at "localhost" (::1), port 5432 failed: Connection refused
2026-04-29T20:42:48: Is the server running on that host and accepting TCP/IP connections?
2026-04-29T20:42:48: connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: password authentication failed for user "canhelp"
2026-04-29T20:42:48:
2026-04-29T20:42:48: at ChildProcess. (/opt/canhelp/apps/api/src/routes/admin.ts:1314:30)
2026-04-29T20:42:48: at ChildProcess.emit (node:events:519:28)
2026-04-29T20:42:48: at maybeClose (node:internal/child_process:1101:16)
2026-04-29T20:42:48: at ChildProcess._handle.onexit (node:internal/child_process:304:5)
2026-04-29T20:42:48: at Process.callbackTrampoline (node:internal/async_hooks:130:17)
2026-04-29T20:44:55: [2m2026-04-29T17:44:55.276Z[0m [31mERROR[0m [1m[Better Auth]:[0m Failed to parse state [StateError [BetterAuthError]: State mismatch: verification not found] {
2026-04-29T20:44:55: code: 'state_mismatch',
2026-04-29T20:44:55: details: { state: 'sw13myehXE7IZ-0HUp62dElrhaXcIvxO' }
2026-04-29T20:44:55: }
2026-04-29T22:50:10: [BackupImport] table error Error: psql exited 2: psql: error: connection to server at "localhost" (::1), port 5432 failed: Connection refused
2026-04-29T22:50:10: Is the server running on that host and accepting TCP/IP connections?
2026-04-29T22:50:10: connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: password authentication failed for user "canhelp"
2026-04-29T22:50:10:
2026-04-29T22:50:10: at ChildProcess. (/opt/canhelp/apps/api/src/routes/admin.ts:1314:30)
2026-04-29T22:50:10: at ChildProcess.emit (node:events:519:28)
2026-04-29T22:50:10: at maybeClose (node:internal/child_process:1101:16)
2026-04-29T22:50:10: at ChildProcess._handle.onexit (node:internal/child_process:304:5)
2026-04-29T22:50:10: at Process.callbackTrampoline (node:internal/async_hooks:130:17)
2026-04-29T22:56:00: [BackupImport] table error Error: psql exited 2: psql: error: connection to server at "localhost" (::1), port 5432 failed: Connection refused
2026-04-29T22:56:00: Is the server running on that host and accepting TCP/IP connections?
2026-04-29T22:56:00: connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: password authentication failed for user "canhelp"
2026-04-29T22:56:00:
2026-04-29T22:56:00: at ChildProcess. (/opt/canhelp/apps/api/src/routes/admin.ts:1314:30)
2026-04-29T22:56:00: at ChildProcess.emit (node:events:519:28)
2026-04-29T22:56:00: at maybeClose (node:internal/child_process:1101:16)
2026-04-29T22:56:00: at ChildProcess._handle.onexit (node:internal/child_process:304:5)
2026-04-29T22:56:00: at Process.callbackTrampoline (node:internal/async_hooks:130:17)
2026-04-30T00:35:21: [2m2026-04-29T21:35:21.524Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-09T22:00:44: [2m2026-05-09T19:00:44.625Z[0m [31mERROR[0m [1m[Better Auth]:[0m Failed to parse state [StateError [BetterAuthError]: State mismatch: verification not found] {
2026-05-09T22:00:44: code: 'state_mismatch',
2026-05-09T22:00:44: details: { state: 'm06Kij7sMm6RPEARy5plhqBhM6OqgcqA' }
2026-05-09T22:00:44: }
2026-05-10T04:24:44: [2m2026-05-10T01:24:44.015Z[0m [31mERROR[0m [1m[Better Auth]:[0m Failed to parse state [StateError [BetterAuthError]: State mismatch: verification not found] {
2026-05-10T04:24:44: code: 'state_mismatch',
2026-05-10T04:24:44: details: { state: 'mGSKij7sMmqRPEARyrplhqBhMeOqgc2A' }
2026-05-10T04:24:44: }
2026-05-10T22:55:27: [2m2026-05-10T19:55:27.189Z[0m [31mERROR[0m [1m[Better Auth]:[0m Failed to parse state [StateError [BetterAuthError]: State mismatch: verification not found] {
2026-05-10T22:55:27: code: 'state_mismatch',
2026-05-10T22:55:27: details: { state: 'm-GS2ij7sMm6RP8A7yrplh6B9MeOq4cq' }
2026-05-10T22:55:27: }
2026-05-15T10:29:41: [2m2026-05-15T07:29:41.186Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-15T11:48:13: [2m2026-05-15T08:48:13.895Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-15T15:48:08: [2m2026-05-15T12:48:08.971Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-15T15:49:06: [API Error] error: relation "support_tickets" does not exist
2026-05-15T15:49:06: at /opt/canhelp/node_modules/pg-pool/index.js:45:11
2026-05-15T15:49:06: at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
2026-05-15T15:49:06: at async (/opt/canhelp/node_modules/src/node-postgres/session.ts:144:19)
2026-05-15T15:49:06: at async (/opt/canhelp/apps/api/src/routes/support.ts:75:16)
2026-05-15T15:49:06: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-15T15:49:06: at async (/opt/canhelp/apps/api/src/middleware/auth.ts:32:5)
2026-05-15T15:49:06: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-15T15:49:06: at async logger2 (/opt/canhelp/node_modules/hono/dist/cjs/middleware/logger/index.js:65:5)
2026-05-15T15:49:06: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-15T15:49:06: at async cors2 (/opt/canhelp/node_modules/hono/dist/cjs/middleware/cors/index.js:103:5) {
2026-05-15T15:49:06: length: 115,
2026-05-15T15:49:06: severity: 'ERROR',
2026-05-15T15:49:06: code: '42P01',
2026-05-15T15:49:06: detail: undefined,
2026-05-15T15:49:06: hint: undefined,
2026-05-15T15:49:06: position: '336',
2026-05-15T15:49:06: internalPosition: undefined,
2026-05-15T15:49:06: internalQuery: undefined,
2026-05-15T15:49:06: where: undefined,
2026-05-15T15:49:06: schema: undefined,
2026-05-15T15:49:06: table: undefined,
2026-05-15T15:49:06: column: undefined,
2026-05-15T15:49:06: dataType: undefined,
2026-05-15T15:49:06: constraint: undefined,
2026-05-15T15:49:06: file: 'parse_relation.c',
2026-05-15T15:49:06: line: '1449',
2026-05-15T15:49:06: routine: 'parserOpenTable'
2026-05-15T15:49:06: }
2026-05-18T09:13:52: [2m2026-05-18T06:13:52.022Z[0m [31mERROR[0m [1m[Better Auth]:[0m Failed to create user [BetterAuthError: The field "refCode" does not exist in the "user" Drizzle schema. Please update your drizzle schema or re-generate using "npx auth@latest generate".]
2026-05-19T17:15:46: [2m2026-05-19T14:15:46.583Z[0m [31mERROR[0m [1m[Better Auth]:[0m Failed to create user [BetterAuthError: The field "refCode" does not exist in the "user" Drizzle schema. Please update your drizzle schema or re-generate using "npx auth@latest generate".]
2026-05-19T17:25:34: [2m2026-05-19T14:25:34.422Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-19T20:52:54: [2m2026-05-19T17:52:54.301Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-19T21:14:53: [2m2026-05-19T18:14:53.528Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-19T22:15:45: [API Error] error: relation "plan_history" does not exist
2026-05-19T22:15:45: at /opt/canhelp/node_modules/pg-pool/index.js:45:11
2026-05-19T22:15:45: at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
2026-05-19T22:15:45: at async (/opt/canhelp/node_modules/src/node-postgres/session.ts:144:19)
2026-05-19T22:15:45: at async (/opt/canhelp/apps/api/src/routes/users.ts:70:16)
2026-05-19T22:15:45: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T22:15:45: at async (/opt/canhelp/apps/api/src/middleware/auth.ts:17:5)
2026-05-19T22:15:45: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T22:15:45: at async logger2 (/opt/canhelp/node_modules/hono/dist/cjs/middleware/logger/index.js:65:5)
2026-05-19T22:15:45: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T22:15:45: at async cors2 (/opt/canhelp/node_modules/hono/dist/cjs/middleware/cors/index.js:103:5) {
2026-05-19T22:15:45: length: 112,
2026-05-19T22:15:45: severity: 'ERROR',
2026-05-19T22:15:45: code: '42P01',
2026-05-19T22:15:45: detail: undefined,
2026-05-19T22:15:45: hint: undefined,
2026-05-19T22:15:45: position: '176',
2026-05-19T22:15:45: internalPosition: undefined,
2026-05-19T22:15:45: internalQuery: undefined,
2026-05-19T22:15:45: where: undefined,
2026-05-19T22:15:45: schema: undefined,
2026-05-19T22:15:45: table: undefined,
2026-05-19T22:15:45: column: undefined,
2026-05-19T22:15:45: dataType: undefined,
2026-05-19T22:15:45: constraint: undefined,
2026-05-19T22:15:45: file: 'parse_relation.c',
2026-05-19T22:15:45: line: '1449',
2026-05-19T22:15:45: routine: 'parserOpenTable'
2026-05-19T22:15:45: }
2026-05-19T22:16:32: [API Error] error: relation "plan_history" does not exist
2026-05-19T22:16:32: at /opt/canhelp/node_modules/pg-pool/index.js:45:11
2026-05-19T22:16:32: at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
2026-05-19T22:16:32: at async (/opt/canhelp/node_modules/src/node-postgres/session.ts:144:19)
2026-05-19T22:16:32: at async (/opt/canhelp/apps/api/src/routes/users.ts:70:16)
2026-05-19T22:16:32: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T22:16:32: at async (/opt/canhelp/apps/api/src/middleware/auth.ts:17:5)
2026-05-19T22:16:32: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T22:16:32: at async logger2 (/opt/canhelp/node_modules/hono/dist/cjs/middleware/logger/index.js:65:5)
2026-05-19T22:16:32: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T22:16:32: at async cors2 (/opt/canhelp/node_modules/hono/dist/cjs/middleware/cors/index.js:103:5) {
2026-05-19T22:16:32: length: 112,
2026-05-19T22:16:32: severity: 'ERROR',
2026-05-19T22:16:32: code: '42P01',
2026-05-19T22:16:32: detail: undefined,
2026-05-19T22:16:32: hint: undefined,
2026-05-19T22:16:32: position: '176',
2026-05-19T22:16:32: internalPosition: undefined,
2026-05-19T22:16:32: internalQuery: undefined,
2026-05-19T22:16:32: where: undefined,
2026-05-19T22:16:32: schema: undefined,
2026-05-19T22:16:32: table: undefined,
2026-05-19T22:16:32: column: undefined,
2026-05-19T22:16:32: dataType: undefined,
2026-05-19T22:16:32: constraint: undefined,
2026-05-19T22:16:32: file: 'parse_relation.c',
2026-05-19T22:16:32: line: '1449',
2026-05-19T22:16:32: routine: 'parserOpenTable'
2026-05-19T22:16:32: }
2026-05-19T23:35:02: [API Error] error: relation "plan_history" does not exist
2026-05-19T23:35:02: at /opt/canhelp/node_modules/pg-pool/index.js:45:11
2026-05-19T23:35:02: at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
2026-05-19T23:35:02: at async (/opt/canhelp/node_modules/src/node-postgres/session.ts:144:19)
2026-05-19T23:35:02: at async (/opt/canhelp/apps/api/src/routes/users.ts:70:16)
2026-05-19T23:35:02: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T23:35:02: at async (/opt/canhelp/apps/api/src/middleware/auth.ts:17:5)
2026-05-19T23:35:02: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T23:35:02: at async logger2 (/opt/canhelp/node_modules/hono/dist/cjs/middleware/logger/index.js:65:5)
2026-05-19T23:35:02: at async dispatch (/opt/canhelp/node_modules/hono/dist/cjs/compose.js:43:17)
2026-05-19T23:35:02: at async cors2 (/opt/canhelp/node_modules/hono/dist/cjs/middleware/cors/index.js:103:5) {
2026-05-19T23:35:02: length: 112,
2026-05-19T23:35:02: severity: 'ERROR',
2026-05-19T23:35:02: code: '42P01',
2026-05-19T23:35:02: detail: undefined,
2026-05-19T23:35:02: hint: undefined,
2026-05-19T23:35:02: position: '176',
2026-05-19T23:35:02: internalPosition: undefined,
2026-05-19T23:35:02: internalQuery: undefined,
2026-05-19T23:35:02: where: undefined,
2026-05-19T23:35:02: schema: undefined,
2026-05-19T23:35:02: table: undefined,
2026-05-19T23:35:02: column: undefined,
2026-05-19T23:35:02: dataType: undefined,
2026-05-19T23:35:02: constraint: undefined,
2026-05-19T23:35:02: file: 'parse_relation.c',
2026-05-19T23:35:02: line: '1449',
2026-05-19T23:35:02: routine: 'parserOpenTable'
2026-05-19T23:35:02: }
2026-05-20T09:40:57: [2m2026-05-20T06:40:57.476Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-21T05:30:57: [2m2026-05-21T02:30:57.592Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-21T05:37:01: [2m2026-05-21T02:37:01.581Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-22T12:34:51: [2m2026-05-22T09:34:51.968Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-22T12:56:56: [2m2026-05-22T09:56:56.191Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-22T13:18:57: [2m2026-05-22T10:18:57.297Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-22T13:45:16: [2m2026-05-22T10:45:16.781Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-25T21:34:57: [2m2026-05-25T18:34:57.995Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-26T11:06:57: [2m2026-05-26T08:06:57.587Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-26T20:58:33: [2m2026-05-26T17:58:33.259Z[0m [31mERROR[0m [1m[Better Auth]:[0m Invalid password
2026-05-26T20:58:45: [2m2026-05-26T17:58:45.739Z[0m [31mERROR[0m [1m[Better Auth]:[0m Invalid password
2026-05-26T21:50:52: [2m2026-05-26T18:50:52.499Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-26T22:09:06: [2m2026-05-26T19:09:06.783Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-28T16:28:09: node:events:497
2026-05-28T16:28:09: throw er; // Unhandled 'error' event
2026-05-28T16:28:09: ^
2026-05-28T16:28:09:
2026-05-28T16:28:09: Error: Connection terminated unexpectedly
2026-05-28T16:28:09: at Connection. (/opt/canhelp/node_modules/pg/lib/client.js:180:73)
2026-05-28T16:28:09: at Object.onceWrapper (node:events:633:28)
2026-05-28T16:28:09: at Connection.emit (node:events:519:28)
2026-05-28T16:28:09: at Socket. (/opt/canhelp/node_modules/pg/lib/connection.js:61:12)
2026-05-28T16:28:09: at Socket.emit (node:events:519:28)
2026-05-28T16:28:09: at TCP. (node:net:346:12)
2026-05-28T16:28:09: at TCP.callbackTrampoline (node:internal/async_hooks:130:17)
2026-05-28T16:28:09: Emitted 'error' event on BoundPool instance at:
2026-05-28T16:28:09: at Client.idleListener (/opt/canhelp/node_modules/pg-pool/index.js:62:10)
2026-05-28T16:28:09: at Client.emit (node:events:519:28)
2026-05-28T16:28:09: at Client._handleErrorEvent (/opt/canhelp/node_modules/pg/lib/client.js:393:10)
2026-05-28T16:28:09: at Connection. (/opt/canhelp/node_modules/pg/lib/client.js:198:16)
2026-05-28T16:28:09: at Object.onceWrapper (node:events:633:28)
2026-05-28T16:28:09: at Connection.emit (node:events:519:28)
2026-05-28T16:28:09: at Socket. (/opt/canhelp/node_modules/pg/lib/connection.js:61:12)
2026-05-28T16:28:09: at Socket.emit (node:events:519:28)
2026-05-28T16:28:09: at TCP. (node:net:346:12)
2026-05-28T16:28:09: at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
2026-05-28T16:28:09: client: Client {
2026-05-28T16:28:09: _events: [Object: null prototype] { error: [Function (anonymous)] },
2026-05-28T16:28:09: _eventsCount: 1,
2026-05-28T16:28:09: _maxListeners: undefined,
2026-05-28T16:28:09: connectionParameters: ConnectionParameters {
2026-05-28T16:28:09: user: 'canhelp',
2026-05-28T16:28:09: database: 'canhelp',
2026-05-28T16:28:09: port: 5432,
2026-05-28T16:28:09: host: 'localhost',
2026-05-28T16:28:09: binary: false,
2026-05-28T16:28:09: options: undefined,
2026-05-28T16:28:09: ssl: false,
2026-05-28T16:28:09: client_encoding: '',
2026-05-28T16:28:09: replication: undefined,
2026-05-28T16:28:09: isDomainSocket: false,
2026-05-282026-05-29T00:07:51: [2m2026-05-28T21:07:51.492Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-29T00:37:46: [2m2026-05-28T21:37:46.869Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-05-29T23:06:16: [2m2026-05-29T20:06:16.774Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-06-01T23:10:25: [2m2026-06-01T20:10:25.467Z[0m [31mERROR[0m [1m[Better Auth]:[0m User not found { email: 'sofia050680@gmail.com' }
2026-06-10T22:22:26: [2m2026-06-10T19:22:26.905Z[0m [33mWARN[0m [1m[Better Auth]:[0m Rate limiting skipped: could not determine client IP address. If you're behind a reverse proxy, make sure to configure `trustedProxies` in your auth config.
2026-06-11T18:03:59: [2m2026-06-11T15:03:59.454Z[0m [31mERROR[0m [1m[Better Auth]:[0m Invalid password