Skip to content

How to update parse-server? #90

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

Closed
benc555 opened this issue Mar 4, 2016 · 8 comments
Closed

How to update parse-server? #90

benc555 opened this issue Mar 4, 2016 · 8 comments

Comments

@benc555
Copy link

benc555 commented Mar 4, 2016

Getting the following issue when trying to interact with Parse--just deployed to Heroku.

[Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0)
ERROR 1: Error Domain=Parse Code=1 "{"code":1,"message":"Internal server error."}" UserInfo={error={"code":1,"message":"Internal server error."}, NSLocalizedDescription={"code":1,"message":"Internal server error."}, code=1} [error: {"code":1,"message":"Internal server error."}, NSLocalizedDescription: {"code":1,"message":"Internal server error."}, code: 1]

Anyone know why this is happening and how to fix it?

@benc555
Copy link
Author

benc555 commented Mar 4, 2016

I saw #40 but not helpful

@threegoblins
Copy link

I’m basically in the same place but one step forward maybe.
That error for me was because the app can’t connect to the DB. I’m using ObjectRocket which needs the IP address whitelisted.

I worked that out by checking $ heroku logs —tail

So now I have added “Fixie” to Heroku so that I can get a static IP, but that still doesn’t solve it because I need to make the parse-server-example app actually use the proxy of Fixie.

And that isn’t turning out to be as simple as it sounds, at least for me (this is my first node experience :)).

Hope that helps!

On 4 Mar 2016, at 10:27, Ben Cormier notifications@github.com wrote:

Getting the following issue when trying to interact with Parse--just deployed to Heroku.

[Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0)
ERROR 1: Error Domain=Parse Code=1 "{"code":1,"message":"Internal server error."}" UserInfo={error={"code":1,"message":"Internal server error."}, NSLocalizedDescription={"code":1,"message":"Internal server error."}, code=1} [error: {"code":1,"message":"Internal server error."}, NSLocalizedDescription: {"code":1,"message":"Internal server error."}, code: 1]

Anyone know why this is happening and how to fix it?


Reply to this email directly or view it on GitHub #90.

@benc555
Copy link
Author

benc555 commented Mar 4, 2016

@threegoblins so, to confirm, your MongoDB is not hosted through Heroku?

@threegoblins
Copy link

Correct, hosted by ObjectRocket.
Although I am kinda regretting that as a Heroku hosting probably would have been simpler…

You’re hosted with Heroku? Hopefully you won’t be having the same error then.

But either way checking your app logs on Heroku should reveal more information for you as to why the 500 is happening.

On 4 Mar 2016, at 10:33, Ben Cormier notifications@github.com wrote:

@threegoblins https://github.com/threegoblins so, to confirm, your MongoDB is not hosted through Heroku?


Reply to this email directly or view it on GitHub #90 (comment).

@occurrentarts
Copy link

perhaps to update, pull the latest .zip of parse-server from the github and replace it with the parse-server folder in node_modules.

not 100% if this is correct.

@occurrentarts
Copy link

calling 'npm update parse-server' might also work, but it filled my node_modules folder with a ton of other stuff too.

@drew-gross
Copy link
Contributor

I'd recommend editing your package.json file and updating the parse-server entry, then running npm install. If you are hosting on Heroku, the npm install should happen when you git push to your server.

@w3care25
Copy link

I am getting following error when trying to requestPasswordReset.
My Parse server version is : 1.0.0
{"level":"error","message":"Uncaught internal server error. [TypeError: promiseHandler(...).then is not a function] TypeError: promiseHandler(...).then is not a function\n at parse/node_modules/parse-server/lib/PromiseRouter.js:286:27\n

also email is not going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants