azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.66k stars 130 forks source link

[HELP]: Cannot access any assigned domain after power outage #198

Closed chamdim closed 9 months ago

chamdim commented 9 months ago

What happened?

After a power outage, i cant access any container from its domain name. Neither cosmos, nor nextcloud and immich. Docker is up and running with no error on log. Cosmos-server cannot connect to docker and the logs points to docker failure All containers are up and running

What should have happened?

Access the home page of installed apps

How to reproduce the bug?

I don't know, maybe force unplug and re-plug the server.

Relevant log output

2024/02/16 20:35:14 [INFO] Starting...
2024/02/16 20:35:14 [INFO] Using config file: /config/cosmos.config.json
2024/02/16 20:35:14 [INFO] Validating config file...
2024/02/16 20:35:14 [ERROR] Docker Connection - Cannot ping Daemon. Is it running? : 
2024/02/16 20:35:14 [ERROR] Checking Host Network : Docker Connection - Cannot ping Daemon. Is it running?
2024/02/16 20:35:14 [INFO] Cosmos IsHostNetwork: false
2024/02/16 20:35:14 [ERROR] Docker Connection died, will try to connect again : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2024/02/16 20:35:14 [ERROR] Docker Connection - Cannot ping Daemon. Is it running? : 
2024/02/16 20:35:14 [ERROR] Docker did not connect. Not listening : Docker Connection - Cannot ping Daemon. Is it running?
2024/02/16 20:35:14 [ERROR] Docker Connection died, will try to connect again : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2024/02/16 20:35:14 [ERROR] Docker Connection - Cannot ping Daemon. Is it running? : 
2024/02/16 20:35:14 [INFO] Checking for self updater agent
2024/02/16 20:35:14 [ERROR] Docker Connection died, will try to connect again : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2024/02/16 20:35:14 [ERROR] Docker Connection - Cannot ping Daemon. Is it running? : 
2024/02/16 20:35:14 [ERROR] RemoveSelfUpdater : Docker Connection - Cannot ping Daemon. Is it running?
2024/02/16 20:35:14 [INFO] Initialising HTTP(S) Router and all routes
2024/02/16 20:35:14 [INFO] Starting in /app
2024/02/16 20:35:14 [INFO] TLS certificates do not exists or are disabled, starting HTTP server only
2024/02/16 20:35:14 [INFO] Setup: Checking Docker port mapping 
2024/02/16 20:35:14 [ERROR] Docker Connection died, will try to connect again : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2024/02/16 20:35:14 [ERROR] Docker Connection - Cannot ping Daemon. Is it running? : 
2024/02/16 20:35:14 [INFO] Listening to HTTP on : 0.0.0.0:80
2024/02/16 20:38:14 [ERROR] Docker Connection died, will try to connect again : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2024/02/16 20:38:14 [ERROR] Docker Connection - Cannot ping Daemon. Is it running? : 
2024/02/16 20:38:14 [ERROR] CheckUpdatesAvailable : Docker Connection - Cannot ping Daemon. Is it running?

Other details

Cloudflare has been updated with latest public ip through cloudflare-ddns container (isp changed my public ip after power outage)

System details

azukaar commented 9 months ago