The Last Homely House
General => Wiki Project => Topic started by: Kralik on May 01, 2012, 05:28:18 PM
-
I made a very, very stupid mistake and in my haste mistyped rm -rf on the wrong directory. Removing all wiki pages. Fortunately I had a backup... from 11 hours ago. ](*,)
Please don't kill me...
-
Good news! It looks like I was able to restore 'old revisions' and all is well. Phew....
-
I hulked out so fast. Actually it would have been fine; I keep like ten tabs open with all the various pages I"ve worked on, so it would have been a simple copy-paste maneuver (except for tables).
Now, what did we learn about always doing everything as root, dearies?
-
It's not so much root as it is my mistype. But I do unfortunately have to mess with root a lot because the server pages are owned by www-data and not kralik. Blah.
-
Followed it up by accidentally deleting the changes pages as well. I'm not going to bother putting them back.
EDIT: I need to take a break from my coding fest. Too much, too soon, too many mistakes. :P
-
It's not so much root as it is my mistype. But I do unfortunately have to mess with root a lot because the server pages are owned by www-data and not kralik. Blah.
so log in as www-data and chown to kralik. what's the issue?
-
They need to be writable by www-data. So it's more like sudo whenever I need to edit/copy files. Can't su to www-data without going through root anyway. Regardless... both were a PEBKAC error.
-
argh! alright, so it looks like a significant amount of table-hacking was, in fact, lost. -_- At least I've done it once already...shouldn't be as hard this time.
-
Ah, false alarm. Looks like about 90% of recent changes are still there (and the other 10% I've got saved in my tabs); rather, what's screwed up is the Wraith icon....see this pastebin for an explanation (http://pastebin.com/XzDFcWjQ), since the forum autolinker messes with posting it here.
-
False-false alarm. All the info was, in fact, lost from the last day or so, but I was eventually able to cobble it all together. We are now back to where we were at yesterday, content-wise.