Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' 失败,返回

Originally sent in general
Ratnam_Raju_Varsala

@Canapin,我该如何将插件集成到 docker 应用程序中?

Heliosurge
Ratnam_Raju_Varsala

失败
--------------------

Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' 失败,返回 #<Process::Status: pid 54 exit 2>

失败位置:/usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'

exec 失败,参数为 "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"

引导失败,退出代码 2

引导失败 请向上滚动查找更早的错误消息,可能不止一个。

./discourse-doctor 可能有助于诊断问题。

4079c40b96373f2f33049a30414bc383bdb52a1a678a9f0cc9f7

root@community-online:/var/discourse# /discourse-doctor

-bash: /discourse-doctor: No such file or directory

在 app.yml 文件中添加插件后,我遇到了这个错误。

Heliosurge

你能否发布你在 app.yml 中将插件添加到 docker 的那部分内容?

格式必须非常精确。
这有点麻烦,但通常一次只安装和重建 2 个插件。
你想安装什么插件?

Ratnam_Raju_Varsala

在添加插件之前,网站运行正常,添加此插件后,网站就无法访问了。

Heliosurge

删除你聊天帖子的一部分。你有一些敏感信息。只需要显示 $home 类型的东西和插件信息的部分。

你的 trade buttons 插件被添加了两次。删除这两个实例,然后尝试重建,看看网站是否恢复。

如果聊天允许,只需要从这里向下显示,并用类似 ´´...´´ 的东西括起来。

Ratnam_Raju_Varsala

没有添加两次。
我在这里粘贴 app.yml 的完整内容。

JammyDodger

我认为最好在主题中讨论这个问题。我将把这些消息移过去。:+1:

Ratnam_Raju_Varsala

已删除

Heliosurge

好的,Jam。你能删除他的敏感信息,只保留插件信息吗?

2 个赞