# 最新のアップデートが様々な理由でビルドできません

**URL:** <https://meta.discourse.org/t/latest-update-wont-build-due-to-various-reasons/314875>\
**Category:** Self-hosting\
**Tags:** ai\
**Created:** [2024 年 7 月 3 日午後 9:35 UTC](https://meta.discourse.org/t/latest-update-wont-build-due-to-various-reasons/314875 "2024-07-03T21:35:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![KCAS](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@KCAS](https://meta.discourse.org/u/KCAS)\
**Post date:** [2024 年 7 月 3 日午後 9:35 UTC](https://meta.discourse.org/t/latest-update-wont-build-due-to-various-reasons/314875/1 "2024-07-03T21:35:32Z")

</div>

最新のアップデートで以下のエラーが発生し、ビルドできません。UIの更新とCLIで失敗しました。

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse &amp;&amp; su discourse -c 'bundle exec rake db:migrate' failed with return #&lt;Process::Status: pid 921 exit 1&gt;
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"=>"migrate", "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.
f7f7afc677212ddcaaa8e1979af5ddef79b3accffe118da6c9542682c104bc27
==================== END REBUILD LOG ====================
Failed to rebuild app.

```

これは次に関連しているようです。

```plaintext
I, [2024-07-03T21:28:32.470814 #1] INFO -- : &gt; cd /var/www/discourse &amp;&amp; su discourse -c 'bundle exec rake db:migrate'
2024-07-03 21:28:41.149 UTC [982] discourse@discourse ERROR: column llm_models.url does not exist at character 47
2024-07-03 21:28:41.149 UTC [982] discourse@discourse STATEMENT: SELECT "llm_models".* FROM "llm_models" WHERE "llm_models"."url" = 'https://vllm.shadowed-by-srv.invalid' LIMIT 1
**PLUGIN FAILURE**

You are unable to start Discourse due to this error during plugin
initialization:

PG::UndefinedColumn: ERROR: column llm_models.url does not exist
LINE 1: SELECT "llm_models".* FROM "llm_models" WHERE "llm_models"."...
                                                      ^

```

---

_[View the full topic](https://meta.discourse.org/t/latest-update-wont-build-due-to-various-reasons/314875)._
