serversetup needs to run twice for a recycled server

Open
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
cli

Research direction

Start by reproducing the documented sequence with caprover serversetup, including removing and reinstalling CapRover and running caprover logout. Trace the serversetup flow around the resulting 404; done means a recycled server can be set up successfully on the first attempt.

Written by the indexing model from the issue text.

Description

Full discussion thread here: https://github.com/caprover/caprover-cli/issues/55#issuecomment-645252252

Steps to repro:

  • Create a brand new server
  • Install CapRover on the server
  • Run caprover serversetup on your local machine and setup your server
  • At this point the server is working fine and you can deploy apps if you choose too
  • Now remove CapRover from the server completely.
  • Run caprover logout on your local machine to clean the local data
  • Reinstall CapRover on the server again.
  • Try setting up your server by running caprover serversetup on your local machine
  • At this point, you should observe the issue and get the 404 error.
Dominant language
TypeScript
Stars
78
Forks
43
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from caprover/caprover-cli

All issues in caprover/caprover-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.