How to regenerate the cooked column from the raw


(Veer) #1

I updated and inserted some photos in my discourse forum, now i need to regenerate the posts.cooked row from the posts.raw. How can i tweak discourse to regenerate this data ?


Large Icon image getting used on Twitter and facebook sahre Instead of 1st
(Vinoth Kannan) #2

To regenerate cooked HTML for a single post you can use Rebuild HTML button on posts menu.

To rebake all old posts in forum

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

(Veer) #3

@vinothkannans error: don’t know how to build tasks ‘post’. (see --taks)


(Vinoth Kannan) #4

Are you unable to run rebake command?

Else are you getting error while running? If yes then can you post screenshot?


(Veer) #5


(Vinoth Kannan) #6

In the command rake posts:rebake you are using semi-colon ; instead of colon :


(Veer) #7

Thanks very much. It was because of Iphone keyboard in RD Client. every tap clicks semicolon.