This is the problem with running your own cloud services off of a single computer.
In case this happens again, and I need to fix things again, here's the steps necessary to do so:
- Shut down everything.
- Edit /etc/mysql/my.cnf to include the line in the mysqld section:
- innodb_force_recovery = 1
- Restart mysqld.
- Dump the entire database to be safe, then dump the table that needs to be replaced:
- mysqldump --all_databases > backup_copy.sql
- mysqldump ttrss.ttrss_entries > fix.sql
- Shut down everything again.
- Edit /etc/mysql/my.cnf to remove that line you put in. It allows the database to skip the broken entries in the crashed table (those broken entries were the source of the database server continually crashing), but because it doesn't want you to break anything, you can't write to the database with that in place.
- Restart mysqld.
- Execute the fix.sql commands in mysql. I just did the \. fix.sql.
- Restart everything else.
- Discover that you have a backlog of secret things that had been trapped by that crashed table, so now there's a lot of stuff in the RSS feeds that you're just not going to read tonight.
I don't have a good picture, so here's something I made playing this game. |
- Cartoon-y Things.
- Ice King and friends.
- I really hope this means Baman/Piderman is coming back.
- Kawaii Kon is this weekend, I guess.
- I haven't gotten to this episode yet.
- Not Cartoon-y Things.
- Induction.
- Taco truck. I need to find this.
- "I don't think people realize the bigger ramifications of their actions and the harm it can bring to a small business." Dude, you have a famous bakery and someone saw a mouse. It's not "huh, I should consider the bigger ramifications of this," it's "there's a fucking mouse running across the floor!"
- Tiny chipmunk.
- I can't get the other pages to load, so I'm not linking to this. Fuck it.
No comments:
Post a Comment