# Daily cron error message (v-update-letsencrypt-ssl)

**URL:** <https://forum.hestiacp.com/t/daily-cron-error-message-v-update-letsencrypt-ssl/16911>\
**Category:** Cron Jobs\
**Created:** [December 5, 2024, 7:36am UTC](https://forum.hestiacp.com/t/daily-cron-error-message-v-update-letsencrypt-ssl/16911 "2024-12-05T07:36:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 5, 2024, 10:04am UTC](https://forum.hestiacp.com/t/daily-cron-error-message-v-update-letsencrypt-ssl/16911/3 "2024-12-05T10:04:07Z")

</div>

It seems the problem is caused by the code used in `v-add-letsencrypt-domain`, which is called internally by `v-update-letsencrypt-ssl` when updating a certificate. This issue was introduced in Hestia 1.8.12.

```auto
# Adding LE autorenew cronjob
if [-z "$(grep v-update-letsen "$HESTIA/data/users/$ROOT_USER/cron.conf")"]; then
        min=$(generate_password '012345' '2')
        hour=$(generate_password '1234567' '1')
        echo "$min $hour * * * sudo /usr/local/hestia/bin/v-update-letsencrypt-ssl" > /etc/cron.d/hestiaweb
fi

```

The `ROOT_USER` variable is a new addition in **Hestia 1.9.x** , so it is not available in **Hestia 1.8.x**.

To fix it, replace `$ROOT_USER` by `admin`:

```t
sed -i 's/$ROOT_USER/admin/' /usr/local/hestia/bin/v-add-letsencrypt-domain

```

---

_[View the full topic](https://forum.hestiacp.com/t/daily-cron-error-message-v-update-letsencrypt-ssl/16911)._
