recloudstream / recloudstream/cloudstream
Extensions not loading properly after update
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 10.7k
- Forks
- 1.1k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 15
Description
Steps to reproduce
I’m not completely sure, but it seems like the updater might be overwriting the existing extension files during the update. When I tried to update my extensions manually, nothing happened at first and I didn’t receive any update notification, so I restarted the app. After restarting, only three of my extensions were showing.
i fixed it by waiting a little bit restarted the app and updated the plugins manually.
Expected behavior
Extensions should load properly after the update.
Actual behavior
From what I can tell, if the update fails, the files might end up as 0-byte ZIPs, so the app can’t load them anymore. Maybe the updater could keep the old files until the new ones are verified, so that if something goes wrong, the original extensions are still intact.
Cloudstream version and commit hash
4.6.1
Android version
15
Logcat
Other details
No response
Acknowledgements
- I am sure my issue is related to the app and NOT some extension.
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
- I have written a short but informative title.
- I have updated the app to pre-release version Latest.
- I will fill out all of the requested information in this form.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached logcat and the extension update path described in the report, focusing on the update and restart sequence that leaves extensions unavailable. Reproduce the failure on Android 15 if possible, and consider the issue done when a failed update no longer leaves extensions as unusable 0-byte ZIPs and existing extensions still load.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100