Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invites to blog.crossplane.io are broken #81

Open
jbw976 opened this issue Jul 31, 2023 · 3 comments
Open

invites to blog.crossplane.io are broken #81

jbw976 opened this issue Jul 31, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jbw976
Copy link
Member

jbw976 commented Jul 31, 2023

It appears impossible currently to invite someone to be an author on blog.crossplane.io.

Error sending email! Error sending email: Failed to send email. Please check your email settings and resend the invitation.

I debugged for quite awhile when this first happened a few months ago, but was unable to find a permanent fix at that time. The Ghost email settings show that we're using the direct mail option, so I suspect that we're not sending authenticated mail and email providers like gmail reject it.

The current known workaround is to follow the procedure outlined in https://blog.tiga.tech/posts/invite-users-to-a-ghost-blog-without-sending-an-email/

special notes when trying the workaround:

  • get mysql connection info from /var/www/ghost/config.production.json
  • remove the trailing = or == chars from the token when crafting the URL

workaround commands:

# access droplet console in https://cloud.digitalocean.com/droplets

mysql -u ghost -p
# enter password from mysql connection info

use ghost_production;
UPDATE invites SET status='sent';
SELECT email,token FROM invites;

# go to URL with https://blog.crossplane.io/ghost/#/signup/<token with trailing ='s removed> and finish creating account in the UI
@jbw976 jbw976 added the bug Something isn't working label Jul 31, 2023
@jbw976 jbw976 self-assigned this Jul 31, 2023
@github-actions
Copy link

Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@jbw976
Copy link
Member Author

jbw976 commented Oct 30, 2023

With all the email security implemented for the crossplane.io domain, it may be possible to configure Ghost to send email securely without errors. That's just a hunch though, but worth looking into 🤔

@jeanduplessis
Copy link

@jbw976 can/should we move this issue to a different repo? Feels slightly unrelated to crossplane/crossplane

@jbw976 jbw976 transferred this issue from crossplane/crossplane Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants