Skip to content
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

iphone app needs reinstallation after server upgrade #5774

Closed
ghost opened this issue Jan 25, 2017 · 16 comments
Closed

iphone app needs reinstallation after server upgrade #5774

ghost opened this issue Jan 25, 2017 · 16 comments

Comments

@ghost
Copy link

ghost commented Jan 25, 2017

Rocket.Chat Version: 0.50.1
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: v4.7.2

Hello Devs.

I have complains from users regarding the iphone app. Everytime I upgrade the server they need to reinstall the app. Otherwise they are not able to login anymore. They only see the 3 little dots indicating something is happen but it isn't.

Is that a know issue?

thanks and cheers

@TheReal1604
Copy link
Contributor

Got this also sometimes, mostly on demo when a new develop build is tested on demo. Not occurred on my systems yet.

@dmkjr
Copy link

dmkjr commented Jan 27, 2017

We are having this same issue on all iPhones after each release. The phone will update (download files) but then that's it. Must remove application from phone and add back to allow it to function.

@ghost
Copy link
Author

ghost commented Feb 15, 2017

Release 0.52.0 seem to fix this.

@ghost
Copy link
Author

ghost commented Mar 3, 2017

Another customer complained about this problem. Now with 0.53.0. Is this officially addressed?

thanks and cheers
t.

@rasos
Copy link
Contributor

rasos commented Mar 12, 2017

Still an issue for the iOS App with RC 0.52.
Andorid app 2.5 is extremely long loading and then has a time out. Reinstall did not help.

@danielbressan
Copy link
Contributor

danielbressan commented May 10, 2017

We have this same issue, and the PR to fix RocketChat/Rocket.Chat.Cordova#181 doesn't fix it as far as we can tell.

Just to be clear, the three dots blinking is where we see the stall (after all server files have been downloaded):
image

I'm convinced this is a server code issue, not a cordova app code issue. We've set break points and console logs all throughout the cordova code, and we hit them all before the issue pops up. It would also seem that since we're seeing the 3 dot loading, we're on server code at that point.

So far, it's not 'every' time the server is updated or restarted, but anytime we do a more major code update (more than just a file or two) our users see this.
@geekgonecrazy any help on this would be appreciated, we'll keep looking at it too. Thanks!

@geekgonecrazy geekgonecrazy assigned rodrigok and unassigned laggedHero May 10, 2017
@geekgonecrazy
Copy link
Contributor

@rodrigok any idea what we could do to trace the cause further?

@danielbressan
Copy link
Contributor

@himBeere @rasos @dmkjr We're trying to track this down and think it might have something to do with our CAS handoff. Anyone using CAS, LDAP, or any other initial auth (not normal rocket sign in)? Thanks!

@ghost
Copy link
Author

ghost commented May 12, 2017

Yes. We use LDAP authentication.

@danielbressan
Copy link
Contributor

@geekgonecrazy @rodrigok
We have come full circle...after a day of changing code, logging things and repeating we now think the update in RocketChat/Rocket.Chat.Cordova#182 probably does fix the issue. Sorry we doubted!

As far as we could tell the local server files were getting corrupted or not there, and trying to download them twice right after each other could cause that - which this PR fixes. Going to implement and watch on prod.

@geekgonecrazy
Copy link
Contributor

Please let us know how testing goes! Hopefully it does solve this

@maxsdw
Copy link
Contributor

maxsdw commented Jan 30, 2018

For me the problem still happening with the update in RocketChat/Rocket.Chat.Cordova#182. It doesn't solve the situation.

@Hudell
Copy link
Contributor

Hudell commented Jun 6, 2018

Since this is related to the old Cordova app, I'll be closing the issue here. If any of the apps run into this problem please open an issue on the corresponding repository.

@geekgonecrazy
Copy link
Contributor

Closing per reason given above 🙂

@theorenck theorenck removed this from the Short-term milestone Dec 12, 2018
@Syirrus
Copy link

Syirrus commented Apr 16, 2019

For me the problem still happening with the update in RocketChat/Rocket.Chat.Cordova#182. It doesn't solve the situation.

Did you ever come up with a solution to this issue?

@KirbySSmith
Copy link
Contributor

Support for the Cordova app was dropped in the latest versions. The custom autoupdate package was removed in v0.72. If you are using a version lower than that the issue could be related to the .meteor/.id file being removed. 27413c6#diff-cf6323754c6dfa68e897ce35d9845ceb
You can add that file back with the same id to be backwards comparable or create a new id. Not having it set causes a new random .id to be generated which messes with autoupdate.

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

No branches or pull requests