Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Ghost
  3. Ghost unable to send newsletter posts

Ghost unable to send newsletter posts

Scheduled Pinned Locked Moved Solved Ghost
11 Posts 3 Posters 2.0k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jordanurbsJ Offline
    jordanurbsJ Offline
    jordanurbs
    wrote on last edited by
    #1

    Email via mailgun is all set up fine. Test email works, support (register/change password) emails work fine.

    Newsletter, no go.

    This is from the logs, not sure if it helps:

    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO Worker for job "email-analytics-fetch-latest" online
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO Worker for job email-analytics-fetch-latest sent a message: done
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Aggregating for 0 emails
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Aggregating for 0 members
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetch latest started
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetch missing started
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetch scheduled started
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetched 0 events and aggregated stats in 0ms (scheduled)
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetched 0 events and aggregated stats in 168ms (latest)
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetched 0 events and aggregated stats in 1ms (missing)
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetching finished
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetching from 2023-06-22T06:34:56.809Z until 2023-06-22T21:37:13.717Z (maxEvents: Infinity)
    Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Skipping fetchMissing because end (Thu Jun 22 2023 06:34:56 GMT+0000 (Coordinated Universal Time)) is before begin (Thu Jun 22 2023 06:34:56 GMT+0000 (Coordinated Universal Time))
    Jun 22 11:38:20 [2023-06-22 21:38:20] INFO "GET /" 301 1ms
    

    The newsletter has 117 confirmed members in the email list. No sign of any mails trying to be sent on Mailgun. Changed the API key again and still nada.

    Any hints for diagnosing?

    girishG 1 Reply Last reply
    0
    • jordanurbsJ jordanurbs

      Email via mailgun is all set up fine. Test email works, support (register/change password) emails work fine.

      Newsletter, no go.

      This is from the logs, not sure if it helps:

      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO Worker for job "email-analytics-fetch-latest" online
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO Worker for job email-analytics-fetch-latest sent a message: done
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Aggregating for 0 emails
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Aggregating for 0 members
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetch latest started
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetch missing started
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetch scheduled started
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetched 0 events and aggregated stats in 0ms (scheduled)
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetched 0 events and aggregated stats in 168ms (latest)
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetched 0 events and aggregated stats in 1ms (missing)
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetching finished
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Fetching from 2023-06-22T06:34:56.809Z until 2023-06-22T21:37:13.717Z (maxEvents: Infinity)
      Jun 22 11:38:13 [2023-06-22 21:38:13] INFO [EmailAnalytics] Skipping fetchMissing because end (Thu Jun 22 2023 06:34:56 GMT+0000 (Coordinated Universal Time)) is before begin (Thu Jun 22 2023 06:34:56 GMT+0000 (Coordinated Universal Time))
      Jun 22 11:38:20 [2023-06-22 21:38:20] INFO "GET /" 301 1ms
      

      The newsletter has 117 confirmed members in the email list. No sign of any mails trying to be sent on Mailgun. Changed the API key again and still nada.

      Any hints for diagnosing?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @jordanurbs anything in mailgun dashboard ? The mails go straight from Ghost to mailgun (Cloudron doesn't see them)

      1 Reply Last reply
      0
      • jordanurbsJ Offline
        jordanurbsJ Offline
        jordanurbs
        wrote on last edited by
        #3

        Nothing in mailgun dashboard! Good to know. Not sure where to go from here though

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          I just checked our blog's logs. I see messages like "Sending email to 14 recipients"

          1 Reply Last reply
          0
          • jordanurbsJ Offline
            jordanurbsJ Offline
            jordanurbs
            wrote on last edited by
            #5

            I figured it out... instead of using the Domain > Sending > API Key (on Mailgun), use the Account > Private API Key.

            Working fine now 🙂

            1 Reply Last reply
            2
            • nebulonN nebulon marked this topic as a question on
            • nebulonN nebulon has marked this topic as solved on
            • jordanurbsJ Offline
              jordanurbsJ Offline
              jordanurbs
              wrote on last edited by jordanurbs
              #6

              Going to re-open this, because while the error disappeared initially and the "sent" confirmation was showing up per address on the post's analytics screen (unlike before), it is now saying error again and Mailgun is not showing any deliveries...

              If anyone ever comes up with the same problem I'd love to hear how you solve it.

              1 Reply Last reply
              1
              • jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #7

                Presumably you already have the newsletter email address all set-up etc?

                I created these instructions for what got it working for me:

                https://forum.cloudron.io/topic/7043/how-on-earth-do-you-get-ghost-memberships-and-newsletters-working-with-cloudron/21

                I use Cloudron with Gandi & Hetzner

                jordanurbsJ 1 Reply Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  Presumably you already have the newsletter email address all set-up etc?

                  I created these instructions for what got it working for me:

                  https://forum.cloudron.io/topic/7043/how-on-earth-do-you-get-ghost-memberships-and-newsletters-working-with-cloudron/21

                  jordanurbsJ Offline
                  jordanurbsJ Offline
                  jordanurbs
                  wrote on last edited by
                  #8

                  @jdaviescoates Thanks for sharing. Unfortunately, I had followed all those steps to a tee and it's still not working.

                  New subscriber works, test email works... just not the bulk send.

                  1 Reply Last reply
                  0
                  • jordanurbsJ Offline
                    jordanurbsJ Offline
                    jordanurbs
                    wrote on last edited by
                    #9

                    This is what shows up onscreen for a while (hours?) before it shows the error

                    Screen Shot 2023-06-23 at 10.54.03 AM.png

                    girishG 1 Reply Last reply
                    0
                    • jordanurbsJ jordanurbs

                      This is what shows up onscreen for a while (hours?) before it shows the error

                      Screen Shot 2023-06-23 at 10.54.03 AM.png

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #10

                      @jordanurbs by error, do you mean that it says "Could not send xxx" below the post in Ghost dashboard ? Usually, there is something in the logs. If you download the full logs, maybe you will find something.

                      1 Reply Last reply
                      0
                      • jordanurbsJ Offline
                        jordanurbsJ Offline
                        jordanurbs
                        wrote on last edited by
                        #11

                        Made a new mailgun account and it works fine now. I was grandfathered in on the old mailgun that was free, but apparently they won't let you send in bulk...

                        1 Reply Last reply
                        1
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search