Ghost + Mailgun + Digital Ocean Error Message: Something went wrong, please try again

If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be automatically closed. If you aren’t running the latest version of Ghost, the first thing we’ll ask you to do is update to the latest version of Ghost.

What’s your URL?

What version of Ghost are you using?

  • Ghost-CLI version: 1.24.2
  • Ghost version: 5.63.0

And

How was Ghost installed and configured?

  • Installed via Terminal with Digital Ocean

What Node version, database, OS & browser are you using?

  • OS: Ubuntu, v22.04.1 LTS
  • Node Version: v16.17.0
  • What errors or information do you see in the console?

Front-end from Website:
6fe86162fb3d9dec65ccee374e81b294

Console Log:

sudo systemctl is-active ghost_lennonruthven-me
[2023-09-19 22:49:05] INFO Adding offloaded job to the queue
[2023-09-19 22:49:05] INFO Scheduling job clean-tokens at 44 8 22 * * *. Next run on: Wed Sep 20 2023 22:08:44 GMT+0000 (Coordinated Universal Time)
[2023-09-19 22:49:05] INFO Ghost booted in 7.744s
[2023-09-19 22:49:05] INFO Bootstrap client was closed.
[2023-09-19 22:49:05] INFO Adding offloaded job to the queue
[2023-09-19 22:49:05] INFO Scheduling job email-analytics-fetch-latest at 25 2/5 * * * *. Next run on: Tue Sep 19 2023 22:52:25 GMT+0000 (Coordinated Universal Time)
[2023-09-19 22:49:05] INFO Adding offloaded job to the queue
[2023-09-19 22:49:05] INFO Scheduling job update-check at 48 22 23 * * *. Next run on: Tue Sep 19 2023 23:22:48 GMT+0000 (Coordinated Universal Time)
[2023-09-19 22:49:05] INFO Running milestone emails job on Thu Sep 21 2023 22:49:05 GMT+0000 (Coordinated Universal Time)
[2023-09-19 22:49:09] INFO “GET /” 200 678ms
[2023-09-19 22:49:09] INFO “GET /assets/built/screen.css?v=cfd4d9d3f2” 200 23ms
[2023-09-19 22:49:09] INFO “GET /public/cards.min.css?v=cfd4d9d3f2” 200 25ms
[2023-09-19 22:49:09] INFO “GET /assets/built/main.min.js?v=cfd4d9d3f2” 200 29ms
[2023-09-19 22:49:09] INFO “GET /public/cards.min.js?v=cfd4d9d3f2” 200 31ms
[2023-09-19 22:49:09] INFO “GET /public/member-attribution.min.js?v=cfd4d9d3f2” 200 32ms
[2023-09-19 22:49:09] INFO “GET /members/api/member/” 204 70ms
[2023-09-19 22:49:09] INFO “GET /ghost/api/content/settings/?key=f4c6658190ddbf01303da37a78&limit=all” 304 342ms
[2023-09-19 22:49:09] INFO “GET /ghost/api/content/tiers/?key=f4c6658190ddbf01303da37a78&limit=all&include=monthly_price,yearly_price,benefits” 304 213ms
[2023-09-19 22:49:09] INFO “GET /ghost/api/content/newsletters/?key=f4c6658190ddbf01303da37a78&limit=all” 304 219ms
[2023-09-19 22:49:15] ERROR “POST /members/api/send-magic-link/” 429 39ms

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

Fresh ghost install with Digital Ocean. Just changed the Mail area in config.production.json for SMTP to these settings. Domain verified on Mailgun with Digital Ocean. On mailgun foundation plan till the automatic downgrade to flex. Going around in circles because i’m just changing the mail section of config.production.json, receiving a front-end error when putting in an email address to my website. It either leads me with ERROR “POST /members/api/send-magic-link/” 500 or 429 in the console.

Any help or guidance in this situation is greatly received. Have an amazing day!

config.production.json:

{
  "url": "mywebsite",
  "server": {
    "port": 2368,
    "host": "127.0.0.1"
  },
  "database": {
    "client": "mysql",
    "connection": {
      "host": "localhost",
      "user": "ghost-9...",
      "password": "d4C5J8j_PKh...",
      "port": 3306,
      "database": "ghost_production"
    }
  },
  "mail": {
    "from": "noreply@lennonruthven...",
    "transport": "SMTP",
    "options": {
      "host": "smtp.eu.mailgun...",
      "port": 587,
      "service": "Mailgun",
      "secure": false,
      "requireTLS": true,
      "auth": {
        "user": "<postmaster@lennonruthven...>",
        "pass": "<84c1c4ca3f134c6a...>"
      }
    }
  },
  "logging": {
    "transports": [
      "file",
      "stdout"
    ]
  },
  "process": "systemd",
  "paths": {
    "contentPath": "/var/www/ghost/content"
  }
}

the ellipsis exist because the forum stated I can’t have more than 3 links as a new user.

Are the < and > in your actual file? I would not expect them there.

Thanks for the help, bruvva! Lotta love!

Sorry, I’m not all code-literate. :laughing: