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

您可能需要向上滚动。您是否尝试过安全模式过程?

不确定这在这种情况下是否有效,说实话。