N
Novu10mo ago
Pawan Jain

user data migration in self hosting

7 Replies
Pawan Jain
Pawan Jain10mo ago
Hi @saruchi_13291_71869 There are two ways to create subscribers in Novu checkout both ways in this doc:- https://docs.novu.co/platform/subscribers#create-a-subscriber You can do subscriber migration using this guide as well https://docs.novu.co/guides/subscribers-migration Currently, Novu does not have option to auto-import users from other sources. You can use AWS SES email provider to send emails using Novu checout this doc https://docs.novu.co/channels/email/ses
Saruchi
Saruchi10mo ago
I have setup and AWS SES channel with my IAM but when i am trying to test a workflow notification,its giving me error Subscriber does not have an active integration
Pawan Jain
Pawan Jain10mo ago
Do you have in-app step in your workflow? If yes, please check if Novu in-app provider is enabled in integration store
Saruchi
Saruchi10mo ago
no i dont have in app step just 1-thats EMail..tried it with Mailjet and SES same error in both Also one more query- i tried to self host Novu and when I try to loginto it with Novu Web credentials it throws me Network error- http://localhost:3000/v1/auth/login net::ERR_CONNECTION_REFUSED
Pawan Jain
Pawan Jain10mo ago
You might not have change from localhost to your server IP address in env variables
Saruchi
Saruchi10mo ago
i tried changing it to the IP address in environment variables but it did not work can u share me the environment variables to use it in production? it throws me same network error on signing in or signing up
Pawan Jain
Pawan Jain7mo ago
# Secrets
# YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
JWT_SECRET='HIGH_SUPER_SECRET'
STORE_ENCRYPTION_KEY=C8lrtIKEDWetdO9VcC7yb5TdDuk8WoNY

# General
NODE_ENV=production
MONGO_URL='mongodb://mongodb:27017/novu-db'
REDIS_HOST='redis'
REDIS_CACHE_SERVICE_HOST=

# AWS
S3_LOCAL_STACK=https://s3.us-east-1.amazonaws.com
S3_BUCKET_NAME=YOUR_BUCKET_NAME
S3_REGION=us-east-1
AWS_ACCESS_KEY_ID=YOUR_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET_ACCESS_KEY

# Ports
API_PORT=3000
REDIS_PORT=6379
REDIS_CACHE_SERVICE_PORT=6379
WS_PORT=3002

# Root URL
REACT_APP_WS_URL=http://35.154.137.80:3002
# Uncomment this one when deploying Novu in the local environment
# as Web app local Dockerfile will have to load this to be used.
# Deployment version doesn't need as we inject it with API_ROOT_URL value.
# REACT_APP_API_URL=http://localhost:3000
API_ROOT_URL=http://35.154.137.80:3000
DISABLE_USER_REGISTRATION=false
FRONT_BASE_URL=http://35.154.137.80:4200
WIDGET_EMBED_PATH=http://35.154.137.80:4701/embed.umd.min.js
WIDGET_URL=http://35.154.137.80:4500

# Context Paths
# Only needed for setups with reverse-proxies
GLOBAL_CONTEXT_PATH=
WEB_CONTEXT_PATH=
API_CONTEXT_PATH=
WS_CONTEXT_PATH=
WIDGET_CONTEXT_PATH=

# Analytics
SENTRY_DSN=
NEW_RELIC_APP_NAME=
NEW_RELIC_LICENSE_KEY=
# Secrets
# YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
JWT_SECRET='HIGH_SUPER_SECRET'
STORE_ENCRYPTION_KEY=C8lrtIKEDWetdO9VcC7yb5TdDuk8WoNY

# General
NODE_ENV=production
MONGO_URL='mongodb://mongodb:27017/novu-db'
REDIS_HOST='redis'
REDIS_CACHE_SERVICE_HOST=

# AWS
S3_LOCAL_STACK=https://s3.us-east-1.amazonaws.com
S3_BUCKET_NAME=YOUR_BUCKET_NAME
S3_REGION=us-east-1
AWS_ACCESS_KEY_ID=YOUR_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET_ACCESS_KEY

# Ports
API_PORT=3000
REDIS_PORT=6379
REDIS_CACHE_SERVICE_PORT=6379
WS_PORT=3002

# Root URL
REACT_APP_WS_URL=http://35.154.137.80:3002
# Uncomment this one when deploying Novu in the local environment
# as Web app local Dockerfile will have to load this to be used.
# Deployment version doesn't need as we inject it with API_ROOT_URL value.
# REACT_APP_API_URL=http://localhost:3000
API_ROOT_URL=http://35.154.137.80:3000
DISABLE_USER_REGISTRATION=false
FRONT_BASE_URL=http://35.154.137.80:4200
WIDGET_EMBED_PATH=http://35.154.137.80:4701/embed.umd.min.js
WIDGET_URL=http://35.154.137.80:4500

# Context Paths
# Only needed for setups with reverse-proxies
GLOBAL_CONTEXT_PATH=
WEB_CONTEXT_PATH=
API_CONTEXT_PATH=
WS_CONTEXT_PATH=
WIDGET_CONTEXT_PATH=

# Analytics
SENTRY_DSN=
NEW_RELIC_APP_NAME=
NEW_RELIC_LICENSE_KEY=
here 35.154.137.80 is example EC2 VM IP which will be different for different VM We are closing this post due to inactivity. Feel free to create a new post if you have any questions or you are still facing issue