OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: Taomyn on April 24, 2017, 03:18:07 pm

Title: [SOLVED] Can't access Let's Encrypt settings
Post by: Taomyn on April 24, 2017, 03:18:07 pm
Have upgraded to 17.1.5-amd64 (from 17.1.4), rebooted firewall for good measure and now when I try to access the Let's Encrypt settings I get:

Quote
Syntax error, unexpected token IDENTIFIER(s) in /usr/local/opnsense/mvc/app/config/../../app/views/OPNsense/AcmeClient/settings.volt on line 212


And Accounts:


Quote
Syntax error, unexpected token {{ in /usr/local/opnsense/mvc/app/config/../../app/views/OPNsense/AcmeClient/accounts.volt on line 87
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: Taomyn on April 24, 2017, 03:23:30 pm
Damn, I just tried a re-install of "os-acme-client-1.5" to see if that clears it and now the GUI has hung :-(

It came back eventually, no change
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: franco on April 24, 2017, 03:28:08 pm
From the console you can get to the previous version:

# opnsense-revert -r 17.1.4 os-acme-client

We're looking into it.


Cheers,
Franco
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: Taomyn on April 24, 2017, 03:30:06 pm
From the console you can get to the previous version:

# opnsense-revert -r 17.1.4 os-acme-client

We're looking into it.


Cheers,
Franco

Thanks, I'll leave it as is for now in case you need any more info, I don't need to make any changes in LE just yet but if I do I will revert it then.
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: fraenki on April 24, 2017, 03:40:19 pm
Looks like a recent translation effort broke it. I'm sorry for this. A fix is being worked on.


Regards
- Frank
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: Taomyn on April 24, 2017, 03:43:54 pm
Looks like a recent translation effort broke it. I'm sorry for this. A fix is being worked on.


Regards
- Frank

No worries - let me know if you have something I can test for you
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: fraenki on April 24, 2017, 03:50:54 pm
The proposed fix can be found on GitHub:
https://github.com/opnsense/plugins/pull/129


Regards
- Frank
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: franco on April 24, 2017, 04:29:26 pm
We'll fix the package tonight, bumping the version on top of what already is 17.1.5.

Thanks to fraenki for the quick response and the bug report from Taomyn.


Cheers,
Franco
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: fabian on April 24, 2017, 06:34:04 pm
Sorry about that - it is my fault. A copy and paste problem while adding translation code to all plugins.
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: franco on April 24, 2017, 06:38:47 pm
Alright, lesson learned, another bug in phalcon/volt templates found... Can apply a patch[1] via:

# opnsense-patch -c plugins e4dcfcef

Update for the plugin on the mirrors to version 1.6 follows in a few hours.


Cheers,
Franco

[1] https://github.com/opnsense/plugins/commit/e4dcfcef
Title: Re: [17.1.5] Can't access Let's Encrypt settings
Post by: Taomyn on April 25, 2017, 11:50:08 am
Thanks guys for the prompt action - I used the updater and it downloaded and applied the new version. I was able to access the settings again.