Cannot login or subscribe to email on the new website

  • What’s your URL? eldaragayev.com
  • What version of Ghost are you using? 5.23 CLI: 1.23.1
  • What configuration?
{
  "url": "https://eldaragayev.com",
  "server": {
    "port": 2368,
    "host": "127.0.0.1"
  },
  "database": {
    "client": "mysql",
    "connection": {
      "host": "localhost",
      "user": "user",
      "password": "password",
      "database": "database"
    }
  },
  "mail": {
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "auth": {
        "user": "email@mail.eldaragayev.com",
        "pass": "pass"
      }
    }
  },
  "logging": {
    "transports": [
      "file",
      "stdout"
    ]
  },
  "process": "systemd",
  "paths": {
    "contentPath": "/var/www/eldarblog/content"
  }
}

  • What browser? Safari
  • What errors or information do you see in the console?
{"name":"Log","hostname":"ubuntuBots","pid":150487,"level":50,"req":{"meta":{"requestId":"2c5c520e-73f4-4aad-b5a4-9651fa37a1db","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"137.205.1.103","x-forwarded-proto":"https","x-real-ip":"137.205.1.103","host":"eldaragayev.com","connection":"close","content-type":"application/json; charset=UTF-8","accept":"application/json, text/javascript, */*; q=0.01","x-requested-with":"XMLHttpRequest","app-pragma":"no-cache","accept-language":"ru","accept-encoding":"gzip, deflate, br","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15","referer":"https://eldaragayev.com/ghost/","x-ghost-version":"5.23","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-uPmha8K4L4mzrmU+KbFxtTxanok\""},"statusCode":403,"responseTime":"11ms"},"err":{"id":"f0136b40-6c63-11ed-9e37-25695e7ab293","domain":"https://eldaragayev.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/eldarblog/versions/5.23.0/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/eldarblog/versions/5.23.0/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/eldarblog/versions/5.23.0/node_modules/express/lib/router/route.js:144:13)\n    at authenticate (/var/www/eldarblog/versions/5.23.0/core/server/services/auth/session/middleware.js:28:13)","hideStack":false},"msg":"Authorization failed","time":"2022-11-25T01:53:20.379Z","v":0}

  • What steps could someone else take to reproduce the issue you’re having?
    I have tried to login via different browsers, checked the password for mailgun and configuration. No errors when running ghost doctor. Cannot login but sending emails (new posts) is completed (however, they get into spam). I have not manually edited any of the configs after setup. When trying to “sign in” as member – does not work also.
    image

Logs from console.

Also to note, the buttons in the email is not working.

The safari cannot open url when clicking on this links. It sends me here:

[type or paste code here](https://email.mail.eldaragayev.com/c/eJxczkFuwyAQheHT4J0jZgYwWbCoVHGPgRliK05axbhRb1_Zy27f-xefpBpDHDRBCFdyNBEMc4qtiscpokQfKqFFwRaKbU6tqNRhSWgRAdBbJE9wEeAiAFYQFKoV4-yDl_Wiq_CLb_yrP5f69RjWNPf-vRn6MJgN5n-_wbx1fsp76fN-f_Hy1LMjg7mpSuF6N5gDTc1DCxggiooyw8R8jQYzHD3lfV_E0CdUx0xexoLWjU5cHEukNjoPjEXEUavDK_VZT8hbN-Ps7ZQf2p7Kvt5HPYa_AAAA__-LMlnJ)