How to re-generate all topics?


#1

Hi. I’ve updated lazyYT plugin with the following data:

    - replace:
    filename: /var/www/discourse/plugins/lazyYT/plugin.rb
    from: /data-width=\\"480\\" data-height=\\"270\\"/
    to: data-ratio=\"16:9\"

Now I need all the topics to pick up changes (manual edit+save works fine). Is there an easy way of doing it in console?


Make lazyYT plugin responsive easily
(Kane York) #2

Enter the container, and run rake posts:rebake

cd /var/discourse
./launcher enter app
rake posts:rebake
logout
logout

This can be done with the forum running just fine. Note that it will cause lots of outbound traffic from oneboxes.


Do I need to manually pull hotlinked images?
Broken images in production after importing backup
Importing from phpBB3
Converting to Subfolder