# Проблема при обновлении форума Discourse

**URL:** <https://meta.discourse.org/t/problem-when-updating-discourse-forum/269562>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [25.Июнь.2023 15:26:28 UTC](https://meta.discourse.org/t/problem-when-updating-discourse-forum/269562 "2023-06-25T15:26:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![klein](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/klein/32/310191_2.png) [@klein](https://meta.discourse.org/u/klein)\
**Post date:** [25.Июнь.2023 16:15:29 UTC](https://meta.discourse.org/t/problem-when-updating-discourse-forum/269562/5 "2023-06-25T16:15:29Z")

</div>

Я выполнил команду ./launcher rebuild app и получил следующие сообщения об ошибках:

```plaintext
FAILED

--------------------

Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development' failed with return #<Process::Status: pid 340 exit 5>

Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'

exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'"]}

6e9e60bd6b6113cdcb001127fd2a24fe86f2a1658bf24500e5e2b720fd793510

**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.

```

Я прокрутил вверх и нашёл возможные записи в логах об ошибках:

```plaintext
1)200:M 25 Jun 2023 16:00:16.252 # Failed listening on port 6379 (TCP), aborting.

2)[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag

[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'test development'`, and stop using this flag

3)Bundler::PathError: The path `/var/www/discourse/vendor/bundle/ruby/2.7.0/bundler/gems/sprockets-f4d3dae71ef2` does not exist.

4)Bundler::InstallError: sass-embedded-1.63.6-x86_64-linux requires rubygems version >= 3.3.22, which is incompatible with the current version, 3.2.18

```

---

_[View the full topic](https://meta.discourse.org/t/problem-when-updating-discourse-forum/269562)._
