0

我正在尝试在我的 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. 日志文件包含与终端中给出的错误完全相同的错误。

4

1 回答 1

0

我想你正在使用 nextcloud-snap。如果是,这似乎是以下问题:https ://github.com/nextcloud/nextcloud-snap/issues/569

现在要解决这个问题,只需 move/rename /etc/letsencrypt/cli.ini

或者,您可以切换到 beta 频道。

这个问题的修复将在下一个稳定的 nextcloud-snap 版本中实现。

于 2018-06-04T11:48:34.357 回答