Koozali.org formerly Contribs.org

smeserver-letsencrypt/dehydrated update

Offline ReetP

  • *
  • 2,028
smeserver-letsencrypt/dehydrated update
« on: December 25, 2018, 12:30:02 PM »
We are shortly releasing an update.

Please see the announcements forum for more information.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Re: smeserver-letsencrypt/dehydrated update
« Reply #1 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'

Offline ReetP

  • *
  • 2,028
Re: smeserver-letsencrypt/dehydrated update
« Reply #2 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
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 2,028
Re: smeserver-letsencrypt/dehydrated update
« Reply #3 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.
« Last Edit: December 31, 2018, 02:05:19 AM by ReetP »
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 2,028
Re: smeserver-letsencrypt/dehydrated update
« Reply #4 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
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Re: smeserver-letsencrypt/dehydrated update
« Reply #5 on: December 31, 2018, 02:07:57 AM »
Thanks John.

Offline TerryF

  • grumpy old man
  • *
  • 1,078
Re: smeserver-letsencrypt/dehydrated update
« Reply #6 on: December 31, 2018, 05:55:19 AM »
Not Johns fault, mine, I did the testing
--
qui scribit bis legit

Re: smeserver-letsencrypt/dehydrated update
« Reply #7 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.

Offline ReetP

  • *
  • 2,028
Re: smeserver-letsencrypt/dehydrated update
« Reply #8 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.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 2,028
Re: smeserver-letsencrypt/dehydrated update
« Reply #9 on: January 01, 2019, 12:48:20 AM »
Patch released. 0.5-8

See bug for details
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline TerryF

  • grumpy old man
  • *
  • 1,078
Re: smeserver-letsencrypt/dehydrated update
« Reply #10 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 :-)
--
qui scribit bis legit

Re: smeserver-letsencrypt/dehydrated update
« Reply #11 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!

Offline ReetP

  • *
  • 2,028
Re: smeserver-letsencrypt/dehydrated update
« Reply #12 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.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Re: smeserver-letsencrypt/dehydrated update
« Reply #13 on: January 01, 2019, 01:52:57 AM »
Happy to help.  Even if it is a little outside of my comfort zone.  ;-)

Offline TerryF

  • grumpy old man
  • *
  • 1,078
Re: smeserver-letsencrypt/dehydrated update
« Reply #14 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 :-)
--
qui scribit bis legit