Skip to content

[BUG] Internal Server Error 3.7.2 #1704

Description

@RAZECLUB

OmniRoute Version

3.7.2

Installation Method

npm (global)

Operating System

Windows

OS Version

Windows 10 22H2

Node.js Version

22.22.2

Provider(s) Involved

No response

Model(s) Involved

No response

Client Tool

No response

Description


/ __ \ () __ \ | |
| | | |
__ ___ _ __ | |) | _ | | ___
| | | | '_ ` _ \| '_ \ | _ // _ \| | | | / _ \
| |
| | | | | | | | | | | | \ \ () | || | || /
\/|| || ||| |||| \\
/ \,_|\\__|

⏳ Starting server...

▲ Next.js 16.2.4

[CREDENTIALS] No external credentials file found, using defaults.
Failed to prepare server TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
⨯ unhandledRejection: TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
Failed to prepare server TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
at ignore-listed frames {
code: 'ERR_INVALID_FILE_URL_PATH',
input: URL {
href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
search: '',
searchParams: URLSearchParams {},
hash: ''
}
}

Steps to Reproduce

  1. Install omniroute 3.7.2
  2. Start omniroute

Expected Behavior

Work

Actual Behavior

Nonwork

Test Impact

Needs a new unit test

Error Logs / Output

____                  _ ____              _
   / __ \\                (_) __ \\            | |
  | |  | |_ __ ___  _ __ _| |__) |___  _   _| |_ ___
  | |  | | '_ ` _ \\| '_ \\ |  _  // _ \\| | | | __/ _ \\
  | |__| | | | | | | | | | | | \\ \\ (_) | |_| | ||  __/
   \\____/|_| |_| |_|_| |_|_|_|  \\_\\___/ \\__,_|\\__\\___|

  ⏳ Starting server...

▲ Next.js 16.2.4
- Local:         http://localhost:20128
- Network:       http://0.0.0.0:20128
✓ Ready in 0ms

  ✔ OmniRoute is running!

    Dashboard:  http://localhost:20128
    API Base:   http://localhost:20128/v1

    Point your CLI tool (Cursor, Cline, Codex) to:
    http://localhost:20128/v1

    Press Ctrl+C to stop

[CREDENTIALS] No external credentials file found, using defaults.
Failed to prepare server TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
⨯ unhandledRejection:  TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
Failed to prepare server TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}
TypeError: An error occurred while loading instrumentation hook: File URL path must be absolute
    at ignore-listed frames {
  code: 'ERR_INVALID_FILE_URL_PATH',
  input: URL {
    href: 'file:///home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    origin: 'null',
    protocol: 'file:',
    username: '',
    password: '',
    host: '',
    hostname: '',
    port: '',
    pathname: '/home/runner/work/OmniRoute/OmniRoute/src/lib/db/migrationRunner.ts',
    search: '',
    searchParams: URLSearchParams {},
    hash: ''
  }
}

Screenshots

No response

Additional Context

No response

Validation Plan

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions