Closed nixilb closed 2 years ago
What's the issue with caprover login
?
If caprover serversetup
says your server is fully configured, all you need to do is to run caprover login
serversetup failed because the second password was not the same as the first one. It didn't say it was configured. (for instance I didn't get the opportunity to enter the email address to get certificate and enable HTTPS)
Is it possible to avoid: docker service rm $(docker service ls -q) rm -rf /captain docker swarm leave --force
If serversetup
exits before you enable HTTPs, you can always run serversetup
again.
yes, but is stops saying:
You may have already setup the server with root domain: vps-roro.ovh! Use caprover login to log into an existing server.
even if it did'nt end correctly
Okay, so just login to your dashboard via web: captain.yourrootdomain.com
and just user captain42
as password.
Then click on ENABLE HTTPS > enter email Then click on FORCE HTTPS
Then run caprover login
on your local machine
captain.yourrootdomain.com:3000 I suppose
yes, but you don't need :3000 probably
Done (the port was needed). I suppose it fixed the HTTPS part. I worry about the badly entered password it asked twice. And what about the CapRover machine name, with whom the login credentials are stored locally ? I hadn't the opportunity to enter it
You can use caprover login
and save the credentials locally
what is it for (local credentials)?
When you want to run caprover deploy
it uses those creds.
Login fails (may be because the password I was not able to enter in the setup fails?):
e:>caprover login Login to a CapRover machine...
? CapRover machine URL address, it is "[http[s]://][captain.]your-captain-root.domain": http://captain.vps-roro.ovh ? CapRover machine password: [hidden] ? CapRover machine name, with whom the login credentials are stored locally: fidji
Something bad happened: cannot save fidji at http://captain.vps-roro.ovh. 302 - undefined
For your root domain enter https if you've enabled HTTPS
I was able to login using captain42 as a password:
Login to a CapRover machine...
? CapRover machine URL address, it is "[http[s]://][captain.]your-captain-root.domain": https://captain.vps-roro.ovh ? CapRover machine password: [hidden] ? CapRover machine name, with whom the login credentials are stored locally: fidji
Logged in successfully. Authorization token is now saved as fidji at https://captain.vps-roro.ovh.
And now does C:\Users\nisju.config\configstore\caprover.json exist.
How to change psw?
I changed password in the dashboard. I can now connect to the dashboard to the new one. Now I suppose the auth part in C:\Users\nisju.config\configstore\caprover.json is wrong. Should I caprover login again with the new password?
Yes. You can first logout, then log in using the new password.
Done. Do you think everything is ok now?
It should be
Merci +++. (awesome support)
serversetup failed because the second password was not the same as the first one. As is is HIDDEN I had no chance to now what the first one was.
Now I'm stuck:
The caprover login in another nightmare. I want to go back. where is the state to delete?
Tried in C:\Users\nisju.config\configstore but failed.
I just want to rollback to the state before.
By the way: there is NO PIRATES behind me in my room.