The Last Homely House

General => Wiki Project => Topic started by: Kralik on May 01, 2012, 05:28:18 PM

Title: Bad News...
Post 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...
Title: Re: Bad News...
Post by: Kralik on May 01, 2012, 05:33:27 PM
Good news! It looks like I was able to restore 'old revisions' and all is well. Phew....
Title: Re: Bad News...
Post by: TelTura on May 01, 2012, 07:17:26 PM
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?
Title: Re: Bad News...
Post by: Kralik on May 01, 2012, 07:26:35 PM
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.
Title: Re: Bad News...
Post by: Kralik on May 01, 2012, 07:53:45 PM
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
Title: Re: Bad News...
Post by: TelTura on May 01, 2012, 08:10:11 PM
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?
Title: Re: Bad News...
Post by: Kralik on May 01, 2012, 09:08:03 PM
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.
Title: Re: Bad News...
Post by: TelTura on May 01, 2012, 11:24:50 PM
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.
Title: Re: Bad News...
Post by: TelTura on May 02, 2012, 12:19:06 AM
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.
Title: Re: Bad News...
Post by: TelTura on May 02, 2012, 02:14:15 AM
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.