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.65k stars 130 forks source link

Missing Config for Encrypt + Porkbun Issue #309

Closed Dan-Yaw closed 2 months ago

Dan-Yaw commented 2 months ago

What happened?

I configured Cosmos to use let’s encrypt on a domain name purchased from Porkbun. I’m getting an error saying I need to supply a Porkbun API key. Additionally, I can’t access Cosmos at all from the domain name.

‘’’bash [ERROR] LETSENCRYPT_DNS : porkbun: some credentials information are missing: PORKBUN_SECRET_API_KEY,PORKBUN_API_KEY ‘’’

What should have happened?

I should have had a spot to put these parama

How to reproduce the bug?

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Relevant log output

[ERROR] LETSENCRYPT_DNS : porkbun: some credentials information are missing: PORKBUN_SECRET_API_KEY,PORKBUN_API_KEY

Other details

No response

System details

Dan-Yaw commented 2 months ago

And also, is there a way to reset everything to get back to the install menu, or do I need to remove the container and volumes and start fresh?

azukaar commented 2 months ago

There is a "fresh install" checkbox when you reach the installer (newInstall: true in the config) or just delete /var/lib/cosmos

There are fields for you to put your keys you simply missed them, but they are here: image