How to Login on Self Hosted Instance #1776
Replies: 13 comments 40 replies
-
You should see a registration page where you create your username and password, which will be the first account in the system as admin. From that point, you can login with the account created, and also invite other users to your dashboard. If you only see a login page right after deployment, probably your server is not running, and frontend cannot reach out to the server then. |
Beta Was this translation helpful? Give feedback.
-
It worked after changing the localhost to its own ip address. Thank you for your help. I need to now configure email smtp for alerts. |
Beta Was this translation helpful? Give feedback.
-
@arvindgaba if you wouldn't mind sharing some details about your setup that would be great too, it would be good to know why localhost doesn't work for you so we can figure out a solution 👍 Any details would be helpful, hardware, network, etc |
Beta Was this translation helpful? Give feedback.
-
I've already solved this problem.My experience was that just replaced the localhost to YOUR OWN SERVER IP. |
Beta Was this translation helpful? Give feedback.
-
I'm new to Checkmate and just trying to get it up and running. Starting a test deployment on a server so needed to change the port forwarding to not be global as to not bypass local firewall. With that said, I am able to access the client interface via the browser, but still very unsure how to create the default user or if there are any underlying problems. I'm not noticing anything that stands out in the docker logs. Within each container I can ping the other containers. Is there documentation about the initial user setup? I can't seem to find anything. |
Beta Was this translation helpful? Give feedback.
-
Hey @nicholas-a-guerra, We need to know a little bit about your setup to be able to help. The issue is that your Client and Server are both running, but the Client cannot talk to the Server. This is almost always because the base API url is set to the wrong value. Are you running via docker compose? If so, you should set the api url in the docker compose file. If you are running local development servers for client and server then you should set the api url in the client's env file |
Beta Was this translation helpful? Give feedback.
-
Hi @nicholas-a-guerra , I'm not sure I'm understanding the issue here. Access to the server always requires authentication, you cannot access any sensitive endpoints of the server without an access token. The client is simply an interface to the server. In any web applicatoin the client is always assuemed to be insecure and compromised as we have no control over it. All authentication happens on the server end. |
Beta Was this translation helpful? Give feedback.
-
@nicholas-a-guerra yes the basic idea is that the front end and the backend are totally ignorant of each other, you can host them however you like. Flexibility is key for us, but we also try to provide an out of the box solution for hobby users wanting to run on their own with minimal config. The backend is a RESTful API so you can interact with it with any client you like really. You can use the whole application via cURL if you wanted to. You don't have to use our Frontend at all. I like the idea of reverse ping, that is a useful feature and I think we can build that in to a future release! |
Beta Was this translation helpful? Give feedback.
-
@nicholas-a-guerra wondering if you have been able to install? (ignoring the two features you mentioned) |
Beta Was this translation helpful? Give feedback.
-
Sorry to hijack this thread but I have a similar issue, in that the client is not able to connect to the server. I've used the default docker compose and just changed the exposed ports since of course 80/443/5000/6379/27017 are already used by various other apps. The project runs fine and the logs don't show any issues. I've also tried disabling the firewall. Although I have put the new exposed port (5050) in the 'UPTIME_APP_API_BASE_URL' env, it won't connect and I get the usual Network error when trying to log in via web app. What I've tried as values so far:
Also I've tried making use of the docker network:
Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
-
Hey @aeonoea, Sorry for the slow response, thanks for posting your data. You don't require a I believe your issue is here:
This is the URL that your Client uses to connect to the Server. Your Client runs in your browser, not your Docker network, so you cannot use docker container names to connect to the server. You should use |
Beta Was this translation helpful? Give feedback.
-
@izonejangwonyoung if you can also share your docker compose file I'd be happy to take a look. |
Beta Was this translation helpful? Give feedback.
-
I've done what everyone is suggesting here, but am still running into an issue. Seems that the local IP (Server IP:5000) is causing a CORS issue with login and throws the same network error. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the default ID and Password after you use the YML to install a self hosted auto-installation.
How can we create the user, please help I would like to get started.
Beta Was this translation helpful? Give feedback.
All reactions