Page 1 of 1

SOLVED: Error with greyhole -f

Posted: Tue Feb 09, 2021 8:12 am
by cybercowboy
After running out of space on landing zone, i cleaned it up, but see the LZ is stuck at 1.6 TB and a greyhole -f didn't fix.

Running greyhole -S I get:

$ greyhole -S

Currently working on task ID 9851505: fsck /mnt/landingzone/Videos/

Recent log entries:
PHP Fatal error: Uncaught Exception: SQLSTATE[HY000]: General error: 1194 Table 'status' is marked as crashed and should be repaired in /usr/bin/greyhole:719
Stack trace:
#0 /usr/bin/greyhole(744): DB::execute('SELECT * FROM s...', Array)
#1 /usr/bin/greyhole(7930): DB::getAll('SELECT * FROM s...')
#2 /usr/bin/greyhole(7912): StatusCliRunner::get_recent_status_entries()
#3 /usr/bin/greyhole(8394): StatusCliRunner->run()
#4 {main}
thrown in /usr/bin/greyhole on line 719


Looks like there's a problem with a table, but I have no idea how to fix. I'm on the most recent version of Amahi and GH

Re: Error with greyhole -f <solved>

Posted: Tue Feb 09, 2021 8:43 am
by cybercowboy
resolved by running the command: mysqlcheck -u root -p --auto-repair --check --all-databases

Re: Error with greyhole -f

Posted: Tue Feb 09, 2021 11:14 am
by bigfoot65
Good to know.

Marking as resolved.