Neo-Store icon indicating copy to clipboard operation
Neo-Store copied to clipboard

[Bug] Installing or updating apps is broken.

Open Rubber-Duckie opened this issue 10 months ago • 39 comments

Guidelines

  • [x] I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • [x] I'm on the latest version.
  • [x] I'm not using a test build (alpha/beta/release-candidate).
  • [x] This issue contains only one bug.

Describe the bug

This app (v 1.0.8 Build 1025 - running on Graphene OS all versions since about a year now) still encounters significant issues when attempting to install applications, seemingly due to this bug https://github.com/NeoApplications/Neo-Store/issues/616

  • After clearing the app cache, it works fine for a while, but eventually, the installation process becomes unresponsive.
  • When trying to install an app manually, when the app has passed the point of degradation, it no longer shows on screen notifications or confirmations, pressing install in the app results in no-op.
  • The installation does not proceed, no matter how many times you press the install button in normal behavour.
  • In some cases, very rapidly tapping the install button (i.e. 15 - 20 times) may eventually trigger the app installation dialogue box, but clicking install again results in no-op.
  • The app cache must be cleared repeatedly to get the app working again, only for it to degrade after a few days to non working buggy state. This is a critical problem that essentially makes Neo Store unusable right now

Expected Behavior

Pressing the install button should commence the installation process immediately Installs should display progress bars for both download and installation stages, in the app itself and in the Android notification bar. There should be no need for a user confirmation box. Auto-updates should occur silently in the background without prompting the user.

Neo Store's Version

1.0.8

Installation Source

Installed from[+] F-Dorid[/+][-] NeoStore[/-]

Last Known Working Version

No response

Relevant information

  • Device: Pixle
  • Android Version: 15
  • ROM: GOS
  • Disabled battery optimization for Neo Store? YES

Rubber-Duckie avatar Feb 22 '25 16:02 Rubber-Duckie

I think there's much of mixing in the issue with many smaller details on one side and illogical connections to (quasi-)issues?. I'm not sure to what extent GOS is part of the issue, as I had in late times many reports specifically from GOS while CalyxOS/LOS-based roms' users seem to have their issues solved.

Before taking the issue apart, here's a couple points of MUCH NEEDED INFORMATION:

  • What installer do you have in use?
  • What downloader do you use?
  • Do you use custom folder for downloads?
  • Any special setups I need to know of?

Let's take the issue apart trying to make something useful out of it:

seemingly due to this bug #616

That issue is solved as reported by the creator and affects a specific use case of custom folder downloads. Which isn't something that you specified in your issue and would guess "per default" that you don't use a custom folder for downloads (Even if: it should be solved; or your issue is an extension of that earlier issue)

After clearing the app cache, it works fine for a while, but eventually, the installation process becomes unresponsive.

I'm not really sure if this would be an anchor point to solve your issue, but seems an interesting info. Does GOS any special handling of app caches?

When trying to install an app manually, when the app has passed the point of degradation, it no longer shows on screen notifications or confirmations, pressing install in the app results in no-op.

Although I understand this as it fits your theory of degradation; I have since 1.0.0-1.0.2 among testers/community/private-life-contacts no reports of any "degradation". So if any; I'd blame it for now on GOS-specifics (maybe a system-sources-usage limitation?)

The installation does not proceed, no matter how many times you press the install button in normal behavour.

What do you mean here by "in normal behavour": Is there any issues installing

In some cases, very rapidly tapping the install button (i.e. 15 - 20 times) may eventually trigger the app installation dialogue box, but clicking install again results in no-op.

I would consider clicking the install button 15-20 times a type of misuse of an action, and am not sure to what extend would consider that an issue-solver…

The app cache must be cleared repeatedly to get the app working again, only for it to degrade after a few days to non working buggy state.

I guess here we're back to point one.

Installs should display progress bars for both download and installation stages, in the app itself and in the Android notification bar.

An independent issue in #297

There should be no need for a user confirmation box. Auto-updates should occur silently in the background without prompting the user.

