ActiveRecord::StatementInvalid in Photos#category

Showing /home/photobazaar/public_html/app/views/photos/_photos.html.erb where line #4 raised:

PG::DiskFull: ERROR:  could not write block 1 of temporary file: No space left on device
: SELECT  "photos".* FROM "photos"  WHERE "photos"."category_id" = 8  ORDER BY "photos"."created_at" DESC LIMIT 21 OFFSET 7854

Extracted source (around line #4):

1
2
3
4
5
6
7
          
<div data-ng-controller="photosController" class="ui vertical main basic segment" id="Main">
<div class="ui stackable page grid">
<div class="row">
<ul id="Photos" infinite-pagination-photos-list total="<%= @total %>" per-page="<%= @per_page %>" last-photo-of-the-day="<%= @best_photo_of_day_number %>" class="grid photos_grid"><%= render @photos %></ul>
</div>
</div>
<div photos-paginator class="paginator">

Trace of template inclusion: app/views/photos/category.html.erb

Rails.root: /home/photobazaar/public_html

Application Trace | Framework Trace | Full Trace
app/views/photos/_photos.html.erb:4:in `_app_views_photos__photos_html_erb___824770238059753305_69842852696000'
app/views/photos/category.html.erb:23:in `block in _app_views_photos_category_html_erb__2388648940713843690_43378780'
app/views/photos/category.html.erb:19:in `_app_views_photos_category_html_erb__2388648940713843690_43378780'

Request

Parameters:

{"page"=>"375",
 "cat_slug"=>"landscapes"}

Response

Headers:

None