Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: ReetP on December 25, 2018, 12:30:02 PM

Title: smeserver-letsencrypt/dehydrated update
Post by: ReetP on December 25, 2018, 12:30:02 PM
We are shortly releasing an update.

Please see the announcements forum for more information.
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ZL3DON on December 30, 2018, 11:23:46 PM
Got the following error this morning after upgrading yesterday.

/etc/cron.daily/letsencrypt:

/etc/cron.daily/letsencrypt: line 3: syntax error near unexpected token `|'
/etc/cron.daily/letsencrypt: line 3: `/usr/bin/dehydrated -c 2>&1 > | logger -t dehydrated'
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ReetP on December 31, 2018, 12:51:52 AM
Hmmm ok. I must have mistyped somehow.

There is a bug open:

https://bugs.contribs.org/show_bug.cgi?id=10681
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ReetP on December 31, 2018, 02:00:25 AM
OK, I have pushed a change.

Please see the bug.

A new version 0.5-8 (ignore -6 and -7 as I made some mistakes) should be in smetest shortly. Please help by verifying the update fixes the issue and we can release this ASAP. Thanks.

Old string was:

/usr/bin/dehydrated -c 2>&1 >  | logger -t dehydrated

New string is:

/usr/bin/dehydrated -c 2>&1 | logger -t dehydrated

Progress should be observed in the logs.
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ReetP on December 31, 2018, 02:03:25 AM
Sorry for the inconvenience.

It's been a long Christmas and we are only a few and mistakes can be made. We have spent a lot of our Xmas break trying to fix stuff and get it released whilst you tuck in to your Xmas lunches and drinks.

If you want to see less problems and more fixes then PLEASE help. This stuff doesn't happen by magic but by unpaid hard work from a dedicated few.

You don't have to be a guru. There a re lots of small but important jobs to be done (verifying stuff like this is vital). We can teach you. All we need is a bit of your time and some enthusiasm.

Please drop us a line if you want to contribute back to Koozali SME.

Thanks

John
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ZL3DON on December 31, 2018, 02:07:57 AM
Thanks John.
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: TerryF on December 31, 2018, 05:55:19 AM
Not Johns fault, mine, I did the testing
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ZL3DON on December 31, 2018, 05:57:34 AM
Thanks to everyone involved in identifying and fixing the small issue that would have become a problem in about a month?

I appreciate your work.
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ReetP on December 31, 2018, 03:26:51 PM
Thanks to everyone involved in identifying and fixing the small issue that would have become a problem in about a month?

It will be an issue every time the script fires... daily. It will only become a real issue when you actually need the certs renewed.

Quote
I appreciate your work.

Please show your appreciation by running a verification...

https://bugs.contribs.org/show_bug.cgi?id=10681

If it seems OK I'll release it straight away.
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ReetP on January 01, 2019, 12:48:20 AM
Patch released. 0.5-8

See bug for details
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: TerryF on January 01, 2019, 01:32:23 AM
Patch released. 0.5-8
See bug for details

I was saving the announcement as a new years surprise pressy :-)
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ZL3DON on January 01, 2019, 01:43:04 AM
Ok.  I've figured out how to install the test and find the logs.
It appears to be working now.
Again, thanks to all involved.


Jan  1 13:31:51 comms dehydrated: # INFO: Using main config file /etc/dehydrated/config
Jan  1 13:31:53 comms dehydrated: Processing [REDACTED] with alternative names: [REDACTED]
Jan  1 13:31:53 comms dehydrated:  + Checking domain name(s) of existing cert... unchanged.
Jan  1 13:31:53 comms dehydrated:  + Checking expire date of existing cert...
Jan  1 13:31:53 comms dehydrated:  + Valid till Mar 24 13:36:24 2019 GMT (Longer than 30 days). Skipping renew!
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ReetP on January 01, 2019, 01:50:14 AM
Sorry Terry !!

Thanks ZL3DON. Terry has done his first release and it is now in smecontribs.

Happy New Year to you all.
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ZL3DON on January 01, 2019, 01:52:57 AM
Happy to help.  Even if it is a little outside of my comfort zone.  ;-)
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: TerryF on January 01, 2019, 03:47:11 AM
Happy to help.  Even if it is a little outside of my comfort zone.  ;-)

Mate, the spice of life :-)
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ZL3DON on January 01, 2019, 03:50:05 AM
Hahaha.  Indeed!  ;-)

Always good to learn new skills.
Title: Re: smeserver-letsencrypt/dehydrated update
Post by: ReetP on January 01, 2019, 11:15:53 AM
We all started knowing nothing.

It's about how much we want to learn....

I'm no guru!!!! Just read & played. Virtual machines are lifesavers.

If you want to help and learn more we can help you. Just ask.