signalapp / Flock

Private contact and calendar sync for Android.
https://signal.org/blog/flock
358 stars 80 forks source link

"Migrating to new version" never goes away #55

Closed micahflee closed 10 years ago

micahflee commented 10 years ago

I recently updated my version of Flock, and there's a notification that says "Migrating to new version. Replacing addressbook and calenders..."

It's been like that for like 12 hours. Doesn't seem to be a problem though.

rhodey commented 10 years ago

hey @micahflee, sorry for the issue!

Looking at the server logs it appears that your Flock client is perpetually attempting to delete a single calendar. I'm going to try and get to the bottom of this right now, in the mean time please do not uninstall.

micahflee commented 10 years ago

Thanks so much! Lemme know how it goes.

rhodey commented 10 years ago

@micahflee the problem seems to be that your client is attempting to delete a calendar that does not exist and migration is failing to handle this error correctly. The migration service should be patched to resolve this bug (and this will be done) but first I'm going to patch the Flock Sync servers to not throw an error in this situation so that you and anyone else affected by this bug will not have to wait for the update to roll around, install it, and then restart migration.

the server-side fix should be up in 10-15 minutes, I'll be watching the logs to see if this resolves the issue but would be glad to hear from you as well.

micahflee commented 10 years ago

FYI I still have the notification.

rhodey commented 10 years ago

@micahflee thanks for the update-- I have definitely confirmed that this is the issue. The server patch is taking longer than expected (darwin calendar server is a huge codebase), sorry.

If you would like to make this notifiaction disapear and pause the migration process you should be able to do so by disabling sync on Android globally and then restarting your phone-- at that point migration will not resume until sync is enabled or you open Flock.

I really appreciate your help in resolving this issue. If this server patch takes anymore than 10 additional minutes I will instead push the client patch to master and then make an upate to the play store. At that point you should be able to update Flock as soon as it is available on Play and the issue will resolve itself.

rhodey commented 10 years ago

Hey @micahflee just published a new apk to Google Play, v0.8.2. Please update to this version when it does become available on Google Play and your issue should be resolved. I really appreciate your help in resolving this and will continue to work towards a more stable Flock!

I'll post to this issue as soon as I see that the apk is available on Google Play.

micahflee commented 10 years ago

I updated and the migration finished. Seems to have fixed it, thanks!

rhodey commented 10 years ago

Glat to hear!

Thanks again for your help, closing this as resolved by ec0526fc859b9ca6998216f89213b909902c4a4c which is now available in Google Play.

The Flock Sync servers have been patched to prevent older clients from getting hung up on this same bug as well, going live now.