LDAP 认证在插件中缺失

您好,

我尝试添加 LDAP 认证插件,并遵循了以下指南:https://meta.discourse.org/t/install-plugins-in-discourse/19157。但是,当我进入 管理/设置/插件 页面时,并没有看到 LDAP 插件,只看到了现有的插件。

当前版本:
2.6.0.beta3

app.yml 文件内容:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/jonmbake/discourse-ldap-auth.git
          - git clone https://github.com/discourse/thing.git
          - git clone https://github.com/discourse/thing.git
          - git clone https://github.com/discourse/thing.git
          - git clone https://github.com/discourse/thing.git

更新 app.yml 文件后执行的命令:

./launcher rebuild app
./launcher restart app
./launcher stop app & ./launcher start app

请问我可能哪里做错了?(顺便提一下,我们发现目录树中存在问题,因为原始作者将目录从 /var 更改为其他位置。我尚未深入检查该插件的脚本,因此不确定这是否会导致问题。)

已解决:
执行了基本的 df -h 命令,发现磁盘空间不足。接着运行 docker images 检查,发现了一些无用的镜像。删除这些镜像后,再次检查磁盘空间,然后重新运行 ./launcher……噗……就像魔法一样……问题解决了……

保留此帖,供有类似“哎呀”问题的朋友参考。

请确保同时运行 ./launcher cleanup,并查看 PostgreSQL 12 更新 - 更新后的可选任务 中的磁盘保存说明。

1 个赞

谢谢 @riking……我之前完全不知道这个!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.