Auto update of let's encrypt failes with code -2

I have had Let’s encrypt for about 90 days and thought it sholud update automatically after I have followed this guide.

But today i couldn’t reach my HA any more. I updated it manually and restarted HA and saw an error meassage saying:
"Error runing command: ‘~/certbot/certbot-auto renew --quiet --no-self-upgrade --standalone --preferred-challenges http-01’, return code: -2

The error is from when HA tried to update automatically. The manually update did work.

I’m using option 2 in step 8 in the guide to make update of the cert.

Any one that have any ide whats wrong with my setup.

Were you running the command as the homeassistant user when you did it manually?