Skip to content

Commit

Permalink
Update troubleshooting-pro.md
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn authored Oct 2, 2023
1 parent 30e2170 commit 92b4c4c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/troubleshooting-pro.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,24 @@ docker exec -it $(docker ps --filter name=captain-captain -q) npm run disable-ot
```


## Deploy with OTP enabled

When you have OTP enabled, you cannot deploy using regular `caprover deploy` as it requires 2FA token (`enter OTP token as well`). Instead, you should use App Tokens:
```bash
caprover deploy --caproverUrl https://captain.domain.com --appToken 123456123456123456 --appName my-app -b main
```

You can enable App Token from Deployment tab. Alternatively, you can use the following format (not recommended):

```bash
CAPROVER_OTP_TOKEN=123456; caprover login

## or

CAPROVER_OTP_TOKEN=123456; caprover deploy
```


## Email support

Our paid Pro plan includes a 24hr SLA email support. You can email us at `pro.support at/caprover/dot/com` to get support. Please be sure to use the same email that you've used for purchase.

0 comments on commit 92b4c4c

Please sign in to comment.