Thông báo khi cài laravel tnt
PDOException in TNTIndexer.php line 87: 
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database

Lỗi này sảy ra khi chưa cấp quyền chmod 777 cho file được đánh index

Cách sửa : cấp quyền 777 cho file được index
sudo chmod 777 <model>.index

file *.index lưu trong thư mục storage/