Doctrine DBAL Exception DriverException

What I have to do in order to solve this issue (see below)?

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT "b"."id", "b"."url", "b"."title", "b"."description", "b"."lastmodified", "b"."added", "b"."clickcount", "b"."last_preview", "b"."available", "b"."archived_file", "b"."user_id", array_to_string(array_agg("tree"."parent_folder"), ',') AS "folders", array_to_string(array_agg("t"."tag"), ',') AS "tags" FROM "oc_bookmarks" "b" LEFT JOIN "oc_bookmarks_tree" "tree" ON b.id =tree.id AND tree.type = ? LEFT JOIN "oc_bookmarks_tags" "t" ON "t"."bookmark_id" = "b"."id" LEFT JOIN "oc_bookmarks_tree" "tr" ON tr.id = b.id AND tr.type = ? LEFT JOIN "oc_bookmarks_shared_folders" "sf" ON "tr"."parent_folder" = "sf"."folder_id" LEFT JOIN "oc_bookmarks_tree" "tr2" ON tr2.id = tr.parent_folder AND tr2.type = ? LEFT JOIN "oc_bookmarks_shared_folders" "sf2" ON "tr2"."parent_folder" = "sf"."folder_id" WHERE ("b"."user_id" = ?) OR ("sf"."user_id" = ?) OR ("sf2"."user_id" = ?) GROUP BY "b"."id", "b"."url", "b"."title", "b"."description", "b"."lastmodified", "b"."added", "b"."clickcount", "b"."last_preview", "b"."available", "b"."archived_file", "b"."user_id", "b"."id" ORDER BY "b"."lastmodified" DESC, "b"."id" ASC LIMIT 300' with params ["bookmark", "bookmark", "folder", "thatsme", "thatsme", "thatsme"]: SQLSTATE[53100]: Disk full: 7 ERROR: could not write to file "base/pgsql_tmp/pgsql_tmp22825.14": No space left on device