{"action":"closed","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/7286","repository_url":"https://api.github.com/repos/TryGhost/Ghost","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7286/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7286/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7286/events","html_url":"https://github.com/TryGhost/Ghost/issues/7286","id":173895596,"number":7286,"title":"Broken admin UI: Version mismatch with ghost npm module instance","user":{"login":"krokofant","id":5908498,"avatar_url":"https://avatars.githubusercontent.com/u/5908498?v=3","gravatar_id":"","url":"https://api.github.com/users/krokofant","html_url":"https://github.com/krokofant","followers_url":"https://api.github.com/users/krokofant/followers","following_url":"https://api.github.com/users/krokofant/following{/other_user}","gists_url":"https://api.github.com/users/krokofant/gists{/gist_id}","starred_url":"https://api.github.com/users/krokofant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krokofant/subscriptions","organizations_url":"https://api.github.com/users/krokofant/orgs","repos_url":"https://api.github.com/users/krokofant/repos","events_url":"https://api.github.com/users/krokofant/events{/privacy}","received_events_url":"https://api.github.com/users/krokofant/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-29T23:22:09Z","updated_at":"2016-08-30T06:39:32Z","closed_at":"2016-08-30T06:39:32Z","body":"### Issue Summary\r\n\r\nThe main site works but the admin interface is broken and an error is produced:\r\n`ERROR: Request for version 0.9 does not match current version 0.10.`\r\n\r\n### Steps to Reproduce\r\n\r\n1. create new project folder\r\n2. `npm install ghost express`\r\n3. add `config.example.json` from ghost v0.10.0\r\n4. `node index.js`\r\n5. go to `http://localhost:2368/admin`\r\n\r\n#### index.js\r\n```javascript\r\nvar ghost = require('ghost'),\r\n    express = require('express'),\r\n    parentApp = express();\r\n\r\nghost().then(function (ghostServer) {\r\n    parentApp.use(ghostServer.config.paths.subdir, ghostServer.rootApp);\r\n    ghostServer.start(parentApp);\r\n});\r\n```\r\n\r\n\r\n### Technical details:\r\n\r\n* Ghost Version: 0.10.0 via npm\r\n* Node Version: 4.5 LTS\r\n* Browser/OS: WIndows 10 x64, Google Chrome v52\r\n* Database: PG or sqlite\r\n\r\n#### log\r\n```\r\nMigrations: Creating tables...\r\nMigrations: Creating table: posts\r\nMigrations: Creating table: users\r\nMigrations: Creating table: roles\r\nMigrations: Creating table: roles_users\r\nMigrations: Creating table: permissions\r\nMigrations: Creating table: permissions_users\r\nMigrations: Creating table: permissions_roles\r\nMigrations: Creating table: permissions_apps\r\nMigrations: Creating table: settings\r\nMigrations: Creating table: tags\r\nMigrations: Creating table: posts_tags\r\nMigrations: Creating table: apps\r\nMigrations: Creating table: app_settings\r\nMigrations: Creating table: app_fields\r\nMigrations: Creating table: clients\r\nMigrations: Creating table: client_trusted_domains\r\nMigrations: Creating table: accesstokens\r\nMigrations: Creating table: refreshtokens\r\nMigrations: Creating table: subscribers\r\nMigrations: Running fixture populations\r\nMigrations: Creating owner\r\nGhost is running in development...\r\nListening on 127.0.0.1:2368\r\nUrl configured as: http://localhost:2368\r\nCtrl+C to shut down\r\nGET /ghost/img/ghosticon.jpg 200 8.099 ms - 2499\r\nGET / 200 207.515 ms - -\r\nGET /assets/js/jquery.fitvids.js?v=b509dbeb97 200 4.311 ms - -\r\nGET /assets/css/screen.css?v=b509dbeb97 200 4.538 ms - -\r\nGET /assets/js/index.js?v=b509dbeb97 200 4.215 ms - -\r\nGET /ghost/ 302 10.995 ms - 70\r\nGET /ghost/setup/ 200 1926.452 ms - -\r\nGET /ghost/vendor.css?v=b509dbeb97 200 6.638 ms - -\r\nGET /ghost/ghost.css?v=b509dbeb97 200 5.145 ms - -\r\nGET /ghost/ghost.js?v=b509dbeb97 200 1.179 ms - -\r\nGET /ghost/vendor.js?v=b509dbeb97 200 2.849 ms - -\r\n\r\nERROR: Request for version 0.9 does not match current version 0.10.\r\n\r\n Error\r\n    at Error.VersionMismatchError (C:\\Users\\krok\\Documents\\GitHub\\ghost-0-10-test\\node_modules\\ghost\\core\\server\\errors\\version-mismatch-error.js:6:18)\r\n    at checkVersionMatch (C:\\Users\\krok\\Documents\\GitHub\\ghost-0-10-test\\node_modules\\ghost\\core\\server\\middleware\\api\\version-match.js:9:21)\r\n    at Layer.handle [as handle_request] (C:\\Users\\krok\\Documents\\GitHub\\ghost-0-10-test\\node_modules\\express\\lib\\router\\layer.js:95:5)\r\n    at trim_prefix (C:\\Users\\krok\\Documents\\GitHub\\ghost-0-10-test\\node_modules\\express\\lib\\router\\index.js:312:13)\r\n    at C:\\Users\\krok\\Documents\\GitHub\\ghost-0-10-test\\node_modules\\express\\lib\\router\\index.js:280:7\r\n    at Function.process_params (C:\\Users\\krok\\Documents\\GitHub\\ghost-0-10-test\\node_modules\\express\\lib\\router\\index.js:330:12)\r\n    at next (C:\\Users\\krok\\Documents\\GitHub\\ghost-0-10-test\\node_modules\\express\\lib\\router\\index.js:271:10)\r\n    at module.exports (C:\\Users\\krok\\Documents\\GitHub\\ghost-0-10-test\\node_modules\\ghost\\core\\server\\middleware\\maintenance.js:12:5)\r\n```"}}
{"actor":{"display_login":"kirrg001"}}