FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 1414 exit 1>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
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.
e0e2e2e1c65a3ca953eb44d052e2982b14799220bcf9863dc2b19ac01f035f02
プラグインのインストールと、利用可能なインターフェース言語での正しい表示がようやくできました。
しかし、Discourse Translateプラグインで投稿を翻訳しようとすると、翻訳されず、「Translated from [missing% {language} value] by Google」と表示されます。
翻訳プラグインには Google の内部マッピングがあるようです。これはハックですが、plugin.rb に次のスニペットを追加してパッチを適用することを試すことができます。
after_initialize do
if defined? DiscourseTranslator::Google::SUPPORTED_LANG_MAPPING
DiscourseTranslator::Google::SUPPORTED_LANG_MAPPING[:uz] = "uz"
end
end