ReinerNippes / nextcloud

Ansible playbook to install nextcloud, php, nginx or apache, mariadb or postgres, redis-server, onlyoffice or collabora office
MIT License
412 stars 141 forks source link

nextcloud-reloaded: acme.sh is not renewing #129

Closed tasmo closed 2 years ago

tasmo commented 2 years ago

The playbook does not or cannot check if the certificates have to be renewed or not.

On my server I did take a look one day before the end of the validation period of the Letsencrypt cert. It should renew at least 10 days before.

How can I debug this to give more information?

ReinerNippes commented 2 years ago

The certificate renewal is not handled by the playbook itself. acme.sh should create a cronjob for root to do this. You may look if sudo crontab -e will show a line like "/opt/acme/sh"/acme.sh --cron --home "/opt/acme/sh" --config-home "/opt/acme/sh/conf" You may run this command and check the output.