Ah, if you did ./launcher enter app
, it’ll make you root
. It seems like you’ll need to switch to the discourse
user to get Database access. This should do it:
sudo -EH -u discourse bin/rake "revisions:debug_deserialization"
The kind of output we’re looking for is
Checking 5 PostRevision records in batches of 1000... this may take some time...
Done
---- Summary ----
Checked records: 5
---- Examples ----
(although obviously, if there are issues then the “Examples” section will not be empty)