Oops, seems there is an error in the error template.

Encountered the error:

Failed to lookup view "/var/www/ghost/core/server/views/user-error.hbs" in views directory "/var/www/ghost/content/themes/casper"

whilst trying to render an error page for the error:

SQLITE_CANTOPEN
SQLITE_CANTOPEN: unable to open database file