{"action":"closed","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/7744","repository_url":"https://api.github.com/repos/TryGhost/Ghost","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7744/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7744/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7744/events","html_url":"https://github.com/TryGhost/Ghost/issues/7744","id":191210628,"number":7744,"title":"Ghost v0.11.3 cannot start with ","user":{"login":"ryanivanka","id":2649096,"avatar_url":"https://avatars.githubusercontent.com/u/2649096?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanivanka","html_url":"https://github.com/ryanivanka","followers_url":"https://api.github.com/users/ryanivanka/followers","following_url":"https://api.github.com/users/ryanivanka/following{/other_user}","gists_url":"https://api.github.com/users/ryanivanka/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanivanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanivanka/subscriptions","organizations_url":"https://api.github.com/users/ryanivanka/orgs","repos_url":"https://api.github.com/users/ryanivanka/repos","events_url":"https://api.github.com/users/ryanivanka/events{/privacy}","received_events_url":"https://api.github.com/users/ryanivanka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-23T08:21:40Z","updated_at":"2016-11-23T08:22:17Z","closed_at":"2016-11-23T08:22:17Z","body":"### Issue Summary\r\n\r\nI'm using Redhat to install ghost, npm 3.9.6, nodejs 4.2.0. \r\nMy enviroment using openshift container, with ghost and nodejs supported. I have a ghost 0.9.0 running successfully on node 0.10.0 on same env. But after 0.11.3 version, it throw exception when starts.\r\n\r\nBut node start will have exception.\r\n\r\n### Steps to Reproduce\r\ndownload ghost 0.11.3 version, npm install --production, and node index, \r\n\r\nHere comes the exception from bluebird:\r\n\r\n```\r\n ERROR: _.toPairs is not a function \r\n \r\n TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at getSettingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:357:44)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:372:24\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromise0 (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:606:10)\r\n    at Promise._settlePromises (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:685:18)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:138:16)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17) \r\nUnhandled rejection TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:361:28\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromiseCtx (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:598:10)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:143:12)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17)\r\nUnhandled rejection TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:361:28\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromiseCtx (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:598:10)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:143:12)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17)\r\nMigrations: Database backup written to: /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/content/data/ghost.2016-11-22.json\r\nMigrations: Migration required from 006 to 007\r\nMigrations: No tasks found for version\r\nMigrations: Updating database to 007\r\nMigrations: Running fixture updates\r\nSkipping Migrations: rolling back because of: undefined\r\nMigrations: Creating database backup\r\nERROR: _.toPairs is not a function \r\n \r\n TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at getSettingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:357:44)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:372:24\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromise0 (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:606:10)\r\n    at Promise._settlePromises (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:685:18)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:138:16)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17) \r\nUnhandled rejection TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:361:28\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromiseCtx (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:598:10)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:143:12)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17)\r\nUnhandled rejection TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:361:28\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromiseCtx (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:598:10)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:143:12)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17)\r\nMigrations: Database backup written to: /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/content/data/ghost.2016-11-22.json\r\nMigrations: Migration required from 006 to 007\r\nMigrations: No tasks found for version\r\nMigrations: Updating database to 007\r\nMigrations: Running fixture updates\r\nSkipping Migrations: rolling back because of: undefined\r\nMigrations: Creating database backup\r\nERROR: _.toPairs is not a function \r\n \r\n TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at getSettingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:357:44)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:372:24\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromise0 (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:606:10)\r\n    at Promise._settlePromises (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:685:18)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:138:16)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17) \r\nUnhandled rejection TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:361:28\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromiseCtx (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:598:10)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:143:12)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17)\r\nUnhandled rejection TypeError: _.toPairs is not a function\r\n    at settingsFilter (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:112:35)\r\n    at settingsResult (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:215:37)\r\n    at /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/core/server/api/settings.js:361:28\r\n    at tryCatcher (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromiseCtx (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/promise.js:598:10)\r\n    at Async._drainQueue (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:143:12)\r\n    at Async._drainQueues (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:368:17)\r\nMigrations: Database backup written to: /var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/content/data/ghost.2016-11-22.json\r\nMigrations: Migration required from 006 to 007\r\nMigrations: No tasks found for version\r\nMigrations: Updating database to 007\r\nMigrations: Running fixture updates\r\nSkipping Migrations: rolling back because of: undefined\r\nUnhandled rejection Error: ENOENT: no such file or directory, scandir '/var/lib/openshift/5834779789f5cf76f8000103/app-root/runtime/repo/content/themes'\r\n    at Error (native)\r\n```\r\n\r\n### Technical details:\r\n\r\n* Ghost Version: 0.11.3\r\n* Node Version:4.2.0\r\n* Browser/OS: Redhat on openshift\r\n* Database: mysql\r\n"}}
{"actor":{"display_login":"ryanivanka"}}