安装失败,请帮忙

== 20181221121805 CreateThemeTranslationOverride: 正在迁移 ===================
– create_table(:theme_translation_overrides)
→ 0.0102秒
== 20181221121805 CreateThemeTranslationOverride: 已迁移 (0.0111秒) ==========

== 20190103051737 AddVersionToOptimizedImages: 正在迁移 =====================
– add_column(:optimized_images, :version, :integer)
→ 0.0008秒
== 20190103051737 AddVersionToOptimizedImages: 已迁移 (0.0012秒) ==============

== 20190103060819 ForceRebakeOnPostsWithImages: 正在迁移 =====================
– execute(“UPDATE posts SET baked_version = 0\nWHERE id IN (SELECT post_id FROM post_uploads)\n”)
→ 0.0007秒
== 20190103060819 ForceRebakeOnPostsWithImages: 已迁移 (0.0011秒) ==============

== 20190103065652 RemoveUploadedMetaIdFromCategory: 正在迁移 =================
== 20190103065652 RemoveUploadedMetaIdFromCategory: 已迁移 (0.0019秒) =========

== 20190103160533 CreateReviewables: 正在迁移 ================================
– create_table(:reviewables)
→ 0上次登录失败:2025年2月24日星期一 20:33:37 CST 来自 218.92.0.198 (ssh:notty)
自上次成功登录以来,有2次登录失败。
上次登录:2025年2月24日星期一 20:30:46 来自 127.0.0.1
[root@VM-0-11-opencloudos ~]#


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile:build' failed with return #<Process::Status: pid 881 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"build", "hook"=>"assets_precompile_build", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile:build'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
30348f30e7ed7ca4cc5f7202e9358c63736d3e04fd8bb63d3d1cabf47d6b0dbc
[root@VM-0-11-opencloudos discourse]#

您好,欢迎,

您能这样做吗?

1 个赞

你有多少内存和交换空间?

 free -h
           total        used        free      shared  buff/cache   available

Mem: 3.6Gi 2.1Gi 607Mi 117Mi 1.3Gi 1.4Gi
Swap: 1.0Gi 600Mi 424Mi

增加交换空间,因为构建过程的某些部分是内存密集型的。将其增加到 2 GB 或更多可能有助于解决问题。然后,尝试重新构建应用程序。

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