Hi,
What is the way to Rebuild HTML for all posts?
Thank you.
3 лайка
Lilly
16.Октябрь.2023 03:12:44
2
I think you need to use rails to re-bake your posts. this can be a resource-intensive operation depending on the number of posts on your forum, so best do it during off-peak hours. Also backup first.
Either one of these should work
./launcher enter app
rake posts:rebake
or
cd /var/discourse
./launcher enter app
bundle exec rake posts:rebake
Better if you can somehow do this:
This guide provides instructions on how to rebake all posts in Discourse that match a specific string or regular expression, utilizing the Rails console for additional advanced options.
Required user level: Administrator
Console access required
Want to rebake all the posts matching a string or regular expression? Let’s get started!
Accessing your site
To begin, connect to your Discourse Droplet via SSH and enter the Docker container for your Disc…
7 лайков
system
(system)
Закрыл(а) тему
15.Ноябрь.2023 03:13:24
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.