This happens to most users per default, which is why I'm interested in your setup that is resulting these issues.

machiav3lli avatar Feb 23 '25 18:02 machiav3lli

If you're so impatient and don't understand what FOSS ethics are, then go and send one of GOS developers to fix it.

machiav3lli avatar Feb 27 '25 08:02 machiav3lli

After updating to 1.0.8 things fell completely apart, nothing worked anymore in regards to installing/updating apps. HOWEVER Just now I uninstalled Neo Store and reinstalled it (1.0.8 from github) and boy, suddenly Neo Store is working like it never did before (was struggling for 2 years now). I hope it stays that way, because in the past, when it worked somewhat.... it didn't.

Switch123456789 avatar Feb 28 '25 20:02 Switch123456789

@Rubber-Duckie Instead offending/undermining other users I would suggest you test the solution that was reported: installing Neo Store from Github/Codeberg/IzzyOnDroid instead of the main F-Droid repo. @Switch123456789 contacted us in the matrix group and we went through his issues which seemed to be exactly same as yours, which is why he reported his successful switch here.

If you're not welling to read/hear and cooperate, then please don't bother anyone with your smartass comments.

machiav3lli avatar Mar 02 '25 00:03 machiav3lli

OT: Why are you writing an assay about how you don't like my response? Giving me all this sh*t? Your spelling and grammar is bad, you are completely off-topic, you add nothing to the conversation with this comment, you over-analyze my wording like a bot would. And you're telling ME how bad my comment is? I don't understand why you have to throw a tantrum about the perceived (mind you) imperfections of my comment.

To clarify: I had the same issue as you did, with various things that prevented me from installing/updating apps. I had a short back and forth with @machiav3lli on the Matrix-Channel and finally tried a clean install of 1.0.8 as an attempt (because a dirty update broke the app entirely for me). This finally resolved the problem YOU DESCRIBED IN OG at least for me and therefore I reported this solution to the appropriate issue-report to help you and others (How dare I). If you don't like it or if it doesn't work for you, well, you could say that instead of whatever this essay is, no offense.

Switch123456789 avatar Mar 02 '25 00:03 Switch123456789

@Switch123456789 hehe, almost the same second :P

machiav3lli avatar Mar 02 '25 00:03 machiav3lli

And talking about bot-y reponses, at least it's apparent that Switch has been on GH since 2017 and active on multiple repos, while your account makes nothing transparent… "throwing stones when your house is of glass"

machiav3lli avatar Mar 02 '25 00:03 machiav3lli

On Topic: NeoStore is still rocking BTW, no issues.

Off Topic: @Rubber-Duckie Wow, that's the most ChatGPT-like answer I ever heard. I think at this point it is clear you're trolling. The hypocrisy is on Level 9000. I stated exactly what to do (and not to do) to fix it. So I did EXACTLY what you propose. On the other hand, you claim I don't help... Sooooooo what is it YOU are doing here? Being off-topic with every single comment since I posted mine? Stop it, get help!

Switch123456789 avatar Mar 09 '25 19:03 Switch123456789

Bro, I don't know you, I don't care what you think and I unsubscribed now. Good luck with fixing your problem. I am sure with this constructive attitude of yours you will find a solution before alienating everyone. I'm out! 🫡

Switch123456789 avatar Mar 12 '25 16:03 Switch123456789

After updating to 1.0.8 things fell completely apart, nothing worked anymore in regards to installing/updating apps. HOWEVER Just now I uninstalled Neo Store and reinstalled it (1.0.8 from github) and boy, suddenly Neo Store is working like it never did before (was struggling for 2 years now). I hope it stays that way, because in the past, when it worked somewhat.... it didn't.

This worked for me (Thank YOU!)... Hopefully things stay working *fingers-crossed*...

lpstandardrp avatar Mar 14 '25 19:03 lpstandardrp

