Hello together, I am new to netmaker and have trou...
# netmaker
r
Hello together, I am new to netmaker and have trouble installing it. My problem is that I am not able to create an admin user.
b
try clearing your brower cache
try clearing your browser cache
you can also check to see if the endpoint is reachable by trying the url
https://api.<yourdomain>/api/users/adm/hasadmin
r
Thanks, I will try and give you feedback
It would be great if you can give me a hand. I'm trying to reinstall netmaker. I'd like to use the command "sed -i 's/NETMAKER_BASE_DOMAIN//g' docker-compose.yml" to modify the docker-compase file. Can you send me an example how the command should look like. For Example for domain "test.de"
I fixed the "sed -i" issue and reinstalled netmaker. But unfortunately I have the same issue as before. I can not create an admin account.
I also tried to connect: "https://api./api/users/adm/hasadmin" and got "false" as result any ideas?
b
false is what you should get
r
now it is working ..
But I'm not sure why 🙂
h
SERVER_NAME: "test.de" SERVER_HOST: "127.0.0.1" SERVER_API_CONN_STRING: "test.de:81" COREDNS_ADDR: "127.0.0.1" DNS_MODE: "on" SERVER_HTTP_HOST: "127.0.0.1" # new API_PORT: "8081" CLIENT_MODE: "on"
r
Thanks for your support. Netmaker was running, but now I have a new problem. After creating an admin user and logging out, I' m not able to login again. I just see the "Create an Admin" Page.
b
does 'https://api./api/users/adm/hasadmin' return true or false
r
now it is true
Now at the moment I can login. Something weird is going on with my installation. DId you see similiar behavior?
b
I think you are having issues with your browser cache
r
Okay, at the moment it is working. I will keep an eye on it. What is the easiest way to create a valid ssl certificate for the quick installation?
b
just let the reverse proxy (traefik) do it
h
I use caddy to implement it. Only 81 (API), 82 (WEB) and 83 (MQ) ports are open. Traefik is too complex,
b
caddy will get the cert for you as well
h
When I don't have access to ports 80 and 443, caddy can easily solve this problem and obtain certificates.
2 Views