caprover / caprover

Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
https://CapRover.com
Other
13.31k stars 853 forks source link

Random Break #965

Closed ddlidded closed 3 years ago

ddlidded commented 3 years ago

What is the problem? After installing the latest version of nextcloud via the caprover deployment of one-click images and now none of my other apps are accessible at all, neither is the CapRover control panel...

All it gives as an error when attempting to open the URL is:

This site can’t be reached connection was reset. Try:

Checking the connection Checking the proxy and the firewall ERR_CONNECTION_RESET

Answers to the following questions where applicable:

githubsaturn commented 3 years ago

Check your CapRover logs

docker service logs captain-captain --since 5m
ddlidded commented 3 years ago

Check your CapRover logs

docker service logs captain-captain --since 5m

Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-122-generic x86_64)

Welcome!

This server is hosted by Contabo. If you have any questions or need help, please don't hesitate to contact us at support@contabo.com.

Last login: Mon Jan 11 02:57:22 2021 from 72.199.57.154 root@vmi467451:~# docker service logs captain-captain --since 5m captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | > caprover@0.0.0 start /usr/src/app captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | > node ./built/server.js captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Captain Starting ... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.735 pm Emptying generated and temp folders. captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.751 pm Ensuring directories are available on host. Started. captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.760 pm Ensuring directories are available on host. Finished. captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.768 pm Network captain-overlay-network is already attached to service: captain-captain captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.777 pm captain-captain (service) has already been connected to secret: captain-salt captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.779 pm Migration not needed, skipping. captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.790 pm Copying fake certificates... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.797 pm Updating Load Balancer - Setting up NGINX conf file... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.797 pm Locking NGINX configuration reloading... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.821 pm SUCCESS: UNLocking NGINX configuration reloading... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:31:59.825 pm Captain Nginx is already running.. captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:02.830 pm Retrying to get NodeID for captain-nginx retry count:0 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:02.836 pm Updating NGINX service... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:02.854 pm Waiting for 5 seconds for nginx reload to take into effect captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:07.856 pm Pruning containers... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:07.858 pm NGINX is fully set up and working... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:07.863 pm Captain Certbot is already running.. captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:07.868 pm Updating Certbot service... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:07.899 pm executeCommand Container: captain-certbot certbot certificates --non-interactive captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:10.877 pm Captain is initialized and ready to serve you! captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:11.888 pm Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:54:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:11.889 pm Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:55:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:11.889 pm Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:56:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:11.890 pm Error: Wrapped: randomUuid 2fb0d176-5184-4a3f-a09f-c77dd35cb2a1 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: randomUuid 2fb0d176-5184-4a3f-a09f-c77dd35cb2a1 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:57:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:11.891 pm Captain health check failed: #0 at captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:11.891 pm NGINX health check failed: #0 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:12.893 pm Pruning containers... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:23.881 pm Retrying to get containerId for captain-certbot retry count:0 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:26.887 pm Retrying to get containerId for captain-certbot retry count:1 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:26.892 pm executeCommand Container: captain-certbot certbot certificates --non-interactive captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:30.304 pm executeCommand Container: captain-certbot certbot renew --non-interactive captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:32.900 pm Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:54:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:32.901 pm Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:55:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:32.901 pm Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:56:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:32.901 pm Error: Wrapped: randomUuid d79dcc13-3084-4480-be99-64ae3666115f captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: randomUuid d79dcc13-3084-4480-be99-64ae3666115f captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:57:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:32.902 pm Captain health check failed: #1 at captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:32.902 pm NGINX health check failed: #1 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:41.085 pm Updating Load Balancer - renewAllCerts captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:41.086 pm Locking NGINX configuration reloading... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:41.111 pm SUCCESS: UNLocking NGINX configuration reloading... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:41.112 pm sendReloadSignal... captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:44.122 pm Retrying to get containerId for captain-nginx retry count:0 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:44.127 pm Kill HUP Container: 57d8ee96795dd17c00d2bd09778ce439f23a9493b3c6973ec6f6d513f5c854ab captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:53.916 pm Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:54:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:53.917 pm Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:55:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:53.917 pm Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:56:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:53.918 pm Error: Wrapped: randomUuid f0c47352-84ef-407f-9807-070c6aa7d22e captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: randomUuid f0c47352-84ef-407f-9807-070c6aa7d22e captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:57:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:53.918 pm Captain health check failed: #2 at captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:32:53.918 pm NGINX health check failed: #2 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:14.931 pm Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:54:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:14.931 pm Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:55:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:14.931 pm Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:56:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:14.932 pm Captain health check failed: #3 at captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:14.932 pm NGINX health check failed: #3 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:14.932 pm Error: Wrapped: randomUuid 09d93f87-c19f-40a9-83cb-2eaf6eff41b4 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: randomUuid 09d93f87-c19f-40a9-83cb-2eaf6eff41b4 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:57:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:35.949 pm Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Verification Failed for captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:54:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:35.949 pm Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: Error Error: connect ECONNREFUSED 207.244.231.148:80 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:55:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:35.950 pm Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: body undefined captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:56:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:35.950 pm Error: Wrapped: randomUuid 783f6a86-5d51-4937-9679-e7a83830266c captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | Error: Wrapped: randomUuid 783f6a86-5d51-4937-9679-e7a83830266c captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at errorize (/usr/src/app/built/utils/Logger.js:7:16) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Function.e (/usr/src/app/built/utils/Logger.js:27:19) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request._callback (/usr/src/app/built/user/system/DomainResolveChecker.js:57:42) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at self.callback (/usr/src/app/node_modules/request/request.js:185:22) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Request.onRequestError (/usr/src/app/node_modules/request/request.js:877:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at ClientRequest.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.socketErrorListener (_http_client.js:469:9) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at Socket.emit (events.js:315:20) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | at emitErrorNT (internal/streams/destroy.js:106:8) captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:35.951 pm Captain health check failed: #4 at captain.pharmamaster.net captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | January 11th 2021, 2:33:35.951 pm NGINX health check failed: #4 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! code ELIFECYCLE captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! errno 1 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! caprover@0.0.0 start: node ./built/server.js captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! Exit status 1 captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! Failed at the caprover@0.0.0 start script. captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! A complete log of this run can be found in: captain-captain.1.n5tlr1aaau5l@vmi467451.contaboserver.net | npm ERR! /root/.npm/_logs/2021-01-11T14_33_35_981Z-debug.log root@vmi467451:~#

