Open11
LightsailのLet's Encryptで更新がうまくいかない

めんどくさいので root
権限で
sudo su -

certbot-auto
は動くっぽい
certbot-auto --help

certbot-auto renew
非対応になったっぽい
Skipping bootstrap because certbot-auto is deprecated on this system.
Your system is not supported by certbot-auto anymore.
Certbot cannot be installed.

どうやら snapd
というやつが必要らしい

Ubuntu18.04にはデフォルトでインストール済みらしい

とりあえず公式サイト通りに certbot
を削除する
sudo apt-get remove certbot

公式通りに certbot-auto
を削除
個人ローカルは /usr/local/bin
ではなく /usr/bin
になっていたのでそちらで削除
rm /usr/bin/certbot-auto

新しい certbot をインストール
sudo snap install --classic certbot

うまくいかないなー
error: cannot perform the following tasks:
- Run configure hook of "certbot" snap if present (run hook "configure": /var not root-owned 1000:0)

??いけた
sudo apt install certbot

役立ちそう