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

No update found at GitLab Release provider #1380

Closed
mjdNjhNJ opened this issue Feb 8, 2024 · 6 comments
Closed

No update found at GitLab Release provider #1380

mjdNjhNJ opened this issue Feb 8, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@mjdNjhNJ
Copy link

mjdNjhNJ commented Feb 8, 2024

Describe the bug
AuroraOSS/AuroraStore got an update today and Obtainium is not showing that the new version is available.

To Reproduce

  1. Add AuroraOSS/AuroraStore GitLab Release URL to the Obtainium
  2. Wait for a new version

Please complete the following information:

  • Device: Pixel 7a
  • OS: GrapheneOS (Android 14)
  • Obtainium Version: 1.0.2

Additional context
Can't update the app from version 4.3.5 to 4.4.0. Maybe the problem is that from AuroraStore 4.4.0 they are publishing the APK as "Packages" instead in attachements?

@mjdNjhNJ mjdNjhNJ added bug Something isn't working to check Issue has not been reviewed labels Feb 8, 2024
@ThreeDeeJay
Copy link

ThreeDeeJay commented Feb 8, 2024

I think Obtainium does try to get the APK in Packages which is actually an external link to Aurora's server, but I think the real problem is that that server in particular has been showing a 502 error (Forbidden) which is a known issue so this may be a duplicate:
#697 (comment)
#854
If you delete the app from Obtainium (no need to uninstall) and re-add the GitLab link, you'll probably get the Forbidden error.

Also it seems the APK has a different signature than the one from F-Droid, so even if Obtanium was able to download the APK from Aurora's server, it would still fail to install. So I think our options are to:

  • Backup app data with something like Neo Backup, if you need to save settings like blacklists
  • Disable signature verification with something like CorePatch to overwrite the F-Droid APK (It worked but don't recommend it, especially not if you leave it on permanently because that'd also allow modified/malicious APKs to replace official ones, which is what signature verification is in place for. I just wish there was a safer way for apps that don't have an option to keep data when uninstalling, plus it's annoying to re-add the app everywhere)
  • Request Aurora devs to attach the F-Droid APK on new releases. That'd probably solve both our problems.
    EDIT: Relevant:
    https://gitlab.com/AuroraOSS/AuroraStore/-/issues/945
    https://gitlab.com/AuroraOSS/AuroraStore/-/issues/869

@ImranR98
Copy link
Owner

ImranR98 commented Feb 8, 2024

@ThreeDeeJay is right - this likely a duplicate of the other Aurora issues.

@ImranR98 ImranR98 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
@ImranR98 ImranR98 removed the to check Issue has not been reviewed label Feb 8, 2024
This was referenced Feb 10, 2024
akramer-zibra added a commit to akramer-zibra/Obtainium that referenced this issue Feb 19, 2024
There occur issues if a gitlab project refers in its release data to external hosted .apk file. In some cases (e.g. Aurora Store) download is not possible because cloudflare protection gives "forbidden" error. The referer header seems to pacify this cloudflare protection. Tested with Android 14 in an AVD emulator.

Related to: ImranR98#1397, ImranR98#1389, ImranR98#1384, ImranR98#1382, ImranR98#1381, ImranR98#1380, ImranR98#1359, ImranR98#854, ImranR98#785, ImranR98#697
@DwainZwerg
Copy link
Contributor

Hello @mjdNjhNJ ,
According to https://gitlab.com/AuroraOSS/AuroraStore/-/issues/1052#note_1778388859, the Aurora Store devs have fixed the problem. The download of AuroraStore should work normally again.

@mjdNjhNJ
Copy link
Author

@DwainZwerg I have updated the Aurora Store manually. Now Obtanium shows there is a new update available. However the update it's trying to install is Aurora Store with version of 4.3.5. The manually installed one is of version 4.4.1. Error message says: "Cannot install an older version of an App [Aurora Store]" which makes sense. I don't know if this is an Obtainium issue or the fact I mentioned while creating this issue.

@DwainZwerg
Copy link
Contributor

DwainZwerg commented Feb 23, 2024

Hello @jayb-g ,
do you use GitLab-Token? If not, use it. If you are using it and Obtainium does not show you the update, you should delete the app from Obtainium and add it again. If it still doesn't work, it's an unknown behaviour, and I'm not sure if it's auroraoss.com's side or Obtainium. We are also in the process of adding a general feature to better retrieve updates from sites that are protected by Cloudflare (#1411).
@ImranR98 @Disqu3-mirOir-qt for acknowledgement.

@jayb-g
Copy link

jayb-g commented Feb 23, 2024

@mjdNjhNJ its resolved with the token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants