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.1k stars 112 forks source link

[BUG]: #120

Closed styl3hack closed 10 months ago

styl3hack commented 10 months ago

What happened?

Can't get the server to run on Ubuntu Error Validating config file.

What should have happened?

The Server should Start

How to reproduce the bug?

after the setup is finished and the server restarts

Relevant log output

[INFO] Starting...
2023/10/29 09:39:18 [INFO] Using config file: /config/cosmos.config.json
2023/10/29 09:39:18 [INFO] Validating config file...
2023/10/29 09:39:18 [FATAL] Reading Config File: Key: 'Config.HTTPConfig.Hostname' Error:Field validation for 'Hostname' failed on the 'excludesall' tag : Key: 'Config.HTTPConfig.Hostname' Error:Field validation for 'Hostname' failed on the 'excludesall' tag

Other details

No response

System details

azukaar commented 10 months ago

You have input a wrong hostname during install can you show us your config file? /var/lib/cosmos.config.json