Я настроил следующее на своем тестовом/стейджинг-сервере в файле web_only.yml. Однако, похоже, что резервные копии всё ещё создаются в последней версии Discourse? Кажется, что переменная окружения игнорируется.
## Настройки, специфичные для стейджинг-сервера
DISCOURSE_AUTOMATIC_BACKUPS_ENABLED: false
DISCOURSE_LOGIN_REQUIRED: true
DISCOURSE_DISABLE_EMAILS: 'yes'
DISCOURSE_S3_DISABLE_CLEANUP: true
DISCOURSE_ALLOW_RESTORE: true
RGJ
(Richard - Communiteq)
01.Декабрь.2025 19:09:38
2
Настройка automatic_backups_enabled была удалена в августе…
committed 06:56AM - 11 Aug 25 UTC
We're removing the automatic_backups_enabled toggle and depending solely on the … backup_frequency value. This PR replaces the setting and adds a migration for any forum that has automatic_backups_enabled disabled.
Вместо этого используйте backup_frequency (DISCOURSE_BACKUP_FREQUENCY: 0), чтобы полностью отключить резервное копирование.
Спасибо за решение.
Я также только что обновил Wiki здесь:
There are several tricks that can help when you are setting up a staging server.
What is a staging server?
A staging server is essentially a clone of a production site. It also resides on a server, and functions identically. It runs inside a Docker container, just as a normal Discourse site does.
It exists to give you a place to try risky things out, or to trial things that you cannot easily hide from your users. It is very useful for trialling adverts using the Discourse Advertising Plugin (A…
Там всё ещё ссылались на старый метод.