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

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

Open
NikMAX2077 opened this issue May 20, 2024 · 13 comments
Open

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

NikMAX2077 opened this issue May 20, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@NikMAX2077
Copy link

NikMAX2077 commented May 20, 2024

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.

screen-20240520-141032.mp4
@me00001
Copy link

me00001 commented May 20, 2024

#593

@machiav3lli
Copy link
Member

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?

@NikMAX2077
Copy link
Author

NikMAX2077 commented May 21, 2024

  • 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

@machiav3lli
Copy link
Member

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)?

@thornySoap
Copy link

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.

@NikMAX2077
Copy link
Author

NikMAX2077 commented May 25, 2024

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

@machiav3lli
Copy link
Member

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

@machiav3lli machiav3lli reopened this May 27, 2024
@machiav3lli machiav3lli added the bug Something isn't working label May 27, 2024
@thornySoap
Copy link

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:

screen-20240530-083935.mp4

@machiav3lli
Copy link
Member

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

@thornySoap
Copy link

@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 } ]

@machiav3lli
Copy link
Member

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?

@thornySoap
Copy link

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.

@NikMAX2077
Copy link
Author

NikMAX2077 commented Jun 3, 2024

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

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

4 participants