And for now, should i simply delete those .conf files?
Yeah, that works.
And for now, should i simply delete those .conf files?
Yeah, that works.
A new (Directus) app that i cloned from an existing one, has seemingly become stuck in an unresponsive (502 Error
) state.
The logs show:
[no timestamp] [warn] conflicting server name "<my-app-domain>" on 0.0.0.0:80, ignored
[no timestamp] [warn] conflicting server name "<my-app-domain>" on [::]:80, ignored
[no timestamp] [warn] conflicting server name "<my-app-domain>" on 0.0.0.0:443, ignored
[no timestamp] [warn] conflicting server name "<my-app-domain>" on [::]:443, ignored
How to resolve this issue?
Note:
Update:
I have again uninstalled the app.
Upon inspecting /etc/nginx/applications/
, i can now see 2 orphan configs (for the uninstalled apps) for the concerned <my-app-domain>, which should be the cause of this issue.
Is this a bug then (orphaned nginx configs persisting) ?
And for now, should i simply delete those .conf
files?
Re: Directus - Package Updates
Kindly update the package to the latest release: https://github.com/directus/directus/releases/tag/v11.2.1
I don't think this is a strictly "SMTP" related issue. Even for auth, the Cloudron configured email should work just fine.
Update:
Yes, confirmed that the issue is that the Typebot instance is not aware of the available SMTP settings at all.
Example, the following defaults in the "env.sh" have been able to get my Typebot instance going properly now:
export SMTP_USERNAME="$CLOUDRON_MAIL_SMTP_USERNAME"
export SMTP_PASSWORD="$CLOUDRON_MAIL_SMTP_PASSWORD"
export SMTP_HOST="$CLOUDRON_MAIL_SMTP_SERVER"
export SMTP_PORT="$CLOUDRON_MAIL_SMTP_PORT"
export NEXT_PUBLIC_SMTP_FROM="$CLOUDRON_MAIL_FROM_DISPLAY_NAME <$CLOUDRON_MAIL_FROM>"
export SMTP_SECURE="false"
export SMTP_AUTH_DISABLED="false"
Recommendation: have the above config set by default, particularly in the cases where the admin selects "User Management by app", when installing the app.
Re: Mattermost - Package Updates v10.0
In case anyone missed it, v10+ includes some 'significant breaking changes'. An ongoing discussion:
@nebulon said in Native (email) Auth doesn't seem to work out-of-box:
have you tried any of the others mentioned at https://docs.typebot.io/self-hosting/configuration ?
@nebulon Nope, as my current use-case requires the use of email based auth only.
So, is the current Typebot app package not functional right now?
@nebulon said in SSL certificate failing:
So Cloudron only issues certificates for domains which are used by any app. This is also since often Cloudron is used on domains which are not exclusively used by that Cloudron.
@nebulon said in SSL certificate failing:
I understand this is a bit annoying and maybe unexpected if that domain is exclusively used for that Cloudron, but we can't assume that.
See ->
@nebulon What do you mean?
The pointing of a domain and all of its subdomains, in this manner, implies precisely this, that the domain is managed exclusively by Cloudron.
The concerned domain, let's call it "domainX".
https://my.domainX
*.domainX
) in use@joseph said in SSL certificate failing:
In the logs, it will tell you why it wasn't renewed and also the expiry of the certificate.
There's no mention of a certificate renewal attempt for just "domainX" in those very logs, only for all the apps using it with *.domainX
The original certificate for domainX was issued by/via Cloudron itself (if i'm not mistaken?), as seen below, so, i'm not sure what you mean here.
This is the sign up page ->
@nebulon
Just did a fresh install again, which resulted in the same issue:
I tried overwriting the SMTP related settings when the default was not functioning at all.
Hi @nebulon
I've tried the manual renewal process multiple times already.
Also, upon inspecting the logs, i found that the certificate for the 'root domain' is not being renewed to begin with!
Could that be the issue/bug here?
The certificate for my main domain (configured in Cloudron using Wildcard DNS) has expired and is not refreshing.
How to resolve this?
I tried setting up Typebot on my Cloudron instance yesterday, but couldn't get the native Email auth to work.
Keep seeing the "Set up one of the Auth Providers" message.
Configured the following env variables:
ADMIN_EMAIL
SMTP_USERNAME SMTP username
SMTP_PASSWORD SMTP password
SMTP_HOST SMTP host. (i.e. smtp.host.com)
SMTP_PORT 25 SMTP port
NEXT_PUBLIC_SMTP_FROM From name and email (i.e. 'Typebot Notifications' <notifications@host.com>)
SMTP_SECURE false If true the connection will use TLS when connecting to server. If false (the default) then TLS is used if server supports the STARTTLS extension. In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false
SMTP_AUTH_DISABLED false To disable the authentication by email but still use the provided config for notifications
Then also tried setting these when the above didn't work:
DATABASE_URL * The database URL
ENCRYPTION_SECRET * A 256-bit key used to encrypt sensitive data. It is strongly recommended to generate a new one. The secret should be the same between builder and viewer.
NEXTAUTH_URL * The builder base URL. Should be the publicly accessible URL (i.e. https://typebot.domain.com)
NEXT_PUBLIC_VIEWER_URL * The viewer base URL. Should be the publicly accessible URL (i.e. https://bot.domain.com)
Seems like i'm missing something here.
Kindly advise!
@nebulon Thanks! Got it working finally
I think i'm missing something obvious here, but i'm unable to find the method of creating a password for the first user.
The docs (https://docs.cloudron.io/apps/synapse/tion) don't mention anything regarding creating the password either
And i did try the Cloudron admin password, unsuccessfully.
@girish Thanks for the quick resolution!