Ah, se hai eseguito ./launcher enter app, ti renderà root. Sembra che dovrai passare all’utente discourse per ottenere l’accesso al database. Questo dovrebbe funzionare:
sudo -EH -u discourse bin/rake "revisions:debug_deserialization"
Il tipo di output che stiamo cercando è
Checking 5 PostRevision records in batches of 1000... this may take some time...
Done
---- Summary ----
Checked records: 5
---- Examples ----
(anche se ovviamente, se ci sono problemi, la sezione “Examples” non sarà vuota)