02-25-2012 12:20 AM
The certificate I used for my Android app has expired (valid until Feb. 23, 2012). My new certificate is valid until 2032. The -printcert output shows the same Owner CN and Issuer CN for both certificates. However, I cannot deploy a bar file signed with the new certificate if the one signed with the expired certificate is on device. blackberry-deploy returns failure -104
What is failure -104 and what can I possibly do to upgrade my app, which is already published in App World?
I compared MANIFEST.MF between the old and the new bar files. Everything is the same except for the following fields: Package-Version, Package-Author-Certificat
Package-Author-Id, Package-Id and Application-Id are the same.
Solved! Go to Solution.
02-25-2012 11:06 PM
02-28-2012 02:29 PM
Could you provide the full command-line output when trying to perform the blackberry-deploy command?
02-28-2012 03:44 PM - edited 02-28-2012 03:53 PM
Here is what it looks like...
Deploying the old version:
blackberry-deploy -installApp -device 169.254.0.1 -password **** -package SP2.bar Info: Sending request: Install Info: Action: Install Info: File size: 1831281 Info: Installing ... Info: Processing 1831281 bytes Info: Progress 50%... Info: Progress 100%... actual_dname::com.sgg.sp2.gYABgCnip1SOko1qHu83ji7MHGg actual_id::gYABgCnip1SOko1qHu83ji7MHGg actual_version::1.0.9.0 result::success
And now trying to upgrade:
blackberry-deploy -installApp -device 169.254.0.1 -password **** -package SP2.bar Info: Sending request: Install Info: Action: Install Info: File size: 1838608 Info: Installing ... Info: Processing 1838608 bytes Info: Progress 50%... Info: Progress 100%... actual_dname::com.sgg.sp2.gYABgCnip1SOko1qHu83ji7MHGg actual_id::gYABgCnip1SOko1qHu83ji7MHGg actual_version::1.0.11.0 result::failure -104
EDIT:
I've checked the installed version using blackberry-deploy -listInstalledApps, and it reports 1.0.11 is on device. I'll double-check and post the results here.
02-28-2012 04:26 PM
and here is the result...
Despite being reported as version 1.0.11, the app on device is still 1.0.9
After uninstalling the app and deploying 1.0.11 as follows, the latest version finally appears on the tablet.
blackberry-deploy -installApp -device 169.254.0.1 -password **** -package SP2.bar Info: Sending request: Install Info: Action: Install Info: File size: 1838608 Info: Installing ... Info: Processing 1838608 bytes Info: Progress 50%... Info: Progress 100%... actual_dname::com.sgg.sp2.gYABgCnip1SOko1qHu83ji7MHGg actual_id::gYABgCnip1SOko1qHu83ji7MHGg actual_version::1.0.11.0 result::success
02-28-2012 04:29 PM
Are you running the latest PlayBook OS (2.0.0.7971)? If so, please log a bug in Issue Tracker (linked in my signature) so this can be further investigated.
Regards,
02-28-2012 04:39 PM
02-28-2012 04:41 PM
It's working for me. What steps do you take to reproduce the error?
02-28-2012 05:03 PM
Steps:
1. Click on the link in your signature.
2. Log in
3. Click "Submit an issue"
4. Project: BlackBerry Tablet OS
5. Issue type: Bug
6. Summary: Cannot update published app: certificate expired
7. Click Next
8. Get error message
Browser: Chrome
02-28-2012 05:07 PM
Strange, it works for me. What is your OS? Could you provide a screenshot of the error?
Also, note that this should not be related to the certificate expiring, so please do not put that as your title.