trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

Self hosting: creating a new project loop

Open danielmadu opened this issue 9 months ago • 4 comments

Provide environment information

System: OS: Linux 5.15 Debian GNU/Linux 11 (bullseye) 11 (bullseye) CPU: (4) arm64 Neoverse-N1 Memory: 18.23 GB / 23.43 GB Container: Yes Shell: 5.1.4 - /bin/bash Binaries: Node: 20.11.1 - /usr/local/bin/node npm: 10.2.4 - /usr/local/bin/npm pnpm: 8.15.5 - /usr/local/bin/pnpm

Describe the bug

When I run the self-host at first time I follow the onboard and create the organization and the first project but I redirect to create new project again, when change the another path, redirect to create new project screen.

Image

The logs display that the project was not found when I change the path:

Image

I checked the database and the project was created:

Image

Reproduction repo

N/A

To reproduce

Running first time self-hosted on docker

Additional information

When click in Cancel redirect to new project too

danielmadu avatar Apr 12 '25 03:04 danielmadu

@danielmadu Do you get other errors in the terminal before the 404?

matt-aitken avatar Apr 12 '25 09:04 matt-aitken

@matt-aitken No, and the log don't has 404 error, when I try access the path with the slug recorded I get a 302 and redirect again to new project

danielmadu avatar Apr 13 '25 04:04 danielmadu

@danielmadu was this following our official self-hosting guide? Where are you deploying to?

matt-aitken avatar Apr 15 '25 11:04 matt-aitken

@matt-aitken I deployed using coolify https://github.com/coollabsio/coolify

danielmadu avatar Apr 21 '25 06:04 danielmadu

Their template (which is unofficial has some issues). I recommend you try this guide instead for Coolify: https://github.com/Mortalife/trigger-dev-coolify

matt-aitken avatar Apr 28 '25 16:04 matt-aitken