لقد اتبعت الإعداد التالي في خادم الاختبار/التدريج الخاص بي في 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)
1 ديسمبر 2025، 7:09م
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) بدلاً من ذلك.
شكرًا على الحل.
لقد قمت للتو بتحديث الويكي هنا أيضًا:
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…
كان لا يزال يشير إلى الطريقة القديمة.
إعجاب واحد (1)