【问题标题】:Errors on GOCD server startup with auhorization plugins使用授权插件启动 GOCD 服务器时出错
【发布时间】:2023-03-12 16:49:02
【问题描述】:

我在 gocd-server docker 启动时遇到以下错误:

[2017-12-05 14:46:36,252 ERROR \[Thread-75\] PluginInfoBuilder:55 - Failed to fetch Plugin Settings metadata for plugin cd.go.authentication.ldap. Maybe the plugin does not implement plugin settings and view?
2017-12-05 14:46:36,269  WARN \[Thread-75\] p.c.g.a.l.c.g.a.l.LdapPlugin:67 \[plugin-cd.go.authentication.ldap\] - Request go.plugin-settings.get-configuration is not supported by plugin.
2017-12-05 14:46:36,270 ERROR \[Thread-75\] PluginSettingsMetadataLoader:75 - Failed to fetch Plugin Settings metadata for plugin cd.go.authentication.ldap. Maybe the plugin does not implement plugin settings and view?
2017-12-05 14:46:37,689 ERROR \[Thread-75\] PluginSettingsMetadataLoader:75 - Failed to fetch Plugin Settings metadata for plugin yum. Maybe the plugin does not implement plugin settings and view?
2017-12-05 14:46:37,792 ERROR \[Thread-75\] PluginInfoBuilder:55 - Failed to fetch Plugin Settings metadata for plugin yum. Maybe the plugin does not implement plugin settings and view?
2017-12-05 14:46:37,954  INFO \[Thread-75\] p.c.g.a.p.c.g.a.p.PasswordFilePlugin:57 \[plugin-cd.go.authentication.passwordfile\] - Loading plugin cd.go.authentication.passwordfile version 1.0.1-48
2017-12-05 14:46:38,047  WARN \[Thread-75\] p.c.g.a.p.c.g.a.p.PasswordFilePlugin:67 \[plugin-cd.go.authentication.passwordfile\] - Request go.plugin-settings.get-view is not supported by plugin.
2017-12-05 14:46:38,048 ERROR \[Thread-75\] PluginInfoBuilder:55 - Failed to fetch Plugin Settings metadata for plugin cd.go.authentication.passwordfile. Maybe the plugin does not implement plugin settings and view?
2017-12-05 14:46:38,055  WARN \[Thread-75\] p.c.g.a.p.c.g.a.p.PasswordFilePlugin:67 \[plugin-cd.go.authentication.passwordfile\] - Request go.plugin-settings.get-configuration is not supported by plugin.
2017-12-05 14:46:38,056 ERROR \[Thread-75\] PluginSettingsMetadataLoader:75 
    - Failed to fetch Plugin Settings metadata for plugin cd.go.authentication.passwordfile. Maybe the plugin does not implement plugin settings and view?][1]

启动失败后,我尝试访问 /go/admin/security/auth_configs 但显示消息:

获取身份验证配置时出现问题 请稍后刷新此页面,如果问题仍然存在,请检查服务器日志。

已经在 gocd-server 的最后 4 个版本上执行了运行,并且所有版本都发生了错误

【问题讨论】:

    标签: docker go-cd


    【解决方案1】:

    我已经在 CentOS 7.x 和 Ubuntu 16.04 LTS docker 基础映像上使用 GoCD 17.12.0 尝试了 GoCD 17.12.0,它运行良好。

    如果您还没有,请从源代码构建它。您是否使用 CentOS 或 Ubuntu 作为运行它的基本操作系统?我想知道这是否是一个错误。

    【讨论】:

      猜你喜欢
      • 2018-01-05
      • 2016-12-20
      • 2021-07-19
      • 2013-05-05
      • 2019-08-27
      • 2014-05-19
      • 2015-08-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多