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

Uable to install or update apps on v.1.0.0-1.0.2

Open nikmax42 opened this issue 1 year ago • 13 comments

On new versions, after I click on Download or Update button on app screen I have download progress notification that disappears after few seconds and nothing else. Apps not installs and not updates. I tried to wipe Neo Store data and grant all permissions, but it's not solving the problem. On old versions (0.9.x) everything works fine.

https://github.com/NeoApplications/Neo-Store/assets/95967773/60b1ddea-3d5b-47cf-8a98-11f672446ed9

nikmax42 avatar May 20 '24 11:05 nikmax42

https://github.com/NeoApplications/Neo-Store/issues/593

me00001 avatar May 20 '24 20:05 me00001

Here's some helpful info to debug this:

  • What is you Android version?
  • What is your selected installer?
  • Did you disable battery optimization for NS?
  • Is the auto-update enabled?
  • Does this apply to all install actions, only manuals or to certain apps only?
  • Why does the WIFI connection seems to have an issue?

machiav3lli avatar May 21 '24 08:05 machiav3lli

  • What is you Android version?

14, LineageOS

  • What is your selected installer?

Root and Session both not working

  • Did you disable battery optimization for NS?

Yes, of course

  • Is the auto-update enabled?

After I updated Neo Store it was disabled. After I wiped up Neo Store - seems that it was enabled by default, but result was the same

  • Does this apply to all install actions, only manuals or to certain apps only?

To all install actions I think. I have tried to update and install several apps - same

  • Why does the WIFI connection seems to have an issue?

The warning is displaying all the time due to specific network configuration of my Internet service provider, but while I was recording the video Internet was working normally

nikmax42 avatar May 21 '24 18:05 nikmax42

From the video, it seems that the work gets started (and killed?) but the download not… did you try using the system download manager (option under updates settings)?

machiav3lli avatar May 22 '24 07:05 machiav3lli

I am also on Android 14 LineageOS and the issue only occurs with System's Download Manager enabled to me. Without it is working fine.

thornySoap avatar May 25 '24 12:05 thornySoap

It looks like I found out the cause of the problem! I noticed that I had the Custom download folder option enabled whose path led to the SD card whose name changed after formatting. So app has tried to start download by path that not exist anymore. My bad that I forgot that the path had changed, and since the app didn't show any error notification, I didn't notice the cause of the problem for a long time. It looks like on 0.9.15 app used default path in case of this error, but in 1.0.x it's not. Please add error toast or notification for similar cases

nikmax42 avatar May 25 '24 19:05 nikmax42

I'll reopen it in order to remember adding a fallback option.

machiav3lli avatar May 27 '24 07:05 machiav3lli

I am also on Android 14 LineageOS and the issue only occurs with System's Download Manager enabled to me. Without it is working fine.

I get this even though I have no custom path specified. This screenrecord is taken from a fresh 1.0.2 install with only Auto Update and System Download Manager options modified:

https://github.com/NeoApplications/Neo-Store/assets/115401023/ce79e4f6-f30b-4327-a640-03dad860e5c9

thornySoap avatar May 30 '24 06:05 thornySoap

@thornySoap the video seems to be corrupted/removed here too… do you have any system-level customizations? de-bloating or modifications?

machiav3lli avatar May 31 '24 22:05 machiav3lli

@machiav3lli I'm on LineageOS and at least the System Download Manager only stopped working after I switched to it from my previous ROM. I think these logcat lines are related to my attempt of installing an app:

[06-01 08:04:22.230 19896:19943 W/ContextImpl]
Failed to ensure /storage/emulated/0/Android/data/com.machiav3lli.fdroid/cache: android.os.ServiceSpecificException:  (code -1)

[06-01 08:04:22.240 19896:19943 W/ContextImpl]
Failed to ensure /storage/emulated/0/Android/data/com.machiav3lli.fdroid/cache: android.os.ServiceSpecificException:  (code -1)

[06-01 08:04:22.483 19896:19943 I/javaClass]
Unsupported path /data/data/com.machiav3lli.fdroid/cache/partial/org.kirkezz.rttt_5ec602827afa85abd6faf76fbaa0758fe1be2b9ab62d0cb951ecd082cf26d69e.apk

[06-01 08:04:22.486 19896:19944 I/WM-WorkerWrapper]
Worker result FAILURE for Work [ id=01eb8441-410a-4c5c-b4e7-a3abc3d6abc3, tags={ com.machiav3lli.fdroid.service.worker.DownloadWorker, download_org.kirkezz.rttt } ]

thornySoap avatar Jun 01 '24 06:06 thornySoap

Unsupported path /data/data/com.machiav3lli.fdroid/cache/partial/org.kirkezz.rttt_5ec602827afa85abd6faf76fbaa0758fe1be2b9ab62d0cb951ecd082cf26d69e.apk

This seems pretty fishy… it's the app's cache storage, so it shouldn't be blocked. Does your device have sdcard slot or sorta "real" external storage?

machiav3lli avatar Jun 01 '24 07:06 machiav3lli

This seems pretty fishy… it's the app's cache storage, so it shouldn't be blocked. Does your device have sdcard slot or sorta "real" external storage?

No right now there is no external sd card, etc. inserted or connected. But with the app's downloader it works, as said above, and those should be the same cache locations, shouldn't they? Furthermore download also failes with custom download location set. So it's probably related to the ROM and its download manager.

I have not much time right now but in a week or so I will further try some things out.

thornySoap avatar Jun 02 '24 12:06 thornySoap

I seem to fix the bug by wiping the app storage, but after some time it comes back. Maybe the problem is somewhere in the configuration files of the app, because cache wipe is not helpful. I don't know, very strange situation

nikmax42 avatar Jun 03 '24 09:06 nikmax42

Problem is still here in 1.0.5, guys...

nikmax42 avatar Nov 02 '24 22:11 nikmax42

This should be fixed on 1.0.6

machiav3lli avatar Jan 23 '25 09:01 machiav3lli

This should be fixed on 1.0.6

Yes, looks like it fixed now

nikmax42 avatar Jan 25 '25 17:01 nikmax42

@machiav3lli: Unfortunately, I experience the same issue even with version 1.0.6.

I am running LineageOS 22.1 for microG on a Pixel 4.

brainchild0 avatar Jan 30 '25 12:01 brainchild0

New bug raised to properly investigate and fix this issue which has remained outstanding for over a year,

Security implications are a concern given fundamental aspect of this issue. https://github.com/NeoApplications/Neo-Store/issues/707

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

@Rubber-Duckie ~~it's not an issue rather a question by an uninformed user and wouldn't handle it otherwise.~~ (written in the false issue)

There were already multiple issues raised on download/install and this one have specifically to do with what the issue creator mentioned and announced as fixed.

machiav3lli avatar Feb 23 '25 17:02 machiav3lli