Replies: 10 comments
-
|
having the same issue on a new docker production setup, using gmail smtp creds. No emails are being sent when logging in and the docker logs show no error, neither does the site iteself. |
Beta Was this translation helpful? Give feedback.
-
We also did not get it to work since making this thread. We also double checked if it could maybe be something Supabase related, however the Supabase CLI mail service works fine. The daemon also still works in other applications. |
Beta Was this translation helpful? Give feedback.
-
|
Without showing any errors or more detailed logs, I can maybe ask some questions to help you get to it:
EDIT: I have just done a test sending emails with Office365 SMTP and worked fine. Make sure you enable it in your settings. It wont work unless you have done that. |
Beta Was this translation helpful? Give feedback.
-
|
Hey there @DonKoko , After stopping the database and trying to restart it because of the API errors in Supabase I mentioned, Supabase claims that the database is unhealthy and won't start it again. I'm considering just reinstalling the entire thing on Linux to see if that will fix the problems I'm having with Supabase CLI. I did not run any migrations, because I was unsure after what exactly to do after starting it using I can see tables in Supabase, they were created when first initializing the database. However, none of the tables had entries. The users I created in Shelf were showing up in the "Authentication" tab in Supabase. I created the buckets according to the documentation. I added the details of the daemon into the .env file for Shelf. I also enabled onboarding emails in the settings. I will reinstall everything on Linux later today and update you again. |
Beta Was this translation helpful? Give feedback.
-
I am really not sure about those supabase errors. We dont self-host supabase. You can join their discord, maybe someone there can you you.
That is expected flow for supabase auth. User only gets created after the email is confirmed. |
Beta Was this translation helpful? Give feedback.
-
|
@DonKoko Thank you for your help and patience so far! I have now reinstalled the entire thing on Ubuntu, which is performing a whole lot better than the Windows VM. The supabase errors are also fixed now. I am now facing the same problem from before. I tried it with an Exchange account, as well as an account from Strato. Both do not work. The login UI says "Email sent successfully. Please check your inbox.". The CLI tells me the same things I had sent before. I assume it's not related to Microsoft but to some settings. So what I did thus far: I followed the documentation along until the step where you have to run When running
I had to generate my own SSL certificates since they were missing, I did not have to do that on my Windows VM though. So I'm not sure if this is intended behaviour. I assume this is because In my I also set my maptiler and geocode tokens. The user is once again generated in Supabase as you mentioned. Though it says the user was confirmed at the same time I sent the first email. Is there any other setting I missed to set the email settings correctly? Do I need to set up SSO in Microsoft Entra in order for this to work? I also noticed a 404 error in the documentation, I already made a pull request fixing the dead link. |
Beta Was this translation helpful? Give feedback.
-
|
hey @LK-RPN . For some reason this thread got lost on me, and I just found it again. I am wondering if you managed to resolve this?
Have you checked if the requires confirmation setting in supabase is enabled? I am not sure what is the default tbh, but I know they have an option to get users to signup without confirmation required. |
Beta Was this translation helpful? Give feedback.
-
|
Hey @DonKoko With a colleague we got a bit further, we ran migrations to production and made a build version and all. But still, I was not able to get it to work unfortunately. The email just landed in inbucket, though I think this is now more of a Supabase CLI error than a shelf error. But even then, I was able to copy the verification code from the email, but when I pasted it into the shelf login I got the following error: What could be causing this? |
Beta Was this translation helpful? Give feedback.
-
|
This error usually happens with some misconfiguration of env variables or something like this. Can you run a development build ( |
Beta Was this translation helpful? Give feedback.
-
|
Its broken for me as well |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Contact Details
No response
What happened?
When trying to sign up a new user, the confirmation email does not get sent. I have confirmed the daemon works with the current credentials via a Synology NAS.
There is no error message in the console.
What I get is the following when trying to sign up a new user after running
npm run dev:There is no email arriving in my inbox. The daemon is running over Microsoft 365 for Business and has a valid Exchange license.
It's trying to send the email via Microsofts own SMTP server, smtp.office365.com.
This also leads to the following beheaviour:
When trying to sign up again (for example after restarting the server), trying to sign up with an email previously used does not work.
It gives the following error:
"Something went wrong, refresh page and try to signup again."
The console shows the following:
I redacted all instances of my hostname and email in this for security reasons. So Shelf thinks the user is already registered from what I can read. These users then appear in Supabase under the "Authentication" tab.
When trying to log in with these users, I get the following error:
You do not have access to any organization. Please contact support.
Deleting these users from supabase seems difficult, since it always results in an API error when trying to do so.
What is the expected behaviour?
I get an email.
Version
Self-hosted
What browsers are you seeing the problem on?
Firefox
Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions