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

Fix startup crash #1574

Merged
merged 1 commit into from
Dec 16, 2023
Merged

Fix startup crash #1574

merged 1 commit into from
Dec 16, 2023

Conversation

cewert
Copy link
Member

@cewert cewert commented Dec 13, 2023

Caused by migrations (for fresh install I think?). Make sure the lastRunVersion var is valid before using. Fixes this crash from the roku crash logs:

Type Mismatch. (runtime error &h18) in pkg:/source/utils/config.brs(26)
file/line: pkg:/source/utils/config.brs(26) #1  Function runregistryusermigrations() As Voi$1 file/line: pkg:/source/migrations.brs(72)

Bug introduced in v2.0.0

Fixes #1595

@cewert cewert added the bug-fix This fixes a bug. label Dec 13, 2023
@cewert cewert requested a review from a team as a code owner December 13, 2023 03:23
@cewert cewert changed the base branch from unstable to 2.0.z December 14, 2023 15:06
@cewert cewert force-pushed the fix-migration-crash branch from e0bc0bf to 20cdb6f Compare December 16, 2023 16:12
@cewert cewert merged commit 0a97440 into jellyfin:2.0.z Dec 16, 2023
11 checks passed
@cewert cewert deleted the fix-migration-crash branch December 16, 2023 16:15
@cewert cewert linked an issue Dec 23, 2023 that may be closed by this pull request
@cewert cewert changed the title Fix migration crash Fix startup crash Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This fixes a bug.
Projects
Development

Successfully merging this pull request may close these issues.

Unable to open v2.0.0 on Roku OS 12.5.0 build 4178-50
2 participants