-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Basic Questions wrt Listmonk #196
Comments
Sorted. This was because SES was in Sandbox. Now that it's up and running. Absolutely lovely - Just works out of the box. This is what FOSS should be like. Cheers. |
Hi, I am out of Sandbox :)
|
@knadh @mr-karan I just installed nginx (for installing SSL) and ssl on domain and everything broke. Unable to reinstall listmonk as the error of ---- error connecting to DB: dial tcp x.x.x.x:5432: connect: connection refused I have checked the postgres service running, it is running Can you guys help pls? |
This looks like |
No hostname (in db section of config file) looks the name of domain. In
error msg and location of installation in config file looks like 127.0.0.1
(replaced with my ip).
I changed hostname in db section Because I got an error while installing
listmonk that verify-full was for the domain and not ip.
…On Mon, 5 Oct 2020, 10:28 Karan Sharma, ***@***.***> wrote:
dial tcp x.x.x.x:5432: connect: connection refused
This looks like x.x.x.x isn't 127.0.0.1 but some other hostname. What's
the hostname entered in config.toml and what's the interface Postgres is
listening on?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#196 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARESAVDQSKNK5KNP22OEBC3SJFG6BANCNFSM4SB5GAFA>
.
|
[app]
Database.[db] |
Is your DB host at |
Sorry, thought everyone was masking, so did that. Here's the snapshot of the config file. With the same config file I was able to install and run listmonk without any problems. Problems started when I installed nginx+ssl, then restarted nginx and postgres. Post which I tried running ./listmonk (considering it was working fine without nginx/ssl) - it did not work. then tried installing, which resulted in the error highlighted below. I have verified psql is running while installing listmonk. [app]
Database.[db] Here's the error output : ./listmonk If I change domain with 127.0.0.1 or localhost in config file, here's the error: |
I restarted everything - now all things are working fine (even SSL) - Listmonk is also working fine. It is just that, whenever (even post rebooting system) listmonk is running at the backend and when I try to do ./listmonk it gives the below error, just want to be sure - if this is really an error or can I ignore this? @ubuntu-s-1vcpu-1gb-blr1-01:~/listmonk$ ./listmonk 1 more question: listmonk is accessible at the http version and not the https version? any solution to this pls? @mr-karan |
This means listmonk is already running. You can do |
Thanks, that worked. |
Apologies for re-opening: All URLs including confirm subscription and unsubscribe are visible to public via port number. How can I move this to only domain and https? e.g. https://domain.com/subscription/xxx-xxx I feel this is getting done through nginx server blocks - but listmonk does not seem to create the requisite server block since it does not have a dependency on nginx. I was hogging stackoverflow for the same, but all the mechanisms mentioned there seem to break the functionality of URL. Any suggestions here pls @knadh @mr-karan ? |
If you have Nginx running, you can just do:
Note that this is just an example with port 80 that gives you |
Apologies for re-opening: Problem:
Here's what I did with my nginx server block file server { location / { ssl on; server { am I doing anything wrong - or do I have to go and update the config file for listmonk? I tried editing that and mentioning verify-full and name of domain instead of localhost - both dont seem to work. |
Hi @knadh @mr-karan : I am reinstalling on the same domain, below is the error I am getting, is this because of the ongoing upgrades? ./listmonk —install everytime it ends there. Any solution for this? |
Ah this looks similar to #124 but running
@knadh Why do we need to apply the DB migrations on running |
listmonk doesn't run migrations on @jackdanielux did you get this binary directly from the releases page? |
Yes. I got the latest release from github using wget, then I tried using
the one from website. Website one installed fine.
…On Thu, 15 Oct 2020, 12:18 Kailash Nadh, ***@***.***> wrote:
@knadh <https://github.com/knadh> Why do we need to apply the DB
migrations on running --install ?
It doesn't. Migrations are only applied on --upgrade. The example shows
--upgrade being run after listmonk prompted there are 2 pending database
upgrade(s): [v0.4.0 v0.7.0]. The last upgrade was v0.0.0. v0.0.0
shouldn't happen in a production binary obviously.
@jackdanielux <https://github.com/jackdanielux> did you get this binary
directly from the releases page?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#196 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARESAVDQTJQDHZ76SGYHFA3SK2LLDANCNFSM4SB5GAFA>
.
|
By website I mean, I downloaded zip (some days ago), extracted and uploaded
on server via FTP. Wget was as of yesterday.
…On Thu, 15 Oct 2020, 12:26 Jai Mamtani, ***@***.***> wrote:
Yes. I got the latest release from github using wget, then I tried using
the one from website. Website one installed fine.
On Thu, 15 Oct 2020, 12:18 Kailash Nadh, ***@***.***> wrote:
> @knadh <https://github.com/knadh> Why do we need to apply the DB
> migrations on running --install ?
>
> It doesn't. Migrations are only applied on --upgrade. The example shows
> --upgrade being run after listmonk prompted there are 2 pending database
> upgrade(s): [v0.4.0 v0.7.0]. The last upgrade was v0.0.0. v0.0.0
> shouldn't happen in a production binary obviously.
>
> @jackdanielux <https://github.com/jackdanielux> did you get this binary
> directly from the releases page?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#196 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARESAVDQTJQDHZ76SGYHFA3SK2LLDANCNFSM4SB5GAFA>
> .
>
|
Hi @knadh @mr-karan what settings do we need to change in docker-compose file to ensure listmonk dashboard and public facing URLs run on https out of the box without the port? I tried changing the webserver URLs but it broke the installation, with the current configs it is running fine on http://domain.com:9000 and the subscribe and unsubscribe links are also with http and port number?. |
|
@mr-karan : Thanks, NGINX resolved the issue. I was creating a template using the default html code as on https://github.com/knadh/listmonk/blob/master/static/email-templates/default.tpl - but everytime I paste it in raw html box and click on preview - it generates an error msg as below: 2020/10/26 18:52:41 campaigns.go:187: error rendering message: template: content:69:20: executing "content" at <{{template "content" .}}>: exceeded maximum template depth (100000) and then the moment I close the preview, try to paste again, it stops listmonk at the bankend and gives a 503 bad gateway error. Is this some bug or am I doing something wrong wrt NGINX? |
Creating a new issue as was asked for earlier :)
I am trying to send out a test mail from campaign screen, it says email sent but does not land in my mail (SES dashboard also says 0 emails sent). SMTP settings are done for the same region the destination email ID belongs to (Mumbai). listmonk dashboard also says 0 msg sent.
Few call outs:
I have only 1 SMTP setting enabled (single port) - Do I need to add SMTP settings for all 3 ports?
SES account is in sandbox (allows 200 emails to be sent) - can this be the reason?
msg rate x concurrency = email rate of SES
The text was updated successfully, but these errors were encountered: