Skip to content

Commit 8d20f06

Browse files
committed
troubleshooting section
1 parent 1621b41 commit 8d20f06

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/open-source-self-hosting.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,30 @@ git stash pop
384384
./stop.sh && ./start.sh
385385
```
386386

387+
## Troubleshooting
388+
389+
- **Deployment fails at the push step.** The machine running `deploy` needs registry access:
390+
391+
```bash
392+
docker login -u <username> <registry>
393+
# this should now succeed
394+
npx trigger.dev@latest deploy --self-hosted --push
395+
```
396+
397+
- **Prod runs fail to start.** The `docker-provider` needs registry access:
398+
399+
```bash
400+
# single server? run this:
401+
docker exec -ti \
402+
trigger-docker-provider-1 \
403+
docker login -u <your_dockerhub_username> docker.io
404+
405+
# split webapp and worker? run this on the worker:
406+
docker exec -ti \
407+
trigger-worker-docker-provider-1 \
408+
docker login -u <your_dockerhub_username> docker.io
409+
```
410+
387411
## CLI usage
388412

389413
This section highlights some of the CLI commands and options that are useful when self-hosting. Please check the [CLI reference](/cli-introduction) for more in-depth documentation.

0 commit comments

Comments
 (0)