# Последнее бета-обновление (2.7.0b7) пошло не по плану

**URL:** https://meta.discourse.org/t/latest-beta-update-2-7-0b7-gone-wrong/186946
**Category:** Self-hosting
**Created:** [15.Апрель.2021 12:37:42 UTC](https://meta.discourse.org/t/latest-beta-update-2-7-0b7-gone-wrong/186946 "2021-04-15T12:37:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tremblap](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tremblap](https://meta.discourse.org/u/tremblap)
#### Post date: [15.Апрель.2021 12:37:42 UTC](https://meta.discourse.org/t/latest-beta-update-2-7-0b7-gone-wrong/186946/1 "2021-04-15T12:37:42Z")

</div>

Здравствуйте

Я счастливый пользователь этой платформы, и до сих пор все обновления проходили без сбоев (использовал Droplet с Docker на Digital Ocean, обновлял Discourse и Docker через панель /admin в Discourse).

Кроме сегодняшнего дня. Весь контент исчез. Я перезагрузил сервер. Меня заблокировали, и я не смог войти обратно: у меня отображается серая страница, но поля для ввода логина и пароля не появляются.

Я зашел на сервер, обновил репозиторий через git и пересобрал приложение, но проблема осталась.

Теперь я немного в тупике. Я хотел бы откатиться к предыдущей бета-версии 2.7.0 или же решить проблему с текущей установкой, но так как у меня нет доступа, я не знаю, как и где искать. Я искал в Meta, но не смог найти руководства по устранению неполадок при неудачном обновлении…

Помогите, пожалуйста.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [15.Апрель.2021 12:44:26 UTC](https://meta.discourse.org/t/latest-beta-update-2-7-0b7-gone-wrong/186946/2 "2021-04-15T12:44:26Z")

</div>

Проблема, скорее всего, вызвана несовместимой темой или плагином. Вы пробовали включить безопасный режим?

> [@Using Safe Mode to troubleshoot issues with themes and plugins](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504?u=david):
>
> bookmark This guide explains how to use Discourse’s [Safe Mode](https://meta.discourse.org/t/53504?silent=true) to troubleshoot issues with themes and plugins. person_raising_hand Required user level: All users Discourse offers a “JavaScript [Safe Mode](https://meta.discourse.org/t/53504?silent=true)” that allows any user to isolate the root cause of JavaScript issues caused by plugins, themes, or theme components. This feature is particularly useful for troubleshooting problems on your Discourse site. Accessing [Safe Mode](https://meta.discourse.org/t/53504?silent=true) To access [Safe Mode](https://meta.discourse.org/t/53504?silent=true), follow these steps: Open a new browse…

---

<div class="post-metadata">

### Author: ![tremblap](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tremblap](https://meta.discourse.org/u/tremblap)
#### Post date: [15.Апрель.2021 12:44:40 UTC](https://meta.discourse.org/t/latest-beta-update-2-7-0b7-gone-wrong/186946/3 "2021-04-15T12:44:40Z")

</div>

обновление: пока я писал это и [читал о JS ранее](https://meta.discourse.org/t/upcoming-core-changes-that-may-break-some-themes-components-april-12/186252), я обратился к коллеге, которому удалось войти в систему (отключив CSS), и он отключил наш единственный плагин, для которого, похоже, уже есть PR: [FIX: Compatibility with latest Discourse by OsamaSayegh · Pull Request #5 · Daemonite/discourse-clipboard · GitHub](https://github.com/Daemonite/discourse-clipboard/pull/5)

Это может кому-то помочь.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [15.Апрель.2021 12:45:41 UTC](https://meta.discourse.org/t/latest-beta-update-2-7-0b7-gone-wrong/186946/4 "2021-04-15T12:45:41Z")

</div>

Отлично, рад слышать, что всё снова работает. Похоже, этот компонент темы больше не обновляется. Возможно, вас заинтересует это решение, которое обеспечивает аналогичный функционал:

> [@Copy codeblock contents to clipboard](https://meta.discourse.org/t/copy-codeblock-contents-to-clipboard/148855):
>
> mega Now live in core Discourse is the ability to show a copy button for codeblocks! import { createWidget } from 'discourse/widgets/widget'; createWidget('my-widget', { tagName: 'div.hello', html() { return "hello world"; } }); This feature is off by default, but if your community could benefit from it, you can turn it on by enabling the show copy button on codeblocks site setting. Some notes about the feature: The button shows up on pre \> code codeblocks, but not inline, …

---

<div class="post-metadata">

### Author: ![tremblap](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tremblap](https://meta.discourse.org/u/tremblap)
#### Post date: [15.Апрель.2021 12:45:52 UTC](https://meta.discourse.org/t/latest-beta-update-2-7-0b7-gone-wrong/186946/5 "2021-04-15T12:45:52Z")

</div>

О, перекрёстные посты!

> [@david](#):
>
> Вы пробовали [режим безопасности](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504)?

О, это гениально! Есть ли страница устранения неполадок, где я мог бы узнать об этом? Это замечательно! Столько всего нужно изучить… спасибо!
