You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@flovilmart how would i do that? I did run npm i parse-server-simple-mailgun-adapter
This did however give warnings
npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
npm WARN root No description
npm WARN root No repository field.
npm WARN root No README data
npm WARN root No license field.
@flovilmart I have migrated an app from parse.com to Digitalocean server following their tutorial. Everything is working fine except few params are not working in the reset password and I'm not getting the verification email. Here's how my ecosystem.json looks like...
also APP_NAME should be PARSE_SERVER_APP_NAME, also you may wanna checkout 2.2.6 that was released today and that contains the fully features CLI + env variable compatibility
@Cliffordwh@flovilmart Suddenly, reset password and verification emails aren't working. It says "error: Uncaught internal server error. Trying to send a reset password but no adapter is set undefined"
I didn't make any changes in the ENV. What could cause this issue?
@junal we have lots of test cases that cover reset emails. Can you open a new issue with your configuration and a snippet of code that demonstrates the error?
I just struggled with setting an mail adapter via an env variable for about 2 hours. I'm setting the env variables in a docker-compose. The important thing was to use double quotes for attributes.
Activity
drew-gross commentedon Mar 30, 2016
If you are using a JSON config env var, you can configure your email adapter like this:
Cliffordwh commentedon Mar 31, 2016
@drew-gross Set it as described but the logs for parse-server show the following when i try reset:
Uncaught internal server error. Trying to send a reset password but no adapter is set undefinedMy json looks as follows:
flovilmart commentedon Mar 31, 2016
did you add
parse-server-simple-mailgun-adapterto your package?Cliffordwh commentedon Mar 31, 2016
@flovilmart how would i do that? I did run
npm i parse-server-simple-mailgun-adapterThis did however give warnings
flovilmart commentedon Mar 31, 2016
ok you don't have a base package... how did you setup parse-server?
Cliffordwh commentedon Mar 31, 2016
i used the global install npm - g !
flovilmart commentedon Mar 31, 2016
so install with
npm i -g parse-server-simple-mailgun-adapterCliffordwh commentedon Mar 31, 2016
i did, thanks. But still get the
Uncaught internal server error. Trying to send a reset password but no adapter is set undefinedCliffordwh commentedon Mar 31, 2016
@flovilmart is there a reason that emailAdapter is not listed in the cli-definitions file?
flovilmart commentedon Mar 31, 2016
maybe because it's missing :)
Cliffordwh commentedon Mar 31, 2016
lol, could that be the reason why its not available?
flovilmart commentedon Mar 31, 2016
I'll post a fix or you could do it :)
Cliffordwh commentedon Mar 31, 2016
Thanks
Cliffordwh commentedon Mar 31, 2016
deff solved my problem, all working now! . Now i can just make use of
PARSE_SERVER_EMAIL_ADAPTER. or whatever you name it.5 remaining items
junal commentedon Apr 3, 2016
@Cliffordwh Thanks! I have updated version of parse-server. So I added the ENV variable like this at /home/parse/ecosystem.json file
But i still get the error message..."error: Uncaught internal server error. Trying to send a reset password but no adapter is set undefined".
What am I missing?
flovilmart commentedon Apr 3, 2016
Those changes have't been release yet on NPM. They will be part of the next update
junal commentedon Apr 5, 2016
@flovilmart I have migrated an app from parse.com to Digitalocean server following their tutorial. Everything is working fine except few params are not working in the reset password and I'm not getting the verification email. Here's how my ecosystem.json looks like...
And here's how I'm getting email https://dl.dropboxusercontent.com/spa/e8jedo3lnl7g7wc/rcu187al.png it seems appName, publicServerURL and verifyUserEmails are not working. Do you know where I'm making mistake?
Thanks
flovilmart commentedon Apr 5, 2016
You should define those properties from their env counterpart, the your
envhash.PARSE_PUBLIC_SERVER_URL
For now, we don't support (mistakenly) appName and verifyUserEmails from environment
Cliffordwh commentedon Apr 5, 2016
@junal Also ensure you are running 2.2.5.
If you need to make use of appName urgently as i did, you can add it to the CLI-Definitions yourself as a env or wait for the next update.
junal commentedon Apr 5, 2016
@Cliffordwh I updated to 2.2.5 and added appName in the cli-definitions as env i.e APP_NAME but no luck yet. Email still comes like this https://dl.dropboxusercontent.com/spa/e8jedo3lnl7g7wc/-7qtpyq1.png and where to add verifyUserEmails for verification email.
Cliffordwh commentedon Apr 5, 2016
@junal this because your json file is incorrect based on the sample you posted above. Can you share your latest file?
junal commentedon Apr 5, 2016
@Cliffordwh
Cliffordwh commentedon Apr 5, 2016
Are you using PM2? You need to then first stop the process, pm2 kill , pm2 dump then restart. Then pm2 save. Just to ensure the latest json is added.
See if that solves it.
flovilmart commentedon Apr 5, 2016
also APP_NAME should be PARSE_SERVER_APP_NAME, also you may wanna checkout 2.2.6 that was released today and that contains the fully features CLI + env variable compatibility
junal commentedon Apr 5, 2016
@Cliffordwh @flovilmart Thank you so much!!! All working now.
junal commentedon May 11, 2016
@Cliffordwh @flovilmart Suddenly, reset password and verification emails aren't working. It says "error: Uncaught internal server error. Trying to send a reset password but no adapter is set undefined"
I didn't make any changes in the ENV. What could cause this issue?
drew-gross commentedon May 11, 2016
@junal we have lots of test cases that cover reset emails. Can you open a new issue with your configuration and a snippet of code that demonstrates the error?
tanzeelrana commentedon Nov 18, 2018
I get
parse-server-simple-mailgun-adapter: command not found:(supermar1010 commentedon May 19, 2020
I just struggled with setting an mail adapter via an env variable for about 2 hours. I'm setting the env variables in a docker-compose. The important thing was to use double quotes for attributes.
This is how it works:
The module needs to be installed before, I did this via a custom dockerfile as follows: