caprover-cli icon indicating copy to clipboard operation
caprover-cli copied to clipboard

serversetup needs to run twice for a recycled server

Open githubsaturn opened this issue 4 years ago • 0 comments

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.

githubsaturn avatar Jun 17 '20 23:06 githubsaturn