Retrieving older Android keystores from Expo servers


#1

My keys got overwritten automatically whilst building a standalone app today.

I’m wondering if there’s a way, or anyone that I could reach out to, in order to retrieve the older set of keys from the server side


#2

Expo stores only your latest copy of your keystore. Could you explain a little more about how your keystore was overwritten?


#3

Hey!

That’s unfortunate on how Expo only stores the latest copy… was really hoping there was a backup since this seemed like a genuine bug on the Expo’s server side.


Here’s a more detailed breakdown of what happened -

Previous, before anything happened: I had an older version, signed with Keystore on Expo servers already (Android version 13, expo version 1.0.19). I have published updates multiple times over the air, and also building standalone.

So I tried incrementing the Android version to 14 and adding a scheme. However, I did not want to publish the changes to my users yet so I ran exp build:android --no-publish, link to build. However, it did not pick up on the changes to the version or the scheme. I tried and canceled 2 more times after that, realizing the manifest changes are not reflected.

Approximately 14 hours later, I incremented the expo version to 1.0.20 this time around and built the standalone again, but just build:android this time around, without the --no-publish. (link to build that deleted keystore). The manifest changes were picked up this time around, however, as you can see (hopefully on your end), on the 2nd command it ran an additional generating keystore that I did not request for. This wiped out my previous keystore, and overwrote a new one in.


P.S. Do let me know if you guys need access to any logs on my end, happy to provide and see if there’s anyway I can resolve this.


#4

So sorry this happened! We have a fix in testing for this issue (we’ve found it to be quite rare in practice, but it’s a real bummer when it happens), but in the meantime can you email support@expo.io from your account email address with your username and the name of your project? We do have backups of previous keys, but it’s a manual process to retrieve them right now.


#5

Sent the email - and thanks!

For any others looking into this thread as well - here’s a related thread:


closed #6

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.