你好。我想安装这个插件,但在执行 /rebuild app 后遇到了内存不足的错误。
我增加了磁盘空间,重启了服务器,然后再次尝试 /rebuild app,但这次我不明白问题出在哪里:
/usr/local/bin/bundle:25:in `<main>'
(运行任务时使用 --trace 可查看完整堆栈跟踪)
I, [2024-03-08T19:22:34.066685 #1] INFO -- : gem install ruby-openid -v 2.9.2 -i /var/www/discourse/plugins/discourse-steam-login/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed ruby-openid-2.9.2
1 个 gem 已安装
gem install rack-openid -v 1.4.2 -i /var/www/discourse/plugins/discourse-steam-login/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed rack-openid-1.4.2
1 个 gem 已安装
gem install omniauth-openid -v 2.0.1 -i /var/www/discourse/plugins/discourse-steam-login/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omniauth-openid-2.0.1
1 个 gem 已安装
gem install omniauth-steam -v 1.0.6 -i /var/www/discourse/plugins/discourse-steam-login/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omniauth-steam-1.0.6
1 个 gem 已安装
gem install omniauth-vkontakte -v 1.7.1 -i /var/www/discourse/plugins/discourse-vk-auth/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omniauth-vkontakte-1.7.1
1 个 gem 已安装
I, [2024-03-08T19:22:34.067577 #1] INFO -- : 正在终止异步进程
I, [2024-03-08T19:22:34.067648 #1] INFO -- : 发送 INT 信号给 HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 42
I, [2024-03-08T19:22:34.067687 #1] INFO -- : 发送 TERM 信号给 exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 111
2024-03-08 19:22:34.068 UTC [42] LOG: 收到快速关机请求
111:signal-handler (1709925754) 收到 SIGTERM,正在调度关机...
2024-03-08 19:22:34.072 UTC [42] LOG: 正在中止任何活动事务
2024-03-08 19:22:34.078 UTC [42] LOG: 后台工作进程“逻辑复制启动器”(PID 51)已退出,退出代码为 1
2024-03-08 19:22:34.078 UTC [46] LOG: 正在关闭
2024-03-08 19:22:34.109 UTC [42] LOG: 数据库系统已关闭
111:M 08 Mar 2024 19:22:34.117 # 用户请求关机...
111:M 08 Mar 2024 19:22:34.118 * 正在退出前保存最终 RDB 快照。
111:M 08 Mar 2024 19:22:34.288 * DB 已保存到磁盘
111:M 08 Mar 2024 19:22:34.290 # Redis 现在已准备好退出,再见...
失败
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 3378 exit 1>
失败位置:/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
引导失败,退出代码为 1
** 引导失败 ** 请向上滚动查找更早的错误消息,可能不止一个。
./discourse-doctor 可能会帮助诊断问题。
962ee73e2d4c8f902da810010d0bb70d5a784416d3b1ab80bcad7c4ff1351149
root@cv3533865:/var/discourse#