ddlidded commented 3 years ago

Check your CapRover logs


docker service logs captain-captain --since 5m

Does this help :)

githubsaturn commented 3 years ago

As you can see the self health monitoring is failing since captain.pharmamaster.net doesn't resolve to your instance. Make sure the IP is correct and your relevant ports are open:

curl -v captain.pharmamaster.net
* Rebuilt URL to: captain.pharmamaster.net/
*   Trying 207.244.231.148...
* TCP_NODELAY set
* connect to 207.244.231.148 port 80 failed: Connection refused
* Failed to connect to captain.pharmamaster.net port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to captain.pharmamaster.net port 80: Connection refused

If after fixing them, you still have trouble with it. Feel free to comment and reopen this issue.

ddlidded commented 3 years ago

As you can see the self health monitoring is failing since captain.pharmamaster.net doesn't resolve to your instance. Make sure the IP is correct and your relevant ports are open:


curl -v captain.pharmamaster.net

* Rebuilt URL to: captain.pharmamaster.net/

*   Trying 207.244.231.148...

* TCP_NODELAY set

* connect to 207.244.231.148 port 80 failed: Connection refused

* Failed to connect to captain.pharmamaster.net port 80: Connection refused

* Closing connection 0

curl: (7) Failed to connect to captain.pharmamaster.net port 80: Connection refused

If after fixing them, you still have trouble with it. Feel free to comment and reopen this issue.

Yup, the ports are open and DNS is pointing correctly, I am seeing a SSL error now. I'm so confused how this happened so randomly. If there is a way to backup all my current containers and deploy them in a freshly installed CapRover I would, but I am not sure how to do that.

githubsaturn commented 3 years ago

To backup, you need a running instance of CapRover. See details here

I am seeing a SSL error now

How are you seeing SSL error? When I try out captain.pharmamaster.net it says port 80 is closed

ddlidded commented 3 years ago

I just made sure both port 80 & 443 were opened and your right something is still not working. Should I try a restart of the machine? I would do a fresh install but I would die if I lost all the data In the docker containers. Any help is appreciated.

githubsaturn commented 3 years ago

1- What's the output of this?

docker service logs captain-nginx --since 2m

2- Also, this?

docker service ls
skimaharvey commented 3 years ago

Hi @ddlidded I am running into the same issue. Do you recall how you solved it? thank you

tomaskikutis commented 1 year ago

I had the same issue. Fixed it in the end by resetting nginx config https://caprover.com/docs/troubleshooting.html#ive-made-a-change-to-the-nginx-config-that-broke-the-admin-ui

I did try to set up some redirects and obviously made a mistake.