إعادة ضبط كاملة: إعادة التهيئة

I have run a test install for a while. I am now ready to do it for good. Is there a way to reset everything, and run the initial setup (as a new install) without wiping the container? Thanks!

Why do you want to avoid wiping the container? If you want to wipe everything except app.yml and return to a blank Discourse install and its set-up wizard,

cd /var/discourse
./launcher stop app
rm -rf shared/standalone/
./launcher rebuild app

should do the job in less than 10 minutes.

:warning: Running the commands above will wipe all data of the Discourse instance, including backups.

6 إعجابات

Thanks for the reply. Will this allow me to set a new hostname as well? It is a full reinitialising, yes?

If you want to update the hostname, update app.yml before running the rebuild command.

3 إعجابات

شكراً @fefrei ! اعتبارًا من عام 2023، لا تزال هذه الإجراءات تعمل بشكل مثالي لمسح وحذف جميع المشاركات والبيانات والمستخدمين وإعادة تعيين أو تهيئة مثيل Discourse.

إعجاب واحد (1)

تم إغلاق هذا الموضوع تلقائيًا بعد 2686 يومًا. لم يعد يُسمح بالردود الجديدة.