Local Ghost Admin page is blank; files 404

If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:

  • What’s your URL?

Local only at the moment. It’s just a white page at http://localhost:2368/ghost/

  • What version of Ghost are you using?

I can access my pages just fine and I was able to access my admin page yesterday.

Ghost-CLI version: 1.11.0
Ghost version: 2.31.1 (at ~/myBLOG/ghost)
  • What configuration?
{
  "url": "http://localhost:2368/",
  "server": {
    "port": 2368,
    "host": "127.0.0.1"
  },
  "database": {
    "client": "sqlite3",
    "connection": {
      "filename": "/Users/john/myBLOG/ghost/content/data/ghost-local.db"
    }
  },
  "mail": {
    "transport": "Direct"
  },
  "logging": {
    "transports": [
      "file",
      "stdout"
    ]
  },
  "process": "local",
  "paths": {
    "contentPath": "/Users/john/myBLOG/ghost/content"
  }
}

  • What browser?

Any browser really, I guess.

  • What errors or information do you see in the console?
localhost/:36 GET http://localhost:2368/ghost/assets/vendor.min-e80c50b3effa149734ab96b786349748.css net::ERR_ABORTED 404 (Not Found)
localhost/:37 GET http://localhost:2368/ghost/assets/ghost.min-e6d4ded9abbe29d85a25b522f83564cb.css net::ERR_ABORTED 404 (Not Found)
localhost/:55 GET http://localhost:2368/ghost/assets/vendor.min-91a9507d0b90969c3c1a7f854b47ebd2.js net::ERR_ABORTED 404 (Not Found)
localhost/:56 GET http://localhost:2368/ghost/assets/ghost.min-15c37241c8300e46af2825da3834966a.js net::ERR_ABORTED 404 (Not Found)
  • What steps could someone else take to reproduce the issue you’re having?

Try to go to /ghost/ admin URL and observe console.

I fixed it!

Here’s what I did:

  1. Installed a fresh Ghost blog
  2. Copied the local SQLite file (should be located in /content/data) of the corrupted admin blog and replaced the database file in the fresh new blog.
  3. Restarted new blog via ghost restart
  4. Success!