can you provide mq logs?
# install
b
can you provide mq logs?
b
Exactly same issue on a fresh, new install
@swift-dream-59991 have you already fixed it?
b
could you try removing the volume
docker volume rm root_mosquitto_data
and restart your containers there could be a mismatch in your config
before this can you check your traefik logs to check if the certs are generated correctly
b
nope, hasn't heelped. certificates are in place, api, broker, dashboard
but why do certs play a role here? isn't it trying to connect to mq:1883 directly?
b
mq has a wait script which queries the netmaker server whether it has started or not
can you send only mq logs?
s
@breezy-family-17075 I did fix it. I removed everything and started from scratch. The one thing I did do differently was re apply the ufw firewall rules and reloaded that. Not sure if it had anything to do with it but after reloading that the install worked fine.
b
Copy code
docker-compose logs mq                                                   
                                                                                            
mq  | fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz                                                                                                                                  
mq  | fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz                                                                                                                             
mq  | (1/3) Installing nghttp2-libs (1.41.0-r0)                                                                                                                                                                     
mq  | (2/3) Installing libcurl (7.79.1-r1)                                                                                                                                                                          
mq  | (3/3) Installing curl (7.79.1-r1)                                                                                                                                                                             
mq  | Executing busybox-1.31.1-r20.trigger                                                                                                                                                                          
mq  | OK: 7 MiB in 18 packages                                                                                                                                                                                     
mq  | SERVER: https://api.vpn.zecurity.de
b
logs after this??
could you send additional log lines after this...
b
there is no, thats the last in my mq container
ok i am wrong, after that: mq | Waiting for netmaker server to startup in endless loop
and the netmaker container is restarting again and again:
Copy code
netmaker  |  __   __     ______     ______   __    __     ______     __  __     ______     ______    
netmaker  | /\ "-.\ \   /\  ___\   /\__  _\ /\ "-./  \   /\  __ \   /\ \/ /    /\  ___\   /\  == \   
netmaker  | \ \ \-.  \  \ \  __\   \/_/\ \/ \ \ \-./\ \  \ \  __ \  \ \  _"-.  \ \  __\   \ \  __<   
netmaker  |  \ \_\\"\_\  \ \_____\    \ \_\  \ \_\ \ \_\  \ \_\ \_\  \ \_\ \_\  \ \_____\  \ \_\ \_\ 
netmaker  |   \/_/ \/_/   \/_____/     \/_/   \/_/  \/_/   \/_/\/_/   \/_/\/_/   \/_____/   \/_/ /_/ 
netmaker  |                                                                                                                                                                                                         
netmaker  | 
netmaker  | [netmaker] 2022-10-27 12:22:32 connecting to sqlite 
netmaker  | [netmaker] 2022-10-27 12:22:32 database successfully connected 
netmaker  | [netmaker] 2022-10-27 12:22:32 no OAuth provider found or not configured, continuing without OAuth 
netmaker  | [netmaker] 2022-10-27 12:22:32 MQ Is Already Configured, Skipping... 
netmaker  | [netmaker] 2022-10-27 12:22:32 REST Server successfully started on port  8081  (REST) 
netmaker  | [netmaker] 2022-10-27 12:22:32 connecting to mq broker at mq:1883 with TLS? false 
`
b
did you set mq admin password in your docker compose file?
b
yes
theat error pattern confuses me, feels like a chicken-egg problem. mq is not starting as long as netmaker is not up and netmaker cannot connect to mq, as mq is waiting, what point do I miss=
b
no it's more like your server domain is not able to reach from mq, is your DNS configured correctly for your netmaker server?
b
should but will recheck, as I understand the logs right, current issue is mq cannot reach api server thruogh traefik on the public address
right?
b
curl  "${NETMAKER_SERVER_HOST}/api/server/health"
can you run this inside your mq container?
b
have to check, I assume not otherwise the wait script would not wait ;D
thsnkd for first assist
thank you again, works now.
b
👍