I know about history, I’m not new to Linux (despite what my failure to backup the forum before updating may suggest ), but the server was configured to clear history on every session. Don’t mean to be annoying here, just wanted to clear out basics.
Anyway, at least manually, I’m sure I didn’t run anything besides
git pull and
./launcher rebuild app, both with sudo (as opposed to be running as root). I didn’t get any prompt or error message in the whole process either.
It’s probably tough to diagnose this as there’s no real log (unless someone points me to where the rebuild logs its output, if it does) other than ~4000 lines I got to rescue, most of them concerning migrations, managing assets and the final boilerplate, which i sent to Stephen. Also, as no one mentioned any DB backup other than the one that should be at
/var/discourse/shared (which I don’t have), there’s probably no restoring in my case.
So this is more of a heads up: yes, it could have been something at my end, but it doesn’t hurt to report that the rebuild effectively left me with a fresh DB and lost stuff in case there’s a bug. So feel free to close this whenever you like.