Repository navigation
I buy vps from hostinger with pre installed dockploy and i click on go to panel then i directly see the login page and i explicity triggered the /register page then ti's redirect to login page now how i login ? #5585
Replies: 2 comments
|
Hello @NikhilPatodia When we buy a VPS from Hostinger with Dokploy pre installed, they already run through the initial setup so an admin account might already exists. Thats why To fix this, SSH into your VPS as root and run these commands. Dokploy runs as a Docker Swarm service so the container names have a suffix like
docker exec $(docker ps -qf name=dokploy-postgres) psql -U dokploy -d dokploy -c "SELECT u.email FROM \"user\" u JOIN member m ON u.id = m.user_id WHERE m.role = 'owner';"
docker exec $(docker ps -qf name=dokploy.1) pnpm run reset-passwordThis will print a new password in the terminal. Use that with the email from the first command to login. |
|
Adding some context in case it helps others who land here. When I set up Dokploy on a Hostinger VPS, I opened the panel at http://YOUR_VPS_IP:3000 (the IPv4 address is on the VPS Overview page in hPanel) and got the admin account creation page, so I could register straight away. If you reach the panel another way, such as the Go to panel button, and see a login page instead, the account may already exist. That matches what imrja8 said above, and the reset-password steps are the way back in. Either way, don’t leave the panel on plain http://IP:3000. Add a domain with HTTPS under Settings as soon as you are logged in. I wrote up the full flow, including finding the IP, Redis, GitHub deploys and the three errors I hit, here: https://medium.com/@0l4m1de/dokploy-hostinger-vps-setup-05795107332e?sharedUserId=0l4m1de |
Uh oh!
There was an error while loading. Please reload this page.
I buy vps from hostinger with pre installed dockploy and i click on go to panel then i directly see the login page and i explicity triggered the /register page then ti's redirect to login page now how i login ?
All reactions