Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

iphone app needs reinstallation after server upgrade

Open ghost opened this issue 9 years ago • 16 comments

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

ghost avatar Jan 25 '17 11:01 ghost

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

TheReal1604 avatar Jan 25 '17 18:01 TheReal1604

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.

dmkjr avatar Jan 27 '17 02:01 dmkjr

Release 0.52.0 seem to fix this.

ghost avatar Feb 15 '17 09:02 ghost

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

thanks and cheers t.

ghost avatar Mar 03 '17 07:03 ghost

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.

rasos avatar Mar 12 '17 15:03 rasos

We have this same issue, and the PR to fix https://github.com/RocketChat/Rocket.Chat.Cordova/issues/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!

danielbressan avatar May 10 '17 22:05 danielbressan

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

geekgonecrazy avatar May 10 '17 23:05 geekgonecrazy

@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!

danielbressan avatar May 12 '17 15:05 danielbressan

Yes. We use LDAP authentication.

ghost avatar May 12 '17 15:05 ghost

@geekgonecrazy @rodrigok We have come full circle...after a day of changing code, logging things and repeating we now think the update in https://github.com/RocketChat/Rocket.Chat.Cordova/pull/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.

danielbressan avatar May 12 '17 23:05 danielbressan

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

geekgonecrazy avatar May 15 '17 16:05 geekgonecrazy

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

maxsdw avatar Jan 30 '18 19:01 maxsdw

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.

Hudell avatar Jun 06 '18 18:06 Hudell

Closing per reason given above 🙂

geekgonecrazy avatar Jun 13 '18 05:06 geekgonecrazy

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?

Syirrus avatar Apr 16 '19 06:04 Syirrus

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. https://github.com/RocketChat/Rocket.Chat/commit/27413c69afe9271659edf1d97322875e43ddd704#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.

KirbySSmith avatar Apr 16 '19 10:04 KirbySSmith