bestlibre / hassio-addons

173 stars 109 forks source link

Missing option certname in vhosts for dictionary value @ data['options']. #15

Closed kozoke closed 7 years ago

kozoke commented 7 years ago

Hi, Great stuff - thanks for your work on this.

I'm having trouble configuring NGINX for hadashboard (related to home assitsant). Error message: Missing option certname in vhosts for dictionary value @ data['options']. Got {'vhosts': [{'default_server': False, 'port': '3030', 'vhost': 'hassio.sylvanmaker.com'}]} }

myconfig: { "vhosts": [ { "default_server": false, "port": "3030", "vhost": "hassio.sylvanmaker.com" } ] }

As I look at your code, it should be taking the absence of "cert name" in my config and proceeding but for some reason it won't let me save and start. I swore this worked just 5 days ago then seemed to stop working. Any ideas?

Thanks!

bestlibre commented 7 years ago

There was a breaking change in one of the last hassio update regarding optional configuration values. I will need to change the config.json to be compatible. I don't if I'll be able to do it before Monday.

kozoke commented 7 years ago

Thanks for the update. Good to know it isn't something i'm doing wrong. I'll await an update.

bestlibre commented 7 years ago

It should be ok now