question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Alpha.17] Admin panel not available

See original GitHub issue

Issue Summary

Visiting http://............./ghost/ produces error “404 - Resource could not be found”. Error is different from #8126

Steps to Reproduce

  1. Install clean Ghost alpha.17
  2. Set up config.production.json with password auth
  3. Open ghost admin URL

Technical details:

Ghost Version: alpha.17 Node Version: v6.10.0 OS: Debian 3.16.39-1+deb8u1 Database: MariaDB Browser: Comodo Dragon

Log

ERROR [2017-03-23 01:22:17] "GET /ghost/" 404 3ms

NAME: NotFoundError
CODE: ENOENT
MESSAGE: Resource could not be found.

level:normal

NotFoundError: Resource could not be found.
    at new NotFoundError (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/ghost-ignition/lib/errors/index.js:87:23)
    at prepareError (/var/www/ghost/versions/1.0.0-alpha.17/core/server/middleware/error-handler.js:65:19)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/response.js:424:7
    at SendStream.onerror (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/response.js:998:5)
    at emitOne (events.js:96:13)
    at SendStream.emit (events.js:188:7)
    at SendStream.error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/send/index.js:282:17)
    at SendStream.onStatError (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/send/index.js:433:12)
    at onstat (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/send/index.js:734:26)
    at FSReqWrap.oncomplete (fs.js:123:15)

Error: ENOENT: no such file or directory, stat '/var/www/ghost/versions/1.0.0-alpha.17/core/server/admin/views/default-prod.html'
    at Error (native)

ERROR [2017-03-23 01:22:17] "GET /ghost/assets/ghost.min.css?v=9751a65864" 404 2ms

NAME: NotFoundError
CODE: ENOENT
MESSAGE: Resource could not be found.

level:normal

NotFoundError: Resource could not be found.
    at new NotFoundError (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/ghost-ignition/lib/errors/index.js:87:23)
    at prepareError (/var/www/ghost/versions/1.0.0-alpha.17/core/server/middleware/error-handler.js:65:19)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)

Error: ENOENT: no such file or directory, stat '/var/www/ghost/versions/1.0.0-alpha.17/core/built/assets/ghost.min.css'
    at Error (native)

ERROR [2017-03-23 01:22:17] "GET /ghost/assets/img/404-ghost.png?v=9751a65864" 404 7ms

NAME: NotFoundError
CODE: ENOENT
MESSAGE: Resource could not be found.

level:normal

NotFoundError: Resource could not be found.
    at new NotFoundError (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/ghost-ignition/lib/errors/index.js:87:23)
    at prepareError (/var/www/ghost/versions/1.0.0-alpha.17/core/server/middleware/error-handler.js:65:19)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:315:13)
    at /var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:335:12)
    at next (/var/www/ghost/versions/1.0.0-alpha.17/node_modules/express/lib/router/index.js:275:10)

Error: ENOENT: no such file or directory, stat '/var/www/ghost/versions/1.0.0-alpha.17/core/built/assets/img/404-ghost.png'
    at Error (native)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
acburdinecommented, Mar 23, 2017

So I just got around to testing this out, and it looks like what was published to npm as alpha.17 (that’s how Ghost-CLI gets the download) did not have the built index.html that Ghost-Admin needs. Something must have gotten borked with how Ghost was last published.

0reactions
acburdinecommented, Mar 23, 2017

The other errors are caused (I think) because of browser caching.

Read more comments on GitHub >

github_iconTop Results From Across the Web

strapi@3.0.0-alpha.17 - Snyk Vulnerability Database
Affected versions of this package are vulnerable to Information Exposure by allowing an authenticated user with access to the admin panel to view...
Read more >
Update 6 Alpha - The Next Generation 3CX!
I am on 18.0 Update 6 (Build 861)Version and I have a SIP-T54W on firmware version 96.86.0.74 and I just can't seem to...
Read more >
Developer Tools Alpha 18 (or 17 or 16) - Steam Community
This guide tells you how to turn on the admin tools included by default with the game. No mods required, no downloading of...
Read more >
FAQ - the Alpha Technologies
Our Frequently Asked Questions (FAQs) page contains a large selection of the most ... Just replaced a rectifier and still controller is showing...
Read more >
Can't access the admin dashboard of my locally hosted site
Since I bought the code from someone and not very good in php how will I do it. There's no way to contact...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found