Mei
NNovu
•Created by MINIMINI on 5/2/2024 in #💬│support
Do you support saving logs to a file?
The novu processes log to the standard output stream stdout, so you can put that into a file using regular bash pipe redirection with something like
pnpm start > logfile.txt
8 replies
NNovu
•Created by MINIMINI on 5/2/2024 in #💬│support
Do you support saving logs to a file?
The logs go to stdout, so just pipe the output into a file
8 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
In general that’s the way most docker images will work. A big part of the usefulness of docker is that when you run a docker image, you’re running the exact same thing as everyone else who is using the same 0.x.x image
25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
The docker-compose file is not set up for you to build Novu yourself. It points to the prebuilt images that are hosted on GitHub repos
25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
You could delete every file inside the repository except the docker compose.yml and docker compose would still work, because the compose file tells docker to pull the images from the GitHub docker image repos
25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
The images include a copy of the .env file inside them as it was when the image was built by the novu team
25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
The docker compose files provided in the repo all have
environment
sections already that you can add to25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
Those env files are baked into the docker images at compile time, changing them in your local repo won’t change what is used by docker compose. I suggest you add an env: entry to the docker compose yml directly
25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
So that is the likely culprit, the worker image isn’t getting the env variable
25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
And notice that the list of files above doesn’t include any non-test env files for worker
25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
I think(?) that it’s the worker container that eventually evaluates the list of subscribers/topics
25 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
I know for a fact that the feature does work if the environment variable is correctly set for the containers running novu. The issue would be that however the docker images are being built isnt setting it to true on the correct images
25 replies
NNovu
•Created by Etigma on 4/17/2024 in #💬│support
Trigerring workflow with topic not working.
When it’s not set to true, you see behaviour exactly like this. A trigger will succeed but start workflows for an empty subscriber list, basically doing nothing.
19 replies
NNovu
•Created by Etigma on 4/17/2024 in #💬│support
Trigerring workflow with topic not working.
When self-hosting, I have found that the
IS_TOPIC_NOTIFICATION_ENABLED
env var defaults to false. Have you set it to true in your environment?19 replies
NNovu
•Created by winston.tech on 3/18/2024 in #💬│support
MARKING NOTIFICATIONS AS SEEN
You can filter out messages that have been marked as seen with the seen query parameter of the get in app notifications endpoint. https://docs.novu.co/api-reference/subscribers/get-in-app-notification-feed-for-a-particular-subscriber
There is no way to prevent notifications from appearing in an unfiltered feed list except via deleting them.
12 replies
NNovu
•Created by Mei on 2/23/2024 in #💬│support
Discussion: Handlebars helper for digest/non digest
10 replies
NNovu
•Created by Mei on 2/23/2024 in #💬│support
Discussion: Handlebars helper for digest/non digest
@Zac Clifton
10 replies
NNovu
•Created by Mei on 2/23/2024 in #💬│support
Discussion: Handlebars helper for digest/non digest
I can link the issue though https://github.com/novuhq/novu/issues/5163,
and the PR would be just this one change https://github.com/novuhq/novu/commit/9a3de53776fb707dff1febeea97de442aee376e4
10 replies
NNovu
•Created by Mei on 2/23/2024 in #💬│support
Discussion: Handlebars helper for digest/non digest
No PR yet since I've not been assigned the issue and the contribution guidelines are pretty explicit about that
10 replies
NNovu
•Created by jvinga on 2/23/2024 in #💬│support
Send notification to multiples users with SDK
Is the list of subscribers small enough to reasonably fit in one request? If so, you can just pass a list of subscriber identifiers in the to: field when triggering the notification.
5 replies