@Rubber-Duckie can you please stop with the LLM(-optimized) answers. I'm not fully aware of the reason why my 1.0.8 build avoids an issue that the f-droid build, we even discovered "the solution" by luck. I'd guess their build system had the same issue I had locally when building 1.0.7 (a gradle issue). Hopefully this would be fixed by their next build

machiav3lli avatar Mar 15 '25 16:03 machiav3lli

I also have been experiencing this issue for several weeks to a month on my stock Pixel 7. When I attempt to install an app, it shows the progress bar for downloading the app, but I get no system dialogue or popup to install the app after the progress bar has completed.

Neo Store's Version 1.0.8

Installation Source Installed from F-Droid

Last Known Working Version Unknown

Device: Pixel 7 Android Version: 15, stable, March 2025 release ROM: Stock Disabled battery optimization for Neo Store? YES

paddington2322 avatar Mar 17 '25 01:03 paddington2322

@paddington2322 please try what @Switch123456789 did and reinstall NS from GH, Codeberg or IzzyOnDroid.

machiav3lli avatar Mar 18 '25 17:03 machiav3lli

@Rubber-Duckie my builds are reproducible (check IzzyOnDroid for that), so such mistrust is only an argument of someone who speaks about "principles" which him-/herself doesn't understand. I've already pointed out to a possible issue with Gradle. F-droid still doesn't provide a reproducible-builds reporting system of there own, which is why they are the ones that need to explain such diff.

That said, please, get a life.

machiav3lli avatar Mar 18 '25 17:03 machiav3lli

Please ramp up moderation on this issue. This is ridiculous. I'm happy to continue providing feedback on it in the issue creator's stead should they be removed from it, as I am experiencing the same issue on the same setup (GrapheneOS, Neo Store installed from F-Droid, using mostly default settings).

Update: I am able to get it to work again by turning off usage of the system download manager, but performance is still degraded significantly, and the device gets quite hot when downloading apps and syncing repositories, albeit less so than before. I will try to remember to provide an update in about a week's time, to see whether performance has degraded again.

monospacedmagic avatar Mar 21 '25 12:03 monospacedmagic

@monospacedmagic thanks or the feedback, and did this issue popup on the latest release or was it already there? Furthermore, did you test installing NS from GitHub/Codeberg/IzzyOnDroid as suggested by other users? Should this really be fixed by installing the GH/CB/IoD-build then I'll try to provide as soon as possible a small update hoping that F-Droid have fixed the issue on their side.

On the moderation thingy, I'm not sure how to handle this troll the best way cause I try to avoid excluding anyone from a discussion especially if they contribute reporting an issue or opening a discussion, but the person seems pretty unwilling to cooperate on any level, so I've ignored it. But I'll block the person should he/she annoy others once more (let's consider this a last warning @Rubber-Duckie ).

machiav3lli avatar Mar 21 '25 14:03 machiav3lli

v1.0.8, yes. I have switched to the GitHub Releases build two days ago, and it has somewhat helped performance, but I suspect that's pretty much entirely because the cache was cleared by uninstalling and reinstalling. Performance is already degrading again, and even with the built-in downloader, downloads now get stuck. I suspect this has to do with Neo Store trying to update all the apps at the same time. I think if it instead updated one app at a time, the updating process could be more stable. That said, that alone will not solve the underlying performance regressions, at least on GrapheneOS.

monospacedmagic avatar Mar 23 '25 10:03 monospacedmagic

Switching back to 0.9.15 fixes the performance issues for the most part. Syncing is completely fine on it, updating all apps heats up the device but not nearly as much, and I do get prompted for installing the update, but when I confirm, it doesn't actually install the update. I have to go to the individual apps' overview and hit update again and confirm again, then it actually installs the updates.

monospacedmagic avatar Mar 24 '25 19:03 monospacedmagic

I suspect this has to do with Neo Store trying to update all the apps at the same time

I wouldn't agree on that as many users have reported no real issues here and I didn't face any. The most clear pattern I'm seeing that GOS users are reporting irreproducible issues on my devices/ROMs (CalyxOS & CrDroid). Unfortunately I don't own a side device to test on GOS myself and try to track the specific issues.

I think if it instead updated one app at a time, the updating process could be more stable.

NS already handles the installs in a pipeline manner, updating single app after the other. Some of the bugs that were had in older 1.0.X versions were already solved on the side of the used libraries or refined in NS. My main worry is why these issues are mainly happening on GOS…

I do get prompted for installing the update, but when I confirm, it doesn't actually install the update.

Unfortunately I can't be fixing 0.9.15 issues as this is mostly a whole other project in consideration of the code base. Much of the changes done back then were done as the code wasn't maintainable on the long term.

machiav3lli avatar Mar 30 '25 19:03 machiav3lli

I'm saying that the combination is what causes the issues. Maybe changing the download behaviour on specifically GrapheneOS could be a workaround for those users for the time being.

I was more referring to downloads rather than installs.

I was merely reporting my experience with 0.9.15 for people who find this issue because they were having similar issues. :)

monospacedmagic avatar Apr 01 '25 09:04 monospacedmagic

Yup, thanks! As mentioned in #721 a user in the community group mentioned that changing the installer to AM or root fixed the installer which would mean NS having an issue using session installer on GOS (which is not reproducible on other ROMs). If your focus is downloads, then this is surely less relevant, but this started to support my feeling that GOS is way more "optimized" than an Android ROM should really be. I guess I'll have to confront the GOS developers with these issues…

machiav3lli avatar Apr 01 '25 22:04 machiav3lli

@monospacedmagic 1.0.9 released tonight include many improvements on download and sync works, when you have time please check it and report back

machiav3lli avatar Apr 08 '25 00:04 machiav3lli

Apologies for the late response. Unfortunately, while the experience of using Neo Store seemed a lot more stable (than v1.0.8), trying to download an update of an app alone is enough to crash Neo Store. Syncing works without crashing, even though the device still gets hot.

monospacedmagic avatar Apr 19 '25 14:04 monospacedmagic

Can you please try to report this issue to Graphene OS devs and report back on what they say (although I'm aware of their strong opinions concerning F-Droid). As I'm getting such reports only from GOS users and not any other ROM…

machiav3lli avatar Apr 26 '25 00:04 machiav3lli

Can you please try to report this issue to Graphene OS devs and report back on what they say (although I'm aware of their strong opinions concerning F-Droid). As I'm getting such reports only from GOS users and not any other ROM…

Here, Fairphone 4 w/ Kitsune Mask 26.4 and LineageOS 20 w/ GApps, no reaction to the install/update button on any installer process (except Shizuki, don't have it) after killing app, clear cache, reboot phone and stuff...

Also surprised that App Manager doesn't react although I use it normally...

VirusBurst avatar Apr 30 '25 14:04 VirusBurst

Can you please try to report this issue to Graphene OS devs and report back on what they say (although I'm aware of their strong opinions concerning F-Droid). As I'm getting such reports only from GOS users and not any other ROM…

I'd rather you do that. 😅

Possibly noteworthy related issue: #728

monospacedmagic avatar May 01 '25 10:05 monospacedmagic

This is not a Graphene issue. I have had this issue with

  • Graphene OS on Pixel 6 Pro
  • LineageOS on Samsung A73
  • Stock on CMF Phone 1 by Nothing

The CMF has gotten better, but having pulled the A73 out of a drawer about two months after it was last used, I was greeted by a massive list of app updates that I can't install. The notification says "0 / -1 B" and no amount of mashing the button works.

I'm sure I've seen this bug on other devices as well.

nroach44 avatar Jun 09 '25 05:06 nroach44

Does v1.1.0 fix the issue?

eclairevoyant avatar Aug 07 '25 10:08 eclairevoyant

Does v1.1.0 fix the issue?

So far, no more issue with that :)

VirusBurst avatar Aug 11 '25 10:08 VirusBurst

Can confirm on the CMF that things do seem to be behaving better now.

nroach44 avatar Aug 13 '25 11:08 nroach44