Discourse Hub app does not work on latest stable any more

We have received a number of reports from users that updated their Discourse app to version 1.4 on their iOS device and now they are receiving an error ‘this forum is using an outdated version of Discourse’.

We have been able to pin this down to this commit made 7 days ago https://github.com/discourse/discourse/commit/8e274f7296e4da68b591ce4d4299fece850e0492#diff-89bbbba04fc8c94f4674d69543ce701f which bumps the API key version from 2 to 3. Apparently the new app requires it to be version 3.
I cannot find why this change has been made (I would expect that there would be related commits or something, they probably are there but I don’t know where to find them).

Would it be hard to backport this to stable ?

1 Like

Yes I think I could backport to stable, so we would need to cherry pick:

https://github.com/discourse/discourse/commit/8e274f7296e4da68b591ce4d4299fece850e0492
https://github.com/discourse/discourse/commit/f6eff38c0e0656d5df8f991a296494afa55c0e57
https://github.com/discourse/discourse/commit/5f86564da1bc7c921bf1ed791b3ebc00b5917525
https://github.com/discourse/discourse/commit/22187508e3e8f1617e498754d35e36ffb5ad96c8

@sam are you ok with this ?

6 Likes

Yeah we can not have the app totally broken on stable

6 Likes

Ok I backported it: https://github.com/discourse/discourse/commits/stable

Will track travis to check there are no issues, but should be good. I also tried it on a 1.4 app and a local stable app :ok_hand:

Thanks for suggesting this.

8 Likes

Travis is failing but it’s a totally unrelated error (which was already there at previous commit Travis CI - Test and Deploy Your Code with Confidence), should be good.

5 Likes

Yes, stable is working again with the Discourse iOS app! Thanks for the quick fix!!!

9 Likes

Any ideas why I am getting the same error message “this forum is using an outdated version of Discourse” if my Discourse is running v2.2.0.beta3? Specifically this commit?

As far as I can tell the API key in this version is 3, so there must be another reason.

Edit: Looks like this was already answered over here. Sorry!

This topic was automatically closed after 20 hours. New replies are no longer allowed.