【问题标题】:IO Error when enabling https for Nextcloud with Let's Encrypt使用 Let's Encrypt 为 Nextcloud 启用 https 时出现 IO 错误
【发布时间】:2018-10-12 05:46:40
【问题描述】:

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

【问题讨论】:

  • 也分享日志文件内容。

标签: ubuntu https lets-encrypt nextcloud


【解决方案1】:

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

要暂时解决此问题,只需移动/重命名/etc/letsencrypt/cli.ini。

您也可以切换到测试版。

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

【讨论】:

    猜你喜欢
    • 2019-05-14
    • 1970-01-01
    • 2021-11-24
    • 2021-04-30
    • 2016-10-07
    • 2017-08-26
    • 1970-01-01
    • 1970-01-01
    • 2020-06-01
    相关资源
    最近更新 更多