-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Crash on startup after upgrade from old version (ALTER TABLE failure?) #5873
Comments
It looks like the fault is here: StreetComplete/app/src/main/java/de/westnordost/streetcomplete/data/DatabaseInitializer.kt Line 234 in 4a460fe
The column already exists in your database. The column is part of a feature implemented in #5474, released in v57.0. It would be very helpful if we knew from which version you tried to upgrade so that it can be reproduced. |
This comment was marked as outdated.
This comment was marked as outdated.
Could you try if it is reproducible when you download and install 5501, then upgrade to current? |
That |
Thank you for your investigation! |
Updated from old SC version (exact old SC version unfortunately unknown, but probably about a year to year and a half old - as Vespucci 19.0.3.0 is installed and was probably current at that time), app crashes on startup, and attempted restarts also crash (instead of offering to send logs)
Crash log:
How to Reproduce
v59.0-alpha4
and upgrade to itExpected Behavior
I'd expeect SC to start up normally.
Also, if crashing, it would be nice if offering to send crash log on app startup was done very early; i.e. before database updates, map initialization and other things that are somewhat likely to crash again.
Versions affected
StreetComplete
59.0-alpha4
on Android6.0.1
(Xiaomi Redmi Note 3)The text was updated successfully, but these errors were encountered: