Error: Unhandled Exception (1205 Lock Wait Timeout Exceeded)

When I try to upload my logs from this Sunday I get the following error:

Unhandled Exception


SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction

SQL: SELECT * FROM `reports` WHERE `code` = ? LIMIT 1  FOR UPDATE

Bindings: array (
  0 => 'wyBKDmLHJRYQaMPt',

/var/app/current/laravel/database/connection.php on line 263

Here is the log file that I was trying to upload: