Skip to main content

One post tagged with "error-500"

View All Tags

· 2 min read
Lejen

Ghost Error 500 - The currently active theme is missing.

Bump into this error when I am trying to setup custom theme for Ghost Blog. I am using Heroku to host this site. Just got to know that Heroku site do not have storage to store the custom theme uploaded via Ghost admin panel.

Did couple of search online, a lot suggested that you can clone heroku by git clone command

heroku git:clone -a myappname

But I get the error message about cloning an empty repository which I think it doesn't make any sense when the site is live at the moment

Continued my search and finally came into something useful which is using heroku slug to download source code

Solution

  1. Before that, proceed to install Heroku CLI following guide at their official site Heroku Dev Center

  2. Follow this site to get it heroku-slugs installed

  3. Login to Heroku account

    heroku login
  4. Heroku slug command to download your source code

    heroku slugs:download -a APP_NAME
  5. You will be getting the following folders:

  • app
  • slug.tar.gz

Command Line

  1. Make a new repository in GitHub and upload app folder to your repository

  2. Proceed to your heroku app dashboard, under Deploy Tab, Deployment method select GitHub and search for your newly created repository. You will end up something like below.

Heroku

  1. Done!
  2. You may also setup automatic deploys for every push to master branch