Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Vercel build and local build do not work with 3.0.3 #3914

@rich-info

Description

@rich-info

Describe the Bug

When building Umami v3.0.3 from a fresh fork, the build process hangs indefinitely after the database checks complete.
The problem occurs both locally and on Vercel. There is no error output after the Prisma/database validation succeeds.

Steps to Reproduce

  1. Create a fresh fork/clone of the Umami GitHub repository
  2. Create a new PostgreSQL database
  3. Set the required environment variables (including DATABASE_URL)
  4. Run:
pnpm install
pnpm build
  1. Build reaches the database check step:
> node scripts/check-db.js


✓ DATABASE_URL is defined.
✓ Database connection successful.
✓ Database version check successful.

After this point, the build hangs indefinitely with no further output or progress.

Image

This is not an upgrade from a previous version. It occurs on a completely fresh setup.
The database connection and version check succeed, which suggests Prisma can connect correctly.

Database

PostgreSQL

Relevant log output

> node scripts/check-db.js

✓ DATABASE_URL is defined.
✓ Database connection successful.
✓ Database version check successful.

Which Umami version are you using? (if relevant)

3.0.3

Which browser are you using? (if relevant)

Not relevant

How are you deploying your application? (if relevant)

Vercel (but the same problem occurs with the local build, too)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions