我正在尝试在我的 Ubuntu 服务器上使用 Let's Encrypt 为 Nextcloud 启用 HTTPS。但是,我收到一个 IO 错误(错误号 13)说权限被拒绝文件/etc/letsencrypt/cli.ini
。我曾经chown
让我的用户可以访问该文件,但我仍然遇到同样的错误。
~$ sudo nextcloud.enable-https lets-encrypt
...
An unexpected error occurred:
IOError: [Errno 13] Permission denied: '/etc/letsencrypt/cli.ini'
Please see the logfile '/tmp/tmpHx2bbg' for more details.
日志文件包含与终端中给出的错误完全相同的错误。