我正尝试在我的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.日志文件包含与终端中给出的错误完全相同的错误。
发布于 2018-06-04 19:48:34
我猜你使用的是nextcloud-snap。如果是,这似乎是以下问题:https://github.com/nextcloud/nextcloud-snap/issues/569
要暂时修复此问题,只需移动/重命名/etc/letsencrypt/cli.ini。
或者,你也可以切换到beta频道。
这个问题的修复将在下一个稳定的nextcloud-snap版本中实现。
https://stackoverflow.com/questions/50129175
复制相似问题