Ghost Error - 500 - Failed to lookup view "index"


If you ever get the following error: 500 - Failed to lookup view "index"

All About Ghost - Failed to lookup view index

when viewing the front end of your Ghost blog it likely means there is an issue in your themes directory. For me the reason I was getting this error was because the index file was an extra directory deep. In the following directory structure you can see my theme is ghost-scroll but the actual theme files are located in one more directory called GhostScroll-master. To resolve this issue I just needed to move GhostScroll-master up one level.

[root@ip-172-31-45-74 ghost-scroll]# 
tree /var/www/ghost/content/themes/  
 /var/www/ghost/content/themes/  
 ├── casper  
 │   ├── assets  
 │   │   ├── css  
 │   │   │   ├── normalize.css  
 │   │   │   └── screen.css  
 │   │   ├── fonts  
 │   │   │   ├── icons.dev.svg  
 │   │   │   ├── icons.eot  
 │   │   │   ├── icons.svg  
 │   │   │   ├── icons.ttf  
 │   │   │   └── icons.woff  
 │   │   └── js  
 │   │   └── index.js  
 │   ├── default.hbs  
 │   ├── index.hbs  
 │   ├── LICENSE.txt  
 │   ├── post.hbs  
 │   └── README.md  
 └── ghost-scroll  
 └── GhostScroll-master  
 ├── assets  
 │   ├── css  
 │   │   ├── normalize.css  
 │   │   └── screen.css  
 │   ├── font-awesome  
 │   │   ├── css  
 │   │   │   ├── font-awesome.css  
 │   │   │   ├── font-awesome-ie7.css  
 │   │   │   ├── font-awesome-ie7.min.css  
 │   │   │   └── font-awesome.min.css  
 │   │   ├── font  
 │   │   │   ├── FontAwesome.otf  
 │   │   │   ├── fontawesome-webfont.eot  
 │   │   │   ├── fontawesome-webfont.svg  
 │   │   │   ├── fontawesome-webfont.ttf  
 │   │   │   └── fontawesome-webfont.woff  
 │   │   ├── less  
 │   │   │   ├── bootstrap.less  
 │   │   │   ├── core.less  
 │   │   │   ├── extras.less  
 │   │   │   ├── font-awesome-ie7.less  
 │   │   │   ├── font-awesome.less  
 │   │   │   ├── icons.less  
 │   │   │   ├── mixins.less  
 │   │   │   ├── path.less  
 │   │   │   └── variables.less  
 │   │   └── scss  
 │   │   ├── _bootstrap.scss  
 │   │   ├── _core.scss  
 │   │   ├── _extras.scss  
 │   │   ├── font-awesome-ie7.scss  
 │   │   ├── font-awesome.scss  
 │   │   ├── _icons.scss  
 │   │   ├── _mixins.scss  
 │   │   ├── _path.scss  
 │   │   └── _variables.scss  
 │   ├── fonts  
 │   │   ├── icons.dev.svg  
 │   │   ├── icons.eot  
 │   │   ├── icons.svg  
 │   │   ├── icons.ttf  
 │   │   └── icons.woff  
 │   └── js  
 │   └── index.js  
 ├── default.hbs  
 ├── index.hbs  
 ├── LICENSE.txt  
 ├── post.hbs  
 └── README.md 16 directories, 53 files 

If you do not have the same directory structure issue and you installed Ghost from the source code on GitHub it is likely that you skipped some steps. You can checkout our article How To Install Ghost From The GitHub Repository Source Code for the steps that are needed to install Ghost from the GitHub repository.