parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Migration DB Stuck

Open talkaboutdesign opened this issue 10 years ago • 41 comments

Was trying to migrate data to MongoLabs and pressed cancel during the process. Typed in wrong url.

Now I am stuck on this screen and can't retry the process. screenshot 2016-01-29 12 35 08

talkaboutdesign avatar Jan 29 '16 17:01 talkaboutdesign

cc @drew-gross

gfosco avatar Jan 29 '16 18:01 gfosco

yep this is a bug, we're working on it

jamesyu avatar Jan 29 '16 18:01 jamesyu

+1

francocorreasosa avatar Jan 29 '16 20:01 francocorreasosa

+1, the UI allowed me to retry today — after about 20 minutes of migrationState=1 (with a 4 month secondsRemainingStr) the export eventually failed to state 7 and showed up as cancelled in the web UI.

We're using a mongolab M1 instance with failIndexKeyToLong set as suggested in the guide with SSL too. We have roughly have about 40 million objects stored on Parse, so I'm wondering if the process which 'snapshots' the data is somehow timing out and thus causing the migration to prematurely cancel itself?

screen shot 2016-01-30 at 14 23 01 ![migra](https://cloud.githubusercontent.com/assets/688026/12696290/54ac2374-c75e-11e5-9b39-f9278ccf3b49.png) screen shot 2016-01-30 at 14 36 09

jamiechapman avatar Jan 30 '16 14:01 jamiechapman

+1

JcMinarro avatar Jan 30 '16 16:01 JcMinarro

FYI, mine is stuck on this screen for a day.

screenshot 2016-01-29 21 13 22

talkaboutdesign avatar Jan 30 '16 18:01 talkaboutdesign

It is broken. I have done a new proyect with only 2 installations and 2 users and it does not work. I am on the smae screen @talkaboutdesign

JcMinarro avatar Jan 30 '16 19:01 JcMinarro

Ok, sorry about this delay... Checking on the status of this tool internally.

gfosco avatar Jan 30 '16 23:01 gfosco

Hi, I was trying to migrate data to MongoLabs as well but to their Shared Plan unfortunately it failed and is stuck.

Turns out that from their support team, the Shared Plan failedIndexKeyToLong is set to true.

Is it possible to get an error log from the migration tool to show that my migration is failing due to this setting? MongoLabs is willing to change that parameter.

aaronrau avatar Jan 31 '16 01:01 aaronrau

Still same after 36 hours.

talkaboutdesign avatar Jan 31 '16 01:01 talkaboutdesign

How can I re-initiate the migration process?

Now I am stuck on this page. Please help

screen shot 2016-01-31 at 12 06 02 pm

@jamesyu

hafizapp avatar Jan 31 '16 06:01 hafizapp

@hafizapp Go to App Settings and start the migration again. It works fine.

francocorreasosa avatar Jan 31 '16 23:01 francocorreasosa

@francocorreasosa I am really sorry, still it showing this for me. And it don't allow me to start the migration process again.

Thanks screen shot 2016-02-01 at 10 49 42 am

hafizapp avatar Feb 01 '16 04:02 hafizapp

same here, it just gets stuck

gloos avatar Feb 01 '16 06:02 gloos

@francocorreasosa Thank You.

Just noticed. Instead of going migration. You have to go -

App Settings -> Migrate

hafizapp avatar Feb 01 '16 07:02 hafizapp

I'm experiencing something different:

My database got migrated 100% with green ticks to say it was OK. image

But now my app doesn't work. These are some logs, which are not taken anymore: image

This morning I tried to load the old dashboard, but can't load the database. Now I see an error 500: image

and if I see the collections: image

This is when I load the new dashboard: image

RafaRuiz avatar Feb 01 '16 10:02 RafaRuiz

@RafaRuiz - in your case there appears to be an authentication error. We are unable to connect to mongo using the credentials that you provided. Can you check the username/password you provided and your mongodb connection string? You can force-change your mongodb connection string under "App Settings" in the Parse dashboard.

tredman avatar Feb 01 '16 19:02 tredman

@tredman could you possible check why our db export is failing too? https://dashboard.parse.com/apps/minecraft-explorer-pro ([email protected]), I asked the nice folk over at mongolab to make sure all my settings are correct and everything seems fine. Is it a Parse bug or am I doing something wrong? Thanks!

jamiechapman avatar Feb 01 '16 20:02 jamiechapman

@jamiechapman your particular issue seems to be a known bug with the migration (source replicaset not found). We're working on a fix for this.

skinp avatar Feb 01 '16 20:02 skinp

@skinp — thanks so much for the clarification, we've been a bit worried that it was something our end that was at fault. We'll wait for a fix in that case. Cheers.

jamiechapman avatar Feb 01 '16 20:02 jamiechapman