Can't create new site

  • What’s your URL?
    http://blog.berserk.cl
  • What version of Ghost are you using?
    v3.37.1
  • What configuration?
    {
    “url”: “http://localhost:2369/”,
    “server”: {
    “port”: 2369,
    “host”: “127.0.0.1”
    },
    “database”: {
    “client”: “sqlite3”,
    “connection”: {
    “filename”: “/home/odin/subdomains/blog/content/data/ghost-local.db”
    }
    },
    “mail”: {
    “transport”: “Direct”
    },
    “logging”: {
    “transports”: [
    “file”,
    “stdout”
    ]
    },
    “process”: “local”,
    “paths”: {
    “contentPath”: “/home/odin/subdomains/blog/content”
    }
    }
  • What browser?
    chrome-dev (88.0.4315.5 (Official Build) dev (64-bit)) and edge for linux.
  • What errors or information do you see in the console?
    odin@yggdrasil ~/subdomains/blog :watch: 19:51:54
    :cloud::zap: ghost log
    [2020-11-16 19:51:51] INFO Model: Post
    [2020-11-16 19:51:52] INFO Model: Integration
    [2020-11-16 19:51:52] INFO Relation: Role to Permission
    [2020-11-16 19:51:52] INFO Relation: Post to Tag
    [2020-11-16 19:51:52] INFO Relation: User to Role
    [2020-11-16 19:51:54] INFO Ghost is running in development…
    [2020-11-16 19:51:54] INFO Listening on: 127.0.0.1:2369
    [2020-11-16 19:51:54] INFO Url configured as: http://localhost:2369/
    [2020-11-16 19:51:54] INFO Ctrl+C to shut down
    [2020-11-16 19:51:54] INFO Ghost boot 5.066s
    [2020-11-16 20:01:58] INFO “GET /” 200 395ms
    [2020-11-16 20:01:59] INFO “GET /assets/built/screen.css?v=42ee55f6d4” 200 8ms
    [2020-11-16 20:01:59] INFO “GET /assets/built/casper.js?v=42ee55f6d4” 200 5ms
    [2020-11-16 20:02:12] INFO “GET /ghost/” 200 59ms
    [2020-11-16 20:02:13] INFO “GET /ghost/” 200 28ms
    [2020-11-16 20:02:13] INFO “GET /ghost/assets/vendor.min-927298149aff3b1dd094bfb6b92f6de3.js” 200 167ms
    [2020-11-16 20:02:15] ERROR “GET /ghost/api/v3/admin/users/me/?include=roles” 403 12ms

NAME: NoPermissionError
MESSAGE: Authorization failed

level: normal

“Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.”
NoPermissionError: Authorization failed
at new NoPermissionError (/home/odin/subdomains/blog/versions/3.37.1/node_modules/@tryghost/errors/node_modules/ghost-ignition/lib/errors/index.js:134:23)
at authorizeAdminApi (/home/odin/subdomains/blog/versions/3.37.1/core/server/services/auth/authorize.js:28:25)
at Layer.handle [as handle_request] (/home/odin/subdomains/blog/versions/3.37.1/node_modules/express/lib/router/layer.js:95:5)
at next (/home/odin/subdomains/blog/versions/3.37.1/node_modules/express/lib/router/route.js:137:13)
at authenticate (/home/odin/subdomains/blog/versions/3.37.1/core/server/services/auth/session/middleware.js:24:13)

[2020-11-16 20:02:15] INFO “GET /ghost/api/v3/admin/site/” 200 4ms
[2020-11-16 20:02:16] INFO “GET /ghost/api/v3/admin/authentication/setup/” 200 10ms
[2020-11-16 20:02:16] INFO “GET /ghost/api/v3/admin/authentication/setup/” 200 7ms

  • What steps could someone else take to reproduce the issue you’re having?

  • install ghost-cli on centos 7 with selinux activated. (selinux Disabled i got the same results)

  • ghost install local

  • create proxy reverse on apache 2.4.6

  • open url/ghost to continue setup.

  • get the message : “Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.”

it “ends” the setup , blog works, but, can’t login to “admin” to edit